Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Variables
FieldNames.hpp File Reference

Constants for field names in GSPH solver, organized by physics mode. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shammodels
 namespace for models
 

Variables

constexpr const char * shammodels::gsph::names::common::xyz = "xyz"
 Position field (3D coordinates)
 
constexpr const char * shammodels::gsph::names::common::hpart = "hpart"
 Smoothing length field.
 
constexpr const char * shammodels::gsph::names::newtonian::vxyz = "vxyz"
 3-velocity field
 
constexpr const char * shammodels::gsph::names::newtonian::axyz = "axyz"
 3-acceleration field
 
constexpr const char * shammodels::gsph::names::newtonian::uint = "uint"
 Specific internal energy u.
 
constexpr const char * shammodels::gsph::names::newtonian::duint = "duint"
 Time derivative of internal energy du/dt.
 
constexpr const char * shammodels::gsph::names::newtonian::density = "density"
 Density \rho (derived from h)
 
constexpr const char * shammodels::gsph::names::newtonian::pressure = "pressure"
 Pressure P (derived from EOS)
 
constexpr const char * shammodels::gsph::names::newtonian::soundspeed = "soundspeed"
 Sound speed c_s (derived from EOS)
 
constexpr const char * shammodels::gsph::names::newtonian::omega = "omega"
 Grad-h correction factor \Omega.
 
constexpr const char * shammodels::gsph::names::newtonian::grad_density = "grad_density"
 Gradient of density \nabla \rho (for MUSCL reconstruction)
 
constexpr const char * shammodels::gsph::names::newtonian::grad_pressure = "grad_pressure"
 Gradient of pressure \nabla P (for MUSCL reconstruction)
 
constexpr const char * shammodels::gsph::names::newtonian::grad_vx = "grad_vx"
 Gradient of velocity x-component \nabla v_x (for MUSCL reconstruction)
 
constexpr const char * shammodels::gsph::names::newtonian::grad_vy = "grad_vy"
 Gradient of velocity y-component \nabla v_y (for MUSCL reconstruction)
 
constexpr const char * shammodels::gsph::names::newtonian::grad_vz = "grad_vz"
 Gradient of velocity z-component \nabla v_z (for MUSCL reconstruction)
 
constexpr const char * shammodels::gsph::names::internal::old_axyz = "old_axyz"
 Old acceleration (for corrector step)
 
constexpr const char * shammodels::gsph::names::internal::old_duint = "old_duint"
 Old internal energy derivative (for corrector step)
 
constexpr const char * shammodels::gsph::edges::part_counts = "part_counts"
 Particle counts per patch.
 
constexpr const char * shammodels::gsph::edges::part_counts_with_ghost = "part_counts_with_ghost"
 Particle counts including ghosts.
 
constexpr const char * shammodels::gsph::edges::patch_rank_owner = "patch_rank_owner"
 Patch rank ownership.
 
constexpr const char * shammodels::gsph::edges::neigh_cache = "neigh_cache"
 Neighbor cache.
 
constexpr const char * shammodels::gsph::edges::sizes = "sizes"
 Temporary sizes for h-iteration.
 
constexpr const char * shammodels::gsph::edges::positions_with_ghosts = "part_pos"
 Position references with ghosts.
 
constexpr const char * shammodels::gsph::edges::hpart_with_ghosts = "h_part"
 Smoothing length references with ghosts.
 
constexpr const char * shammodels::gsph::edges::pos_merged = "pos"
 Position merged references (for h-iteration)
 
constexpr const char * shammodels::gsph::edges::h_old = "h_old"
 Old smoothing length references (for h-iteration)
 
constexpr const char * shammodels::gsph::edges::h_new = "h_new"
 New smoothing length references (for h-iteration)
 
constexpr const char * shammodels::gsph::edges::eps_h = "eps_h"
 Epsilon h references (for h-iteration convergence)
 

Detailed Description

Constants for field names in GSPH solver, organized by physics mode.

Author
Guo Yansong (guo.y.nosp@m.anso.nosp@m.ng.ng.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

This file defines PatchDataField names used in PatchDataLayerLayout. Fields are organized by physics mode to clearly separate:

Solvergraph edge names are also organized by physics mode in the edges:: namespace.

Definition in file FieldNames.hpp.

Variable Documentation

◆ axyz

constexpr const char* shammodels::gsph::names::newtonian::axyz = "axyz"
inlineconstexpr

3-acceleration field

Definition at line 46 of file FieldNames.hpp.

◆ density

constexpr const char* shammodels::gsph::names::newtonian::density = "density"
inlineconstexpr

Density \rho (derived from h)

Definition at line 55 of file FieldNames.hpp.

◆ duint

constexpr const char* shammodels::gsph::names::newtonian::duint = "duint"
inlineconstexpr

Time derivative of internal energy du/dt.

Definition at line 52 of file FieldNames.hpp.

◆ eps_h

constexpr const char* shammodels::gsph::edges::eps_h = "eps_h"
inlineconstexpr

Epsilon h references (for h-iteration convergence)

Definition at line 131 of file FieldNames.hpp.

◆ grad_density

constexpr const char* shammodels::gsph::names::newtonian::grad_density = "grad_density"
inlineconstexpr

Gradient of density \nabla \rho (for MUSCL reconstruction)

Definition at line 67 of file FieldNames.hpp.

◆ grad_pressure

constexpr const char* shammodels::gsph::names::newtonian::grad_pressure = "grad_pressure"
inlineconstexpr

Gradient of pressure \nabla P (for MUSCL reconstruction)

Definition at line 70 of file FieldNames.hpp.

◆ grad_vx

constexpr const char* shammodels::gsph::names::newtonian::grad_vx = "grad_vx"
inlineconstexpr

Gradient of velocity x-component \nabla v_x (for MUSCL reconstruction)

Definition at line 73 of file FieldNames.hpp.

◆ grad_vy

constexpr const char* shammodels::gsph::names::newtonian::grad_vy = "grad_vy"
inlineconstexpr

Gradient of velocity y-component \nabla v_y (for MUSCL reconstruction)

Definition at line 76 of file FieldNames.hpp.

◆ grad_vz

constexpr const char* shammodels::gsph::names::newtonian::grad_vz = "grad_vz"
inlineconstexpr

Gradient of velocity z-component \nabla v_z (for MUSCL reconstruction)

Definition at line 79 of file FieldNames.hpp.

◆ h_new

constexpr const char* shammodels::gsph::edges::h_new = "h_new"
inlineconstexpr

New smoothing length references (for h-iteration)

Definition at line 128 of file FieldNames.hpp.

◆ h_old

constexpr const char* shammodels::gsph::edges::h_old = "h_old"
inlineconstexpr

Old smoothing length references (for h-iteration)

Definition at line 125 of file FieldNames.hpp.

◆ hpart

constexpr const char* shammodels::gsph::names::common::hpart = "hpart"
inlineconstexpr

Smoothing length field.

Definition at line 34 of file FieldNames.hpp.

◆ hpart_with_ghosts

constexpr const char* shammodels::gsph::edges::hpart_with_ghosts = "h_part"
inlineconstexpr

Smoothing length references with ghosts.

Definition at line 119 of file FieldNames.hpp.

◆ neigh_cache

constexpr const char* shammodels::gsph::edges::neigh_cache = "neigh_cache"
inlineconstexpr

Neighbor cache.

Definition at line 110 of file FieldNames.hpp.

◆ old_axyz

constexpr const char* shammodels::gsph::names::internal::old_axyz = "old_axyz"
inlineconstexpr

Old acceleration (for corrector step)

Definition at line 87 of file FieldNames.hpp.

◆ old_duint

constexpr const char* shammodels::gsph::names::internal::old_duint = "old_duint"
inlineconstexpr

Old internal energy derivative (for corrector step)

Definition at line 90 of file FieldNames.hpp.

◆ omega

constexpr const char* shammodels::gsph::names::newtonian::omega = "omega"
inlineconstexpr

Grad-h correction factor \Omega.

Definition at line 64 of file FieldNames.hpp.

◆ part_counts

constexpr const char* shammodels::gsph::edges::part_counts = "part_counts"
inlineconstexpr

Particle counts per patch.

Definition at line 101 of file FieldNames.hpp.

◆ part_counts_with_ghost

constexpr const char* shammodels::gsph::edges::part_counts_with_ghost = "part_counts_with_ghost"
inlineconstexpr

Particle counts including ghosts.

Definition at line 104 of file FieldNames.hpp.

◆ patch_rank_owner

constexpr const char* shammodels::gsph::edges::patch_rank_owner = "patch_rank_owner"
inlineconstexpr

Patch rank ownership.

Definition at line 107 of file FieldNames.hpp.

◆ pos_merged

constexpr const char* shammodels::gsph::edges::pos_merged = "pos"
inlineconstexpr

Position merged references (for h-iteration)

Definition at line 122 of file FieldNames.hpp.

◆ positions_with_ghosts

constexpr const char* shammodels::gsph::edges::positions_with_ghosts = "part_pos"
inlineconstexpr

Position references with ghosts.

Definition at line 116 of file FieldNames.hpp.

◆ pressure

constexpr const char* shammodels::gsph::names::newtonian::pressure = "pressure"
inlineconstexpr

Pressure P (derived from EOS)

Definition at line 58 of file FieldNames.hpp.

◆ sizes

constexpr const char* shammodels::gsph::edges::sizes = "sizes"
inlineconstexpr

Temporary sizes for h-iteration.

Definition at line 113 of file FieldNames.hpp.

◆ soundspeed

constexpr const char* shammodels::gsph::names::newtonian::soundspeed = "soundspeed"
inlineconstexpr

Sound speed c_s (derived from EOS)

Definition at line 61 of file FieldNames.hpp.

◆ uint

constexpr const char* shammodels::gsph::names::newtonian::uint = "uint"
inlineconstexpr

Specific internal energy u.

Definition at line 49 of file FieldNames.hpp.

◆ vxyz

constexpr const char* shammodels::gsph::names::newtonian::vxyz = "vxyz"
inlineconstexpr

3-velocity field

Definition at line 43 of file FieldNames.hpp.

◆ xyz

constexpr const char* shammodels::gsph::names::common::xyz = "xyz"
inlineconstexpr

Position field (3D coordinates)

Definition at line 33 of file FieldNames.hpp.