PdeSimulationTime Class Reference

#include <PdeSimulationTime.hpp>

Collaboration diagram for PdeSimulationTime:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static void SetTime (double time)
static double GetTime ()
static void SetPdeTimeStep (double timestep)
static double GetPdeTimeStep ()
static double GetPdeTimeStepInverse ()

Static Private Attributes

static double mTime
static double mPdeTimeStep
static double mPdeTimeStepInverse

Detailed Description

A small convenience class providing a consistent global time to the PDE solver classes.

This isn't technically a singleton, as it's implemented with static data and methods.

Definition at line 39 of file PdeSimulationTime.hpp.


Member Function Documentation

double PdeSimulationTime::GetPdeTimeStep (  )  [static]
double PdeSimulationTime::GetPdeTimeStepInverse (  )  [static]
double PdeSimulationTime::GetTime (  )  [static]
void PdeSimulationTime::SetPdeTimeStep ( double  timestep  )  [static]

Set the current PDE timestep.

Parameters:
timestep the current timestep

Definition at line 45 of file PdeSimulationTime.cpp.

References mPdeTimeStep, and mPdeTimeStepInverse.

Referenced by AbstractDynamicLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::Solve().

void PdeSimulationTime::SetTime ( double  time  )  [static]

Set the current time.

Parameters:
time the current time

Definition at line 35 of file PdeSimulationTime.cpp.

References mTime.

Referenced by AbstractDynamicLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::Solve().


Member Data Documentation

The timestep used in the PDE solve.

Definition at line 72 of file PdeSimulationTime.hpp.

Referenced by GetPdeTimeStep(), and SetPdeTimeStep().

1/dt.

Definition at line 75 of file PdeSimulationTime.hpp.

Referenced by GetPdeTimeStepInverse(), and SetPdeTimeStep().

double PdeSimulationTime::mTime [static, private]

The current time.

Definition at line 69 of file PdeSimulationTime.hpp.

Referenced by GetTime(), and SetTime().


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:07:13 2011 for Chaste by  doxygen 1.6.3