Chaste Release::3.1
|
#include <FakeBathCell.hpp>
Public Member Functions | |
FakeBathCell (boost::shared_ptr< AbstractIvpOdeSolver > pSolver, boost::shared_ptr< AbstractStimulusFunction > pIntracellularStimulus) | |
~FakeBathCell () | |
void | EvaluateYDerivatives (double time, const std::vector< double > &rY, std::vector< double > &rDY) |
double | GetIIonic (const std::vector< double > *pStateVariables=NULL) |
void | ComputeExceptVoltage (double tStart, double tEnd) |
double | GetIntracellularCalciumConcentration () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
This class represents a fake cell for use within the bath of a bidomain simulation.
Definition at line 52 of file FakeBathCell.hpp.
FakeBathCell::FakeBathCell | ( | boost::shared_ptr< AbstractIvpOdeSolver > | pSolver, |
boost::shared_ptr< AbstractStimulusFunction > | pIntracellularStimulus | ||
) |
Constructor uses the same signature as normal cells, for convenience.
pSolver | unused |
pIntracellularStimulus | unused |
Definition at line 39 of file FakeBathCell.cpp.
References AbstractCardiacCell::Init(), and AbstractUntemplatedParameterisedSystem::mpSystemInfo.
FakeBathCell::~FakeBathCell | ( | ) |
Destructor; does nothing.
Definition at line 47 of file FakeBathCell.cpp.
There isn't really a cell here, so we override this method to do nothing.
tStart | unused |
tEnd | unused |
Reimplemented from AbstractCardiacCell.
Definition at line 64 of file FakeBathCell.cpp.
void FakeBathCell::EvaluateYDerivatives | ( | double | time, |
const std::vector< double > & | rY, | ||
std::vector< double > & | rDY | ||
) | [virtual] |
This method is pure in a base class, so we need it, but we never use it. It has an empty body.
time | unused |
rY | unused |
rDY | unused |
Implements AbstractOdeSystem.
Definition at line 53 of file FakeBathCell.cpp.
Fake cells have no transmembrane currents, so this method always returns 0.
pStateVariables | unused |
Implements AbstractCardiacCellInterface.
Definition at line 59 of file FakeBathCell.cpp.
double FakeBathCell::GetIntracellularCalciumConcentration | ( | ) | [virtual] |
There is really no calcium here, so we override this method to return a dummy value (0) Implementing this with a dummy implementation is needed by mechanics
Reimplemented from AbstractCardiacCellInterface.
Definition at line 68 of file FakeBathCell.cpp.
void FakeBathCell::serialize | ( | Archive & | archive, |
const unsigned int | version | ||
) | [inline, private] |
Archive this cell. Just calls the base class version.
archive | |
version |
Reimplemented from AbstractCardiacCell.
Definition at line 64 of file FakeBathCell.hpp.
References AbstractUntemplatedParameterisedSystem::mNumberOfStateVariables.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCardiacCell.
Definition at line 56 of file FakeBathCell.hpp.