Chaste
Release::2018.1
|
#include <PurkinjeVentricularJunctionStimulus.hpp>
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 |
AbstractCardiacCellInterface * | mpVentricularCellModel |
AbstractCardiacCellInterface * | mpPurkinjeCellModel |
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.
PurkinjeVentricularJunctionStimulus::PurkinjeVentricularJunctionStimulus | ( | const double & | rJunctionResistance | ) |
Constructor.
Note that Purkinje-ventricular junctions default to generating stimuli for ventricular models, not Purkinje models.
rJunctionResistance | The resistance across the junction |
Definition at line 38 of file PurkinjeVentricularJunctionStimulus.cpp.
time | time 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
pPurkinjeModel | Pointer 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
pVentricularModel | Pointer to the ventricular cell model |
Definition at line 44 of file PurkinjeVentricularJunctionStimulus.cpp.
References mpVentricularCellModel.
|
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().
|
private |
The resistance across the Purkinje-ventricular junction
Definition at line 61 of file PurkinjeVentricularJunctionStimulus.hpp.
Referenced by GetStimulus().
|
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().
|
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().