#include <FakeBathCell.hpp>
Public Member Functions | |
FakeBathCell (AbstractIvpOdeSolver *pSolver, AbstractStimulusFunction *pIntracellularStimulus) | |
~FakeBathCell () | |
void | EvaluateYDerivatives (double time, const std::vector< double > &rY, std::vector< double > &rDY) |
double | GetIIonic () |
void | ComputeExceptVoltage (double tStart, double tEnd) |
Note that only a portion of the normal functionality of a cardiac cell is actually redefined in this class. If further calls to cardiac cells are later added to the simulation process, additional overrides may need to be added here.
Definition at line 43 of file FakeBathCell.hpp.
FakeBathCell::FakeBathCell | ( | AbstractIvpOdeSolver * | pSolver, | |
AbstractStimulusFunction * | pIntracellularStimulus | |||
) |
Constructor uses the same signature as normal cells, for convenience.
Definition at line 32 of file FakeBathCell.cpp.
References OdeSystemInformation< ODE_SYSTEM >::Instance(), and AbstractOdeSystem::mpSystemInfo.
FakeBathCell::~FakeBathCell | ( | ) |
Destructor; does nothing.
Definition at line 41 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.
Implements AbstractOdeSystem.
Definition at line 45 of file FakeBathCell.cpp.
double FakeBathCell::GetIIonic | ( | ) | [virtual] |
Fake cells have no transmembrane currents, so this method always returns 0.
Implements AbstractCardiacCell.
Definition at line 49 of file FakeBathCell.cpp.
void FakeBathCell::ComputeExceptVoltage | ( | double | tStart, | |
double | tEnd | |||
) | [virtual] |
There isn't really a cell here, so we override this method to do nothing.
Reimplemented from AbstractCardiacCell.
Definition at line 54 of file FakeBathCell.cpp.