Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
grav_moments.hpp File Reference
Include dependency graph for grav_moments.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T, u32 low_order, u32 high_order>
shammath::SymTensorCollection< T, low_order, high_order > shamphys::get_M_mat (const shammath::SymTensorCollection< T, low_order, high_order > &D, const shammath::SymTensorCollection< T, low_order, high_order > &Q)
 Contraction of the green function derivatives (D_n) and the multipole moments (Q_n).
template<class T, u32 high_order>
shammath::SymTensorCollection< T, 1, high_order+1 > shamphys::get_dM_mat (const shammath::SymTensorCollection< T, 1, high_order+1 > &D, const shammath::SymTensorCollection< T, 0, high_order > &Q)

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 grav_moments.hpp.

Function Documentation

◆ get_dM_mat()

template<class T, u32 high_order>
shammath::SymTensorCollection< T, 1, high_order+1 > shamphys::get_dM_mat ( const shammath::SymTensorCollection< T, 1, high_order+1 > & D,
const shammath::SymTensorCollection< T, 0, high_order > & Q )
inline

Contraction of the green function derivatives (D_{n+1}) and the multipole moments (Q_n). This is also the nabla of the M_mat

Definition at line 146 of file grav_moments.hpp.

◆ get_M_mat()

template<class T, u32 low_order, u32 high_order>
shammath::SymTensorCollection< T, low_order, high_order > shamphys::get_M_mat ( const shammath::SymTensorCollection< T, low_order, high_order > & D,
const shammath::SymTensorCollection< T, low_order, high_order > & Q )
inline

Contraction of the green function derivatives (D_n) and the multipole moments (Q_n).

Definition at line 26 of file grav_moments.hpp.