|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
A data only struct for the conserved variables. More...
#include <basic_structs.h>

Public Member Functions | |
| Conserved ()=default | |
| Default constructor, should init everything to zero. | |
| Conserved (Real const in_density, VectorXYZ< Real > const &in_momentum, Real const in_energy, VectorXYZ< Real > const &in_magnetic={0, 0, 0}, Real const in_gas_energy=0.0) | |
| Manual constructor, mostly used for testing and doesn't init all members. | |
Public Attributes | |
| Real | density |
| Real | energy |
| VectorXYZ< Real > | momentum |
A data only struct for the conserved variables.