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 38 of file PdeSimulationTime.hpp.


Member Function Documentation

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

Set the current time

Parameters:
time the current time

Definition at line 34 of file PdeSimulationTime.cpp.

References mTime.

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

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

double PdeSimulationTime::GetPdeTimeStep (  )  [static]

double PdeSimulationTime::GetPdeTimeStepInverse (  )  [static]


Member Data Documentation

double PdeSimulationTime::mTime [static, private]

The current time

Definition at line 64 of file PdeSimulationTime.hpp.

Referenced by GetTime(), and SetTime().

double PdeSimulationTime::mPdeTimeStep [static, private]

The timestep used in the PDE solve

Definition at line 66 of file PdeSimulationTime.hpp.

Referenced by GetPdeTimeStep(), and SetPdeTimeStep().

double PdeSimulationTime::mPdeTimeStepInverse [static, private]

1/dt

Definition at line 68 of file PdeSimulationTime.hpp.

Referenced by GetPdeTimeStepInverse(), and SetPdeTimeStep().


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

Generated on Mon Apr 18 11:37:43 2011 for Chaste by  doxygen 1.5.5