Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
contract_grav_moment.hpp File Reference
Include dependency graph for contract_grav_moment.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 order>
sycl::vec< T, 3 > shamphys::contract_grav_moment_to_force (const shammath::SymTensorCollection< T, 0, order - 1 > &a_k, const shammath::SymTensorCollection< T, 1, order > &dM_k)
 Contract the gravitational moment and the displacement to get a force.

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

Function Documentation

◆ contract_grav_moment_to_force()

template<class T, u32 order>
sycl::vec< T, 3 > shamphys::contract_grav_moment_to_force ( const shammath::SymTensorCollection< T, 0, order - 1 > & a_k,
const shammath::SymTensorCollection< T, 1, order > & dM_k )
inline

Contract the gravitational moment and the displacement to get a force.

Parameters
a_kThe displacement
dM_kThe gravitational moment
Returns
The force

Definition at line 31 of file contract_grav_moment.hpp.