Newtonian hydrodynamic simulation. More...
#include <hdsim.hpp>
Public Member Functions | |
hdsim1D (const PhysicalGeometry1D &pg, const SimulationState1D &ss, const EquationOfState &eos, const VertexMotion &vm, const SourceTerm1D &force, const TimeStepFunction1D &tsf, const FluxCalculator1D &fc, const ExtensiveUpdater1D &eu, const CellUpdater1D &cu) | |
Class constructor. More... | |
void | TimeAdvance (void) |
Advances the simulation in time. | |
void | TimeAdvance2 (void) |
Second order time advance. | |
const SimulationState1D & | getState (void) const |
Access to computational domain and hydro cells. More... | |
double | GetTime (void) const |
Returns the time of the simulation. More... | |
int | GetCycle (void) const |
Returns the number of times time advance was called. More... | |
hdsim1D::hdsim1D | ( | const PhysicalGeometry1D & | pg, |
const SimulationState1D & | ss, | ||
const EquationOfState & | eos, | ||
const VertexMotion & | vm, | ||
const SourceTerm1D & | force, | ||
const TimeStepFunction1D & | tsf, | ||
const FluxCalculator1D & | fc, | ||
const ExtensiveUpdater1D & | eu, | ||
const CellUpdater1D & | cu | ||
) |
Class constructor.
pg | Physical parameter |
ss | Computational domain and hydro cells |
eos | Equation of state |
vm | Vertex motion |
force | Source term |
tsf | Time step function |
fc | Flux calculator |
eu | Extensive updater |
cu | Cell updater |
Definition at line 74 of file hdsim.cpp.
int hdsim1D::GetCycle | ( | void | ) | const |
const SimulationState1D & hdsim1D::getState | ( | void | ) | const |
double hdsim1D::GetTime | ( | void | ) | const |