Set of conserved variables (extensive) More...
#include <hydrodynamic_variables.hpp>

Public Member Functions | |
| Conserved (void) | |
| Null constructor (sets all members to zero) | |
| Conserved (double mass, Vector2D const &momentum, double energy) | |
| Class constructor. More... | |
| Conserved & | operator+= (Conserved const &f) |
| Addition of flux. More... | |
| Conserved & | operator-= (Conserved const &c) |
| subtraction of flux More... | |
| Conserved & | operator= (Conserved const &other) |
| Assigmnet operator. More... | |
| Conserved (const Conserved &other) | |
| Copy constructor. More... | |
Public Attributes | |
| double | Mass |
| Mass. | |
| Vector2D | Momentum |
| Momentum. | |
| double | Energy |
| Total energy (kinetic + thermal) | |
Set of conserved variables (extensive)
Definition at line 11 of file hydrodynamic_variables.hpp.
| Conserved::Conserved | ( | double | mass, |
| Vector2D const & | momentum, | ||
| double | energy | ||
| ) |
Class constructor.
| mass | Mass |
| momentum | Momentum |
| energy | Energy |
Definition at line 56 of file hydrodynamic_variables.cpp.
| Conserved::Conserved | ( | const Conserved & | other | ) |
Copy constructor.
| other | Source from which to copy |
Definition at line 51 of file hydrodynamic_variables.cpp.
Addition of flux.
| f | Flux |
Definition at line 245 of file hydrodynamic_variables.cpp.
subtraction of flux
| c | Conserved variables |
Definition at line 253 of file hydrodynamic_variables.cpp.
Assigmnet operator.
| other | The object to be copied |
Definition at line 62 of file hydrodynamic_variables.cpp.
1.8.13