Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
grav_moments.hpp File Reference
#include "shambase/aliases_int.hpp"
#include "shambase/type_traits.hpp"
#include "shammath/symtensor_collections.hpp"
+ 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.

+ Here is the call graph for this function:

◆ 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.

+ Here is the call graph for this function: