|
Chaste Release::3.1
|
#include <SteadyStateRunner.hpp>
Inheritance diagram for SteadyStateRunner:
Collaboration diagram for SteadyStateRunner:Public Member Functions | |
| SteadyStateRunner (boost::shared_ptr< AbstractCvodeCell > pModel, bool twoPaces=false) | |
Protected Member Functions | |
| virtual void | RunToSteadyStateImplementation () |
Private Attributes | |
| bool | mTwoPaceScan |
This class is to get a cell model to (approximately) steady state.
It does it by simply pacing and looking for a small change in the norm of the state variables between subsequent paces.
Definition at line 50 of file SteadyStateRunner.hpp.
| SteadyStateRunner::SteadyStateRunner | ( | boost::shared_ptr< AbstractCvodeCell > | pModel, |
| bool | twoPaces = false |
||
| ) | [inline] |
Constructor of a helper class for getting action potential models to steady state
| pModel | The cell model to run to steady state. |
| twoPaces | Whether to |
Definition at line 72 of file SteadyStateRunner.hpp.
| void SteadyStateRunner::RunToSteadyStateImplementation | ( | ) | [protected, virtual] |
Run the cell model to steady state
Here we don't do anything clever - we just gradually drift to the steady state, defined by < 1e-6 change in the norm of state variables between 1 (or 2 - see mTwoPaceScan) beats.
Implements AbstractSteadyStateRunner.
Definition at line 40 of file SteadyStateRunner.cpp.
References CopyToStdVector(), RegularStimulus::GetPeriod(), AbstractSteadyStateRunner::mMaxNumPaces, AbstractSteadyStateRunner::mNumEvaluations, AbstractSteadyStateRunner::mpModel, and mTwoPaceScan.
bool SteadyStateRunner::mTwoPaceScan [private] |
whether we should do two paces at once (should detect steady alternans as well as single paces)
Definition at line 54 of file SteadyStateRunner.hpp.
Referenced by RunToSteadyStateImplementation().