![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Runtime storage for GSPH solver. More...
#include <shammodels/gsph/include/shammodels/gsph/modules/SolverStorage.hpp>
Collaboration diagram for shammodels::gsph::SolverStorage< Tvec, Tmorton >:Classes | |
| struct | Timings |
| Timing statistics. More... | |
Public Types | |
| using | Tscal = shambase::VecComponent< Tvec > |
| using | GhostHandle = gsph::GSPHGhostHandler< Tvec > |
| using | GhostHandleCache = typename GhostHandle::CacheMap |
| using | RTree = shamtree::CompressedLeafBVH< Tmorton, Tvec, 3 > |
Static Public Attributes | |
| static constexpr u32 | dim = shambase::VectorProperties<Tvec>::dimension |
Runtime storage for GSPH solver.
Stores all temporary data needed during GSPH simulation steps:
| Tvec | Vector type (e.g., f64_3) |
| Tmorton | Morton code type for tree construction |
Definition at line 66 of file SolverStorage.hpp.
| using shammodels::gsph::SolverStorage< Tvec, Tmorton >::GhostHandle = gsph::GSPHGhostHandler<Tvec> |
Definition at line 71 of file SolverStorage.hpp.
| using shammodels::gsph::SolverStorage< Tvec, Tmorton >::GhostHandleCache = typename GhostHandle::CacheMap |
Definition at line 72 of file SolverStorage.hpp.
| using shammodels::gsph::SolverStorage< Tvec, Tmorton >::RTree = shamtree::CompressedLeafBVH<Tmorton, Tvec, 3> |
Definition at line 74 of file SolverStorage.hpp.
| using shammodels::gsph::SolverStorage< Tvec, Tmorton >::Tscal = shambase::VecComponent<Tvec> |
Definition at line 67 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tscal> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::density |
Density field computed via SPH summation.
Definition at line 117 of file SolverStorage.hpp.
|
staticconstexpr |
Definition at line 68 of file SolverStorage.hpp.
| std::shared_ptr<solvergraph::GhostHandlerEdge<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::ghost_handler |
Ghost handler for boundary particles.
Definition at line 96 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::patch::PatchDataLayerLayout> shammodels::gsph::SolverStorage< Tvec, Tmorton >::ghost_layout |
Definition at line 112 of file SolverStorage.hpp.
| Component<GhostHandleCache> shammodels::gsph::SolverStorage< Tvec, Tmorton >::ghost_patch_cache |
Definition at line 97 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::grad_density |
\nabla \rho
Gradient fields for MUSCL reconstruction (2nd order) These are computed when ReconstructConfig::is_muscl() is true
Definition at line 125 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::grad_pressure |
\nabla P
Definition at line 126 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::grad_vx |
\nabla v_x
Definition at line 127 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::grad_vy |
\nabla v_y
Definition at line 128 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::grad_vz |
\nabla v_z
Definition at line 129 of file SolverStorage.hpp.
| Tscal shammodels::gsph::SolverStorage< Tvec, Tmorton >::h_per_cs_min = std::numeric_limits<Tscal>::max() |
Minimum h/c_s for CFL timestep calculation For pure GSPH hydrodynamics: dt_CFL = C_cour * h / c_s
Definition at line 133 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::FieldRefs<Tscal> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::hpart_with_ghosts |
Definition at line 84 of file SolverStorage.hpp.
| Component<shambase::DistributedData<shamrock::patch::PatchDataLayer> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::merged_patchdata_ghost |
Definition at line 114 of file SolverStorage.hpp.
| Component<shambase::DistributedData<RTree> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::merged_pos_trees |
Radix trees for neighbor search.
Definition at line 103 of file SolverStorage.hpp.
| Component<shambase::DistributedData<shamrock::patch::PatchDataLayer> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::merged_xyzh |
Merged position-h data for neighbor search.
Definition at line 100 of file SolverStorage.hpp.
| std::shared_ptr<shammodels::sph::solvergraph::NeighCache> shammodels::gsph::SolverStorage< Tvec, Tmorton >::neigh_cache |
Neighbor cache - uses shamrock's tree-based neighbor search.
Definition at line 87 of file SolverStorage.hpp.
| Component<shamrock::ComputeField<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::old_axyz |
Old derivatives for predictor-corrector integration.
Definition at line 136 of file SolverStorage.hpp.
| Component<shamrock::ComputeField<Tscal> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::old_duint |
Definition at line 137 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tscal> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::omega |
Grad-h correction factor (Omega)
Definition at line 108 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Indexes<u32> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::part_counts |
Particle counts per patch.
Definition at line 79 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Indexes<u32> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::part_counts_with_ghost |
Definition at line 80 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::RankGetter> shammodels::gsph::SolverStorage< Tvec, Tmorton >::patch_rank_owner |
Patch rank ownership.
Definition at line 90 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::FieldRefs<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::positions_with_ghosts |
Position and smoothing length fields with ghosts.
Definition at line 83 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tscal> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::pressure |
Thermodynamic fields computed from EOS.
Definition at line 120 of file SolverStorage.hpp.
| Component<shambase::DistributedData<shamtree::KarrasRadixTreeField<Tscal> > > shammodels::gsph::SolverStorage< Tvec, Tmorton >::rtree_rint_field |
Definition at line 105 of file SolverStorage.hpp.
| Component<SerialPatchTree<Tvec> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::serial_patch_tree |
Serial patch tree for load balancing.
Definition at line 93 of file SolverStorage.hpp.
| shamrock::solvergraph::SolverGraph shammodels::gsph::SolverStorage< Tvec, Tmorton >::solver_graph |
Definition at line 76 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::solvergraph::Field<Tscal> > shammodels::gsph::SolverStorage< Tvec, Tmorton >::soundspeed |
Definition at line 121 of file SolverStorage.hpp.
| std::shared_ptr<shamrock::patch::PatchDataLayerLayout> shammodels::gsph::SolverStorage< Tvec, Tmorton >::xyzh_ghost_layout |
Ghost data layout and merged data.
Definition at line 111 of file SolverStorage.hpp.