std::set< _Type, _Compare, _Alloc > CepsSet
C++ set.
float CepsReal
Need single precision floating point.
int32_t CepsInt
Need 32 bit integer.
Represents a ionic model for a group of cells, i.e. multiple systems of ODEs.
A degree of freedom for any kind of problem The dof can be associated to a geometrical element or not...
O'Hara - Rudy CiPA v1.0 (2017) ionic model.
static constexpr const CepsInt _vnsr
Index alias.
void computeBgCurrents(CepsReal *IKb, CepsReal *INab, CepsReal *ICab, CepsReal v, CepsReal *y) const
Background currents.
static constexpr const CepsInt _hLp
Index alias.
static constexpr const CepsInt _R
Index alias.
void computeIKr(CepsReal *IKr, CepsReal v, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin) const
Rapid Delayed Rectifier K+ Current.
static constexpr const CepsInt _ICK1
Index alias.
static constexpr const CepsInt _hs
Index alias.
static constexpr const CepsInt _hNaL
Index alias.
static constexpr const CepsInt _xs2
Index alias.
void setupWithParameters(InputParameters *p)
Sets the constants and the space dependant parameters from text inputs.
static constexpr const CepsInt _T
Index alias.
void computeICa(CepsReal *ICaL, CepsReal *ICaNa, CepsReal *ICaK, CepsReal v, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin, CepsReal fraction) const
L-type Ca2+ channel.
static constexpr const CepsInt _acap
Index alias.
static constexpr const CepsInt _hK1
Index alias.
static constexpr const CepsInt _vcell
Index alias.
static constexpr const CepsInt _hf
Index alias.
static constexpr const CepsInt _gtoFrac
Index alias.
static constexpr const CepsInt _ko
Index alias.
static constexpr const CepsInt _ICCal
Index alias.
static constexpr const CepsInt _gNaFrac
Index alias.
static constexpr const CepsInt _j
Index alias.
static constexpr const CepsInt _cass
Index alias.
static constexpr const CepsInt _d
Index alias.
static constexpr const CepsInt _nass
Index alias.
static constexpr const CepsInt _IKs_factor
Index alias.
void computeIto(CepsReal *Ito, CepsReal v, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin, CepsReal fraction) const
Transient outward K+ current.
static constexpr const CepsInt _kss
Index alias.
CepsReal computeINaCaInternal(CepsReal v, CepsReal na, CepsReal ca) const
Internal function to avoid duplication.
static constexpr const CepsInt _ICNaL
Index alias.
static constexpr const CepsInt _FRT
Index alias.
void computeINaK(CepsReal *INaK, CepsReal v, CepsReal *y) const
Sodium/Potassium ATPase Current.
static constexpr const CepsInt _a
Index alias.
static constexpr const CepsInt _iF
Index alias.
static constexpr const CepsInt _gCalFrac
Index alias.
static constexpr const CepsInt _xrs
Index alias.
static constexpr const CepsInt _hKs
Index alias.
static constexpr const CepsInt _vnsr_fraction
Index alias.
static constexpr const CepsInt _vjsr_fraction
Index alias.
static constexpr const CepsInt _cajsr
Index alias.
void computeJrel(CepsReal *Jrel, CepsReal ICaL, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin, CepsReal fraction) const
SR Calcium Release Flux, via Ryanodine Receptor.
static constexpr const CepsInt _fcaf
Index alias.
static constexpr const CepsInt _vjsr
Index alias.
static constexpr const CepsInt _ff
Index alias.
void getInitialCondition(CepsReal *v, CepsReal *y) const final
Sets initial values of state variables and transmembrane voltage for a single point....
static constexpr const CepsInt _gNaLFrac
Index alias.
static constexpr const CepsInt _hsp
Index alias.
static constexpr const CepsInt _xs1
Index alias.
static constexpr const CepsInt _vss
Index alias.
static constexpr const CepsInt _gK1Frac
Index alias.
static constexpr const CepsInt _fcas
Index alias.
static constexpr const CepsInt _nca
Index alias.
static constexpr const CepsInt _iFp
Index alias.
static constexpr const CepsInt _ICKs
Index alias.
static constexpr const CepsInt _iS
Index alias.
static constexpr const CepsInt _nao
Index alias.
static constexpr const CepsInt _rad
Index alias.
static constexpr const CepsInt _IKr_factor
Index alias.
Type m_type
Celltype selector (endo, epi, midmyo)
static constexpr const CepsInt _CaMKt
Index alias.
static constexpr const CepsInt _ICNa
Index alias.
static constexpr const CepsInt _fcafp
Index alias.
static constexpr const CepsInt _ffp
Index alias.
static constexpr const CepsInt _ICKr
Index alias.
static constexpr const CepsInt _vmyo
Index alias.
static constexpr const CepsInt _mL
Index alias.
static constexpr const CepsInt _Jrelnp
Index alias.
static constexpr const CepsInt _ki
Index alias.
static constexpr const CepsInt _nai
Index alias.
static constexpr const CepsInt _jca
Index alias.
void computeINa(CepsReal *INa, CepsReal *iNaL, CepsReal v, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin, CepsReal fraction) const
Fast Na+ current and Late Na+ current.
static constexpr const CepsInt _gKrFrac
Index alias.
static constexpr const CepsInt _hto
Index alias.
static constexpr const CepsInt _hCal
Index alias.
static constexpr const CepsInt _m
Index alias.
static constexpr const CepsInt _Jrelp
Index alias.
static constexpr const CepsInt _ap
Index alias.
~ORdmD16()=default
Destructor.
static constexpr const CepsInt _vmyo_fraction
Index alias.
static constexpr const CepsInt _ICto
Index alias.
static constexpr const CepsInt _INaL_factor
Index alias.
static constexpr const CepsInt _xrf
Index alias.
static constexpr const CepsInt _hNa
Index alias.
void computeIPCa(CepsReal *IPCa, CepsReal *y) const
Sarsolemmal calcium pump current.
static constexpr const CepsInt _vss_fraction
Index alias.
ORdmD16(const Type &type, Unknown *u, const CepsSet< CepsAttribute > &attrs={}, InputParameters *params=nullptr)
Constructor (sets constants)
static constexpr const CepsInt _gKsFrac
Index alias.
static constexpr const CepsInt _cao
Index alias.
static constexpr const CepsInt _cansr
Index alias.
void computeJup(CepsReal *Jup, CepsReal *y, CepsReal fraction) const
Calcium Uptake via SERCA Pump.
Type
Model variant selector.
@ Epi
Model variant selector.
@ MidMyo
Model variant selector.
@ Endo
Model variant selector.
static constexpr const CepsInt _ageo
Index alias.
static constexpr const CepsInt _IK1_factor
Index alias.
static constexpr const CepsInt _jp
Index alias.
static constexpr const CepsInt _xk1
Index alias.
static constexpr const CepsInt _hKr
Index alias.
static constexpr const CepsInt _L
Index alias.
void computeIKs(CepsReal *IKs, CepsReal v, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin) const
Slow Delayed Rectifier K+ Current.
static constexpr const CepsInt _ICaL_factor
Index alias.
static constexpr const CepsInt _fs
Index alias.
static constexpr const CepsInt _F
Index alias.
static constexpr const CepsInt _drug
Index alias.
void computeRates(CepsReal t, CepsReal *y, CepsReal *v, CepsReal *dtyL, CepsReal *dtyNL, CepsReal *dtv, DegreeOfFreedom *dof) const override
Get the linear and non linear part of the evolution function f. Also computes the ionic current.
void computeINaCa(CepsReal *INaCa_i, CepsReal *INaCa_ss, CepsReal v, CepsReal *y) const
Na+/Ca2+ exchanger.
static constexpr const CepsInt _PKNa
Index alias.
void computeIK1(CepsReal *IK1, CepsReal v, CepsReal *y, CepsReal *dtyLin, CepsReal *dtyNLin) const
Inward Rectifier K+ Current.
static constexpr const CepsInt _hL
Index alias.
static constexpr const CepsInt _iSp
Index alias.
static constexpr const CepsInt _cai
Index alias.
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...