#include <PdeSimulationTime.hpp>
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 |
This isn't technically a singleton, as it's implemented with static data and methods.
Definition at line 38 of file PdeSimulationTime.hpp.
void PdeSimulationTime::SetTime | ( | double | time | ) | [static] |
Set the current time
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] |
Get the current time
Definition at line 39 of file PdeSimulationTime.cpp.
References mTime.
Referenced by OperatorSplittingMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::FollowingSolveLinearSystem(), StimulusBoundaryCondition< SPACE_DIM >::GetValue(), OperatorSplittingMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::PrepareForSetupLinearSystem(), AbstractMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::PrepareForSetupLinearSystem(), and AbstractBidomainSolver< ELEMENT_DIM, SPACE_DIM >::PrepareForSetupLinearSystem().
void PdeSimulationTime::SetPdeTimeStep | ( | double | timestep | ) | [static] |
Set the current PDE timestep
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] |
Get the current PDE timestep
Definition at line 51 of file PdeSimulationTime.cpp.
References mPdeTimeStep.
Referenced by OperatorSplittingMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::FollowingSolveLinearSystem(), OperatorSplittingMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::PrepareForSetupLinearSystem(), AbstractMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::PrepareForSetupLinearSystem(), and AbstractBidomainSolver< ELEMENT_DIM, SPACE_DIM >::PrepareForSetupLinearSystem().
double PdeSimulationTime::GetPdeTimeStepInverse | ( | ) | [static] |
Get 1/dt
Definition at line 57 of file PdeSimulationTime.cpp.
References mPdeTimeStepInverse.
Referenced by SimpleLinearParabolicSolver< ELEMENT_DIM, SPACE_DIM >::ComputeMatrixTerm(), MonodomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeMatrixTerm(), BidomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeMatrixTerm(), SimpleLinearParabolicSolver< ELEMENT_DIM, SPACE_DIM >::ComputeVectorTerm(), MonodomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeVectorTerm(), BidomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeVectorTerm(), OperatorSplittingMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::SetupLinearSystem(), MatrixBasedMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::SetupLinearSystem(), and MatrixBasedBidomainSolver< ELEMENT_DIM, SPACE_DIM >::SetupLinearSystem().
double PdeSimulationTime::mTime [static, private] |
The current time
Definition at line 64 of file PdeSimulationTime.hpp.
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().