Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
shamphys::GreenFuncGravCartesian< T, low_order, high_order > Class Template Reference

Utility to get the derivatives of the Green function for gravity in Cartesian coordinates. More...

#include <shamphys/include/shamphys/fmm/GreenFuncGravCartesian.hpp>

Static Public Member Functions

static shammath::SymTensorCollection< T, low_order, high_order > get_der_tensors (const sycl::vec< T, 3 > &r)
 

Detailed Description

template<class T, u32 low_order, u32 high_order>
class shamphys::GreenFuncGravCartesian< T, low_order, high_order >

Utility to get the derivatives of the Green function for gravity in Cartesian coordinates.

At a given order i, the Green function derivative is denoted as \(\nabla^{(i)}_r G(r)\) This function return the collection of the orders from low_order to high_order.

Parameters
Tthe type of the coordinates
low_orderthe lowest order of the derivative
high_orderthe highest order of the derivative
Returns
The symetric tensor collection of the derivatives of the Green function for gravity in Cartesian coordinates

Definition at line 37 of file GreenFuncGravCartesian.hpp.


The documentation for this class was generated from the following file: