Chaste  Release::2018.1
PurkinjeVentricularJunctionStimulus Class Reference

#include <PurkinjeVentricularJunctionStimulus.hpp>

+ Inheritance diagram for PurkinjeVentricularJunctionStimulus:
+ Collaboration diagram for PurkinjeVentricularJunctionStimulus:

Public Member Functions

 PurkinjeVentricularJunctionStimulus (const double &rJunctionResistance)
 
void SetVentricularCellModel (AbstractCardiacCellInterface *pVentricularModel)
 
void SetPurkinjeCellModel (AbstractCardiacCellInterface *pPurkinjeModel)
 
void SetAppliedToPurkinjeCellModel ()
 
double GetStimulus (double time)
 
- Public Member Functions inherited from AbstractStimulusFunction
virtual ~AbstractStimulusFunction ()
 
virtual void Clear ()
 

Private Attributes

double mJunctionResistance
 
bool mAppliedToVentricularCellModel
 
AbstractCardiacCellInterfacempVentricularCellModel
 
AbstractCardiacCellInterfacempPurkinjeCellModel
 

Detailed Description

Provides a stimulus between two cells dependent on the difference between their transmembrane potential. This stimulus represents current flow across a Purkine- Ventricular junction.

I_pvj = (Vm - Vp)/R

where Vm is the transmembrane potential in the ventricular myocyte, Vp is the transmembrane potential in the Purkinje myocyte and R is the resistance across the junction.

Definition at line 53 of file PurkinjeVentricularJunctionStimulus.hpp.

Constructor & Destructor Documentation

PurkinjeVentricularJunctionStimulus::PurkinjeVentricularJunctionStimulus ( const double rJunctionResistance)

Constructor.

Note that Purkinje-ventricular junctions default to generating stimuli for ventricular models, not Purkinje models.

Parameters
rJunctionResistanceThe resistance across the junction

Definition at line 38 of file PurkinjeVentricularJunctionStimulus.cpp.

Member Function Documentation

double PurkinjeVentricularJunctionStimulus::GetStimulus ( double  time)
virtual
Returns
the stimulus at a given time.
Parameters
timetime at which to return the stimulus (note that this is ignored in PurkinjeVentricularStimuli)

Implements AbstractStimulusFunction.

Definition at line 59 of file PurkinjeVentricularJunctionStimulus.cpp.

References AbstractCardiacCellInterface::GetVoltage(), mAppliedToVentricularCellModel, mJunctionResistance, mpPurkinjeCellModel, and mpVentricularCellModel.

void PurkinjeVentricularJunctionStimulus::SetAppliedToPurkinjeCellModel ( )

Sets the Purkinje ventricular junction to generate stimuli for Purkinje cell models instead of ventricular cell models.

Definition at line 54 of file PurkinjeVentricularJunctionStimulus.cpp.

References mAppliedToVentricularCellModel.

void PurkinjeVentricularJunctionStimulus::SetPurkinjeCellModel ( AbstractCardiacCellInterface pPurkinjeModel)

Sets the pointer to the cell model on the Purkinje side of the junction

Parameters
pPurkinjeModelPointer to the Purkinje cell model

Definition at line 49 of file PurkinjeVentricularJunctionStimulus.cpp.

References mpPurkinjeCellModel.

void PurkinjeVentricularJunctionStimulus::SetVentricularCellModel ( AbstractCardiacCellInterface pVentricularModel)

Sets the pointer to the cell model on the ventricular side of the junction

Parameters
pVentricularModelPointer to the ventricular cell model

Definition at line 44 of file PurkinjeVentricularJunctionStimulus.cpp.

References mpVentricularCellModel.

Member Data Documentation

bool PurkinjeVentricularJunctionStimulus::mAppliedToVentricularCellModel
private

Flag to set if this Purkinje-ventricular junction is stimulating a ventricular cell model or a Purkinje cell model (defaults to true)

Definition at line 67 of file PurkinjeVentricularJunctionStimulus.hpp.

Referenced by GetStimulus(), and SetAppliedToPurkinjeCellModel().

double PurkinjeVentricularJunctionStimulus::mJunctionResistance
private

The resistance across the Purkinje-ventricular junction

Definition at line 61 of file PurkinjeVentricularJunctionStimulus.hpp.

Referenced by GetStimulus().

AbstractCardiacCellInterface* PurkinjeVentricularJunctionStimulus::mpPurkinjeCellModel
private

Pointer to the cell model on the Purkinje side of the junction

Definition at line 77 of file PurkinjeVentricularJunctionStimulus.hpp.

Referenced by GetStimulus(), and SetPurkinjeCellModel().

AbstractCardiacCellInterface* PurkinjeVentricularJunctionStimulus::mpVentricularCellModel
private

Pointer to the cell model on the ventricular side of the junction

Definition at line 72 of file PurkinjeVentricularJunctionStimulus.hpp.

Referenced by GetStimulus(), and SetVentricularCellModel().


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