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 Private Attributes

static double mTime


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 32 of file PdeSimulationTime.cpp.

References mTime.

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

double PdeSimulationTime::GetTime (  )  [static]


Member Data Documentation

double PdeSimulationTime::mTime [static, private]

The current time

Definition at line 51 of file PdeSimulationTime.hpp.

Referenced by GetTime(), and SetTime().


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

Generated on Mon Nov 1 12:37:13 2010 for Chaste by  doxygen 1.5.5