Public Member Functions | List of all members
hdsim1D Class Reference

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 SimulationState1DgetState (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...
 

Detailed Description

Newtonian hydrodynamic simulation.

Definition at line 25 of file hdsim.hpp.

Constructor & Destructor Documentation

◆ hdsim1D()

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.

Parameters
pgPhysical parameter
ssComputational domain and hydro cells
eosEquation of state
vmVertex motion
forceSource term
tsfTime step function
fcFlux calculator
euExtensive updater
cuCell updater

Definition at line 74 of file hdsim.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ GetCycle()

int hdsim1D::GetCycle ( void  ) const

Returns the number of times time advance was called.

Returns
Number of simulation time advance cycles

Definition at line 20 of file hdsim.cpp.

Here is the caller graph for this function:

◆ getState()

const SimulationState1D & hdsim1D::getState ( void  ) const

Access to computational domain and hydro cells.

Returns
Computational domain and hydro cells

Definition at line 25 of file hdsim.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTime()

double hdsim1D::GetTime ( void  ) const

Returns the time of the simulation.

Returns
Time

Definition at line 15 of file hdsim.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: