FakeBathCell Class Reference

#include <FakeBathCell.hpp>

Inheritance diagram for FakeBathCell:

Inheritance graph
[legend]
Collaboration diagram for FakeBathCell:

Collaboration graph
[legend]

List of all members.

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 ()
void ComputeExceptVoltage (double tStart, double tEnd)

Private Member Functions

template<class Archive>
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access


Detailed Description

This class represents a fake cell for use within the bath of a bidomain simulation.

Note:
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 45 of file FakeBathCell.hpp.


Constructor & Destructor Documentation

FakeBathCell::FakeBathCell ( boost::shared_ptr< AbstractIvpOdeSolver pSolver,
boost::shared_ptr< AbstractStimulusFunction pIntracellularStimulus 
)

Constructor uses the same signature as normal cells, for convenience.

Parameters:
pSolver unused
pIntracellularStimulus unused

Definition at line 32 of file FakeBathCell.cpp.

References OdeSystemInformation< ODE_SYSTEM >::Instance(), AbstractParameterisedSystem< std::vector< double > >::mpSystemInfo, and AbstractParameterisedSystem< std::vector< double > >::rGetStateVariables().

FakeBathCell::~FakeBathCell (  ) 

Destructor; does nothing.

Definition at line 41 of file FakeBathCell.cpp.


Member Function Documentation

template<class Archive>
void FakeBathCell::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive this cell. Just calls the base class version.

Parameters:
archive 
version 

Reimplemented from AbstractCardiacCell.

Definition at line 57 of file FakeBathCell.hpp.

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.

Parameters:
time unused
rY unused
rDY unused

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 AbstractCardiacCellInterface.

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.

Parameters:
tStart unused
tEnd unused

Reimplemented from AbstractCardiacCell.

Definition at line 54 of file FakeBathCell.cpp.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from AbstractCardiacCell.

Definition at line 49 of file FakeBathCell.hpp.


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

Generated on Mon Nov 1 12:36:42 2010 for Chaste by  doxygen 1.5.5