Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
density.hpp File Reference
#include "shambackends/sycl.hpp"
+ Include dependency graph for density.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamrock
 namespace for the main framework
 

Functions

template<class flt >
flt shamrock::sph::rho_h (flt m, flt h, flt hfact)
 
template<class flt , i32 dim = 3>
flt shamrock::sph::h_rho (flt m, flt rho, flt hfact)
 
template<class flt , i32 dim = 3>
flt shamrock::sph::newton_iterate_new_h (flt rho_ha, flt rho_sum, flt sumdWdh, flt h_a)
 

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

Function Documentation

◆ h_rho()

template<class flt , i32 dim = 3>
flt shamrock::sph::h_rho ( flt  m,
flt  rho,
flt  hfact 
)
inline

Definition at line 28 of file density.hpp.

◆ newton_iterate_new_h()

template<class flt , i32 dim = 3>
flt shamrock::sph::newton_iterate_new_h ( flt  rho_ha,
flt  rho_sum,
flt  sumdWdh,
flt  h_a 
)
inline

Definition at line 33 of file density.hpp.

◆ rho_h()

template<class flt >
flt shamrock::sph::rho_h ( flt  m,
flt  h,
flt  hfact 
)
inline

Definition at line 23 of file density.hpp.