Peano
|
Particle fields for the SPH particles. More...
#include <hydro_part.h>
Data Fields | ||
long long | id | |
struct gpart * | gpart | |
Geo::Point | _x | |
float | v [3] | |
float | a_hydro [3] | |
float | mass | |
float | h | |
float | u | |
float | u_dt | |
float | rho | |
union { | ||
struct { | ||
float wcount | ||
float wcount_dh | ||
float rho_dh | ||
float div_v | ||
float rot_v [3] | ||
} density | ||
Structure for the variables only used in the density loop over neighbours. More... | ||
struct { | ||
float f | ||
float pressure | ||
float soundspeed | ||
float v_sig | ||
float h_dt | ||
float balsara | ||
} force | ||
Structure for the variables only used in the force loop over neighbours. More... | ||
}; | ||
xpart | xpart | |
Particle fields for the SPH particles.
The density and force substructures are used to contain variables only used within the density and force loops over neighbours. All more permanent variables should be declared in the main part of the part structure,
Definition at line 99 of file hydro_part.h.
union { ... } part |
Geo::Point part::_x |
Particle position.
Definition at line 108 of file hydro_part.h.
Referenced by do_density(), and do_density().
float part::a_hydro[3] |
Particle acceleration.
Definition at line 114 of file hydro_part.h.
float part::balsara |
Balsara switch
Definition at line 185 of file hydro_part.h.
struct { ... } part::density |
Structure for the variables only used in the density loop over neighbours.
Quantities in this sub-structure should only be accessed in the density loop over neighbours and the ghost task.
float part::div_v |
Velocity divergence
Definition at line 153 of file hydro_part.h.
float part::f |
"Grad h" term
Definition at line 170 of file hydro_part.h.
Referenced by swift2.sphtools.riemann.RiemannSolver::solve(), swift2.sphtools.riemann.RiemannSolver::solve_brent(), and swift2.sphtools.riemann.RiemannSolver::solve_middle_state().
struct { ... } part::force |
Structure for the variables only used in the force loop over neighbours.
Quantities in this sub-structure should only be accessed in the force loop over neighbours and the ghost, drift and kick tasks.
struct gpart* part::gpart |
Pointer to corresponding gravity part.
Definition at line 105 of file hydro_part.h.
float part::h |
Particle smoothing length.
Definition at line 120 of file hydro_part.h.
Referenced by do_density(), do_density(), exahypype.kernel::Evaluate(), exahypype.kernel::halo(), and runner_do_ghost().
float part::h_dt |
Time derivative of smoothing length
Definition at line 182 of file hydro_part.h.
long long part::id |
Particle unique ID.
Definition at line 102 of file hydro_part.h.
float part::mass |
Particle mass.
Definition at line 117 of file hydro_part.h.
float part::pressure |
Particle pressure.
Definition at line 173 of file hydro_part.h.
float part::rho |
Particle density.
Definition at line 129 of file hydro_part.h.
Referenced by equations.acoustic.Acoustic::eigenvalues(), and equations.acoustic.Acoustic::flux().
float part::rho_dh |
Derivative of density with respect to h
Definition at line 150 of file hydro_part.h.
float part::rot_v[3] |
Velocity curl
Definition at line 156 of file hydro_part.h.
float part::soundspeed |
Particle soundspeed.
Definition at line 176 of file hydro_part.h.
float part::u |
Particle internal energy.
Definition at line 123 of file hydro_part.h.
float part::u_dt |
Time derivative of the internal energy.
Definition at line 126 of file hydro_part.h.
float part::v[3] |
Particle predicted velocity.
Definition at line 111 of file hydro_part.h.
float part::v_sig |
Particle signal velocity
Definition at line 179 of file hydro_part.h.
float part::wcount |
Neighbour number count.
Definition at line 144 of file hydro_part.h.
float part::wcount_dh |
Derivative of the neighbour number with respect to h.
Definition at line 147 of file hydro_part.h.
xpart part::xpart |
Definition at line 191 of file hydro_part.h.