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 AbstractDynamicAssemblerMixin< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::Solve().

double PdeSimulationTime::GetTime (  )  [static]

Get the current time

Definition at line 37 of file PdeSimulationTime.cpp.

References mTime.

Referenced by StimulusBoundaryCondition< SPACE_DIM >::GetValue().


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 Tue Aug 4 16:11:37 2009 for Chaste by  doxygen 1.5.5