Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
reconstruction::InterfaceState Struct Reference
Collaboration diagram for reconstruction::InterfaceState:
Collaboration graph
[legend]

Public Member Functions

 InterfaceState ()=default
 Default constructor, should set everything to 0.
 
 InterfaceState (Real const in_density, hydro_utilities::VectorXYZ< Real > const in_velocity, Real const in_energy, Real const in_pressure, hydro_utilities::VectorXYZ< Real > const in_magnetic={0, 0, 0}, Real const in_total_pressure=0.0)
 

Public Attributes

Real density
 
Real energy
 
Real pressure
 Note that pressure here is the gas pressure not the total pressure which would include the magnetic component.
 
hydro_utilities::VectorXYZ< Real > velocity
 
hydro_utilities::VectorXYZ< Real > momentum
 

Constructor & Destructor Documentation

◆ InterfaceState()

reconstruction::InterfaceState::InterfaceState ( Real const  in_density,
hydro_utilities::VectorXYZ< Real > const  in_velocity,
Real const  in_energy,
Real const  in_pressure,
hydro_utilities::VectorXYZ< Real > const  in_magnetic = {0, 0, 0},
Real const  in_total_pressure = 0.0 
)
inline

Initializing constructor: used to initialize to specific values, mostly used in tests. It only initializes a subset of the member variables since that is what is used in tests at the time of writing.


The documentation for this struct was generated from the following file: