Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
offset_multipole.hpp File Reference
#include "shambase/aliases_int.hpp"
#include "shambase/type_traits.hpp"
#include "shammath/symtensor_collections.hpp"
+ Include dependency graph for offset_multipole.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
shammath::SymTensor3d_1< T > shamphys::details::offset_multipole_1 (const T &Qt0, const shammath::SymTensor3d_1< T > &Qt1, const shammath::SymTensor3d_1< T > &dt1)
 
template<class T >
shammath::SymTensor3d_2< T > shamphys::details::offset_multipole_2 (const shammath::SymTensor3d_1< T > &Qn1, const shammath::SymTensor3d_1< T > &Qt1, const shammath::SymTensor3d_2< T > &Qt2, const shammath::SymTensor3d_1< T > &dt1)
 
template<class T >
shammath::SymTensor3d_3< T > shamphys::details::offset_multipole_3 (const shammath::SymTensor3d_1< T > &Qn1, const shammath::SymTensor3d_2< T > &Qn2, const shammath::SymTensor3d_2< T > &Qt2, const shammath::SymTensor3d_3< T > &Qt3, const shammath::SymTensor3d_1< T > &dt1)
 
template<class T >
shammath::SymTensor3d_4< T > shamphys::details::offset_multipole_4 (const shammath::SymTensor3d_2< T > &Qn2, const shammath::SymTensor3d_3< T > &Qn3, const shammath::SymTensor3d_2< T > &Qt2, const shammath::SymTensor3d_3< T > &Qt3, const shammath::SymTensor3d_4< T > &Qt4, const shammath::SymTensor3d_1< T > &dt1, const shammath::SymTensor3d_2< T > &dt2)
 
template<class T >
shammath::SymTensor3d_5< T > shamphys::details::offset_multipole_5 (const shammath::SymTensor3d_3< T > &Qn3, const shammath::SymTensor3d_4< T > &Qn4, const shammath::SymTensor3d_2< T > &Qt2, const shammath::SymTensor3d_3< T > &Qt3, const shammath::SymTensor3d_4< T > &Qt4, const shammath::SymTensor3d_5< T > &Qt5, const shammath::SymTensor3d_1< T > &dt1, const shammath::SymTensor3d_2< T > &dt2, const shammath::SymTensor3d_3< T > &dt3)
 
template<class T , u32 low_order, u32 high_order>
shammath::SymTensorCollection< T, low_order, high_order > shamphys::offset_multipole_delta (const shammath::SymTensorCollection< T, low_order, high_order > &Q, const sycl::vec< T, 3 > &offset)
 utility to offset a multipole, see PHD
 
template<class T , u32 low_order, u32 high_order>
shammath::SymTensorCollection< T, low_order, high_order > shamphys::offset_multipole (const shammath::SymTensorCollection< T, low_order, high_order > &Q_old, const sycl::vec< T, 3 > &from, const sycl::vec< T, 3 > &to)
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file offset_multipole.hpp.

Function Documentation

◆ offset_multipole()

template<class T , u32 low_order, u32 high_order>
shammath::SymTensorCollection< T, low_order, high_order > shamphys::offset_multipole ( const shammath::SymTensorCollection< T, low_order, high_order > &  Q_old,
const sycl::vec< T, 3 > &  from,
const sycl::vec< T, 3 > &  to 
)
inline

Definition at line 464 of file offset_multipole.hpp.

◆ offset_multipole_1()

template<class T >
shammath::SymTensor3d_1< T > shamphys::details::offset_multipole_1 ( const T &  Qt0,
const shammath::SymTensor3d_1< T > &  Qt1,
const shammath::SymTensor3d_1< T > &  dt1 
)
inline

Definition at line 27 of file offset_multipole.hpp.

◆ offset_multipole_2()

template<class T >
shammath::SymTensor3d_2< T > shamphys::details::offset_multipole_2 ( const shammath::SymTensor3d_1< T > &  Qn1,
const shammath::SymTensor3d_1< T > &  Qt1,
const shammath::SymTensor3d_2< T > &  Qt2,
const shammath::SymTensor3d_1< T > &  dt1 
)
inline

Definition at line 35 of file offset_multipole.hpp.

◆ offset_multipole_3()

template<class T >
shammath::SymTensor3d_3< T > shamphys::details::offset_multipole_3 ( const shammath::SymTensor3d_1< T > &  Qn1,
const shammath::SymTensor3d_2< T > &  Qn2,
const shammath::SymTensor3d_2< T > &  Qt2,
const shammath::SymTensor3d_3< T > &  Qt3,
const shammath::SymTensor3d_1< T > &  dt1 
)
inline

Definition at line 61 of file offset_multipole.hpp.

◆ offset_multipole_4()

template<class T >
shammath::SymTensor3d_4< T > shamphys::details::offset_multipole_4 ( const shammath::SymTensor3d_2< T > &  Qn2,
const shammath::SymTensor3d_3< T > &  Qn3,
const shammath::SymTensor3d_2< T > &  Qt2,
const shammath::SymTensor3d_3< T > &  Qt3,
const shammath::SymTensor3d_4< T > &  Qt4,
const shammath::SymTensor3d_1< T > &  dt1,
const shammath::SymTensor3d_2< T > &  dt2 
)
inline

Definition at line 113 of file offset_multipole.hpp.

◆ offset_multipole_5()

template<class T >
shammath::SymTensor3d_5< T > shamphys::details::offset_multipole_5 ( const shammath::SymTensor3d_3< T > &  Qn3,
const shammath::SymTensor3d_4< T > &  Qn4,
const shammath::SymTensor3d_2< T > &  Qt2,
const shammath::SymTensor3d_3< T > &  Qt3,
const shammath::SymTensor3d_4< T > &  Qt4,
const shammath::SymTensor3d_5< T > &  Qt5,
const shammath::SymTensor3d_1< T > &  dt1,
const shammath::SymTensor3d_2< T > &  dt2,
const shammath::SymTensor3d_3< T > &  dt3 
)
inline

Definition at line 204 of file offset_multipole.hpp.

◆ offset_multipole_delta()

template<class T , u32 low_order, u32 high_order>
shammath::SymTensorCollection< T, low_order, high_order > shamphys::offset_multipole_delta ( const shammath::SymTensorCollection< T, low_order, high_order > &  Q,
const sycl::vec< T, 3 > &  offset 
)
inline

utility to offset a multipole, see PHD

Definition at line 395 of file offset_multipole.hpp.

+ Here is the call graph for this function: