![]() |
Shamrock 2025.10.0
Astrophysical Code
|
GSPH-specific utilities for ghost particle handling. More...
#include <shammodels/gsph/include/shammodels/gsph/modules/GSPHUtilities.hpp>
Collaboration diagram for shammodels::gsph::GSPHUtilities< Tvec, SPHKernel >:Public Types | |
| using | Tscal = shambase::VecComponent< Tvec > |
| using | GhostHndl = gsph::GSPHGhostHandler< Tvec > |
| using | InterfBuildCache = shambase::DistributedDataShared< typename GhostHndl::InterfaceIdTable > |
Public Member Functions | |
| GSPHUtilities (PatchScheduler &sched) | |
| InterfBuildCache | build_interf_cache (GhostHndl &interf_handle, SerialPatchTree< Tvec > &sptree, Tscal h_evol_max) |
| Build interface cache for ghost particle communication. | |
Public Attributes | |
| PatchScheduler & | sched |
Static Public Attributes | |
| static constexpr Tscal | Rkern = SPHKernel::Rkern |
GSPH-specific utilities for ghost particle handling.
This class provides utility functions for GSPH that use the centralized field name constants from FieldNames.hpp.
| Tvec | Vector type (e.g., f64_3) |
| SPHKernel | Kernel type (e.g., M4) |
Definition at line 38 of file GSPHUtilities.hpp.
| using shammodels::gsph::GSPHUtilities< Tvec, SPHKernel >::GhostHndl = gsph::GSPHGhostHandler<Tvec> |
Definition at line 44 of file GSPHUtilities.hpp.
| using shammodels::gsph::GSPHUtilities< Tvec, SPHKernel >::InterfBuildCache = shambase::DistributedDataShared<typename GhostHndl::InterfaceIdTable> |
Definition at line 45 of file GSPHUtilities.hpp.
| using shammodels::gsph::GSPHUtilities< Tvec, SPHKernel >::Tscal = shambase::VecComponent<Tvec> |
Definition at line 40 of file GSPHUtilities.hpp.
|
inline |
Definition at line 50 of file GSPHUtilities.hpp.
|
inline |
Build interface cache for ghost particle communication.
Uses the field names from FieldNames.hpp.
| interf_handle | Ghost handler |
| sptree | Serial patch tree |
| h_evol_max | Maximum smoothing length evolution factor |
Definition at line 62 of file GSPHUtilities.hpp.
|
staticconstexpr |
Definition at line 42 of file GSPHUtilities.hpp.
| PatchScheduler& shammodels::gsph::GSPHUtilities< Tvec, SPHKernel >::sched |
Definition at line 48 of file GSPHUtilities.hpp.