![]() |
Shamrock 2025.10.0
Astrophysical Code
|
handle basic utilities dealing with SPH More...
#include <shammodels/sph/include/shammodels/sph/SPHUtilities.hpp>
Collaboration diagram for shammodels::sph::SPHUtilities< vec, SPHKernel >:Public Types | |
| using | flt = shambase::VecComponent< vec > |
| using | GhostHndl = BasicSPHGhostHandler< vec > |
| using | InterfBuildCache = shambase::DistributedDataShared< typename GhostHndl::InterfaceIdTable > |
Public Member Functions | |
| SPHUtilities (PatchScheduler &sched) | |
| InterfBuildCache | build_interf_cache (GhostHndl &interf_handle, SerialPatchTree< vec > &sptree, flt h_evol_max) |
Static Public Member Functions | |
| static void | iterate_smoothing_length_cache (sham::DeviceBuffer< vec > &merged_r, sham::DeviceBuffer< flt > &hnew, sham::DeviceBuffer< flt > &hold, sham::DeviceBuffer< flt > &eps_h, sycl::range< 1 > update_range, shamrock::tree::ObjectCache &neigh_cache, flt gpart_mass, flt h_evol_max, flt h_evol_iter_max) |
| template<class u_morton > | |
| static void | iterate_smoothing_length_tree (sycl::buffer< vec > &merged_r, sycl::buffer< flt > &hnew, sycl::buffer< flt > &hold, sycl::buffer< flt > &eps_h, sycl::range< 1 > update_range, RadixTree< u_morton, vec > &tree, flt gpart_mass, flt h_evol_max, flt h_evol_iter_max) |
| static void | compute_omega (sham::DeviceBuffer< vec > &merged_r, sham::DeviceBuffer< flt > &h_part, sham::DeviceBuffer< flt > &omega_h, sycl::range< 1 > part_range, shamrock::tree::ObjectCache &neigh_cache, flt gpart_mass) |
Public Attributes | |
| PatchScheduler & | sched |
Static Public Attributes | |
| static constexpr flt | Rkern = SPHKernel::Rkern |
handle basic utilities dealing with SPH
| vec |
Definition at line 65 of file SPHUtilities.hpp.
| using shammodels::sph::SPHUtilities< vec, SPHKernel >::flt = shambase::VecComponent<vec> |
Definition at line 67 of file SPHUtilities.hpp.
| using shammodels::sph::SPHUtilities< vec, SPHKernel >::GhostHndl = BasicSPHGhostHandler<vec> |
Definition at line 71 of file SPHUtilities.hpp.
| using shammodels::sph::SPHUtilities< vec, SPHKernel >::InterfBuildCache = shambase::DistributedDataShared<typename GhostHndl::InterfaceIdTable> |
Definition at line 72 of file SPHUtilities.hpp.
|
inline |
Definition at line 77 of file SPHUtilities.hpp.
|
inline |
Definition at line 79 of file SPHUtilities.hpp.
|
static |
Definition at line 218 of file SPHUtilities.cpp.
|
static |
Definition at line 27 of file SPHUtilities.cpp.
|
inlinestatic |
Definition at line 122 of file SPHUtilities.hpp.
|
staticconstexpr |
Definition at line 69 of file SPHUtilities.hpp.
| PatchScheduler& shammodels::sph::SPHUtilities< vec, SPHKernel >::sched |
Definition at line 75 of file SPHUtilities.hpp.