Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsfvm::simulator::TimestepInformation Class Reference

#include <alsfvm/simulator/TimestepInformation.hpp>

Public Member Functions

 TimestepInformation (real currentTime, size_t numberOfStepsPerformed)
 
 TimestepInformation ()
 
void incrementTime (real dt)
 incrementTime increments the current simulation time More...
 
real getCurrentTime () const
 
size_t getNumberOfStepsPerformed () const
 getNumberOfStepsPerformed returns the number of timesteps calculated. More...
 

Constructor & Destructor Documentation

◆ TimestepInformation() [1/2]

alsfvm::simulator::TimestepInformation::TimestepInformation ( real  currentTime,
size_t  numberOfStepsPerformed 
)

◆ TimestepInformation() [2/2]

alsfvm::simulator::TimestepInformation::TimestepInformation ( )

Member Function Documentation

◆ getCurrentTime()

real alsfvm::simulator::TimestepInformation::getCurrentTime ( ) const
Returns
the current simulation time

◆ getNumberOfStepsPerformed()

size_t alsfvm::simulator::TimestepInformation::getNumberOfStepsPerformed ( ) const

getNumberOfStepsPerformed returns the number of timesteps calculated.

◆ incrementTime()

void alsfvm::simulator::TimestepInformation::incrementTime ( real  dt)

incrementTime increments the current simulation time

Parameters
dtthe increment size.

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