Chaste Release::3.1
SteadyStateRunner Class Reference

#include <SteadyStateRunner.hpp>

Inheritance diagram for SteadyStateRunner:
Collaboration diagram for SteadyStateRunner:

List of all members.

Public Member Functions

 SteadyStateRunner (boost::shared_ptr< AbstractCvodeCell > pModel, bool twoPaces=false)

Protected Member Functions

virtual void RunToSteadyStateImplementation ()

Private Attributes

bool mTwoPaceScan

Detailed Description

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.


Constructor & Destructor Documentation

SteadyStateRunner::SteadyStateRunner ( boost::shared_ptr< AbstractCvodeCell pModel,
bool  twoPaces = false 
) [inline]

Constructor of a helper class for getting action potential models to steady state

Parameters:
pModelThe cell model to run to steady state.
twoPacesWhether to

Definition at line 72 of file SteadyStateRunner.hpp.


Member Function Documentation

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.


Member Data Documentation

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


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