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.
Courtemanche-Ramirez-Nattel ionic model.
static constexpr const CepsInt _ua
Index alias.
CRN98(Unknown *u, const CepsSet< CepsAttribute > &attrs={}, InputParameters *params=nullptr)
Constructor (sets constants)
static constexpr const CepsInt _h
Index alias.
static constexpr const CepsInt _F
Index alias.
static constexpr const CepsInt _f
Index alias.
static constexpr const CepsInt _vrel
Index alias.
static constexpr const CepsInt _gkr
Index alias.
static constexpr const CepsInt _kmcsqn
Index alias.
void getInitialCondition(CepsReal *v, CepsReal *y) const final
Sets initial values of state variables and transmembrane voltage for a single point....
void computeRates(CepsReal t, CepsReal *y, CepsReal *v, CepsReal *dtyL, CepsReal *dtyNL, CepsReal *dtv, DegreeOfFreedom *dof) const final
Get the linear and non linear part of the evolution function f. Also computes the ionic current.
static constexpr const CepsInt _gbna
Index alias.
static constexpr const CepsInt _ui
Index alias.
static constexpr const CepsInt _kmko
Index alias.
static constexpr const CepsInt _kmtrpn
Index alias.
static constexpr const CepsInt _sigma
Index alias.
static constexpr const CepsInt _icapmax
Index alias.
static constexpr const CepsInt _caupmax
Index alias.
CepsReal m_cellSurface
surface used to scale current to CEPS unit.
static constexpr const CepsInt _vup
Index alias.
static constexpr const CepsInt _iupmax
Index alias.
CepsReal convertCmFromCepsUnit(const CepsReal &cm) const override
Convert capacitance from ceps units (uF/cm2) to ionic model units. Does nothing by default.
static constexpr const CepsInt _kmnai
Index alias.
static constexpr const CepsInt _xs
Index alias.
static constexpr const CepsInt _T
Index alias.
static constexpr const CepsInt _R
Index alias.
static constexpr const CepsInt _xr
Index alias.
static constexpr const CepsInt _gna
Index alias.
static constexpr const CepsInt _v
Index alias.
static constexpr const CepsInt _kq10
Index alias.
static constexpr const CepsInt _nao
Index alias.
static constexpr const CepsInt _ki
Index alias.
static constexpr const CepsInt _u
Index alias.
static constexpr const CepsInt _w
Index alias.
static constexpr const CepsInt _cao
Index alias.
static constexpr const CepsInt _vcell
Index alias.
static constexpr const CepsInt _vi
Index alias.
static constexpr const CepsInt _tauu
Index alias.
static constexpr const CepsInt _oi
Index alias.
static constexpr const CepsInt _gto
Index alias.
static constexpr const CepsInt _j
Index alias.
void setupWithParameters(InputParameters *p, FunctionDictionary *dico)
Sets the constants and the space dependant parameters from text inputs.
static constexpr const CepsInt _nai
Index alias.
virtual ~CRN98()=default
Destructor.
static constexpr const CepsInt _cai
Index alias.
static constexpr const CepsInt _gks
Index alias.
static constexpr const CepsInt _kmna
Index alias.
static constexpr const CepsInt _gk1
Index alias.
static constexpr const CepsInt _tautr
Index alias.
static constexpr const CepsInt _krel
Index alias.
static constexpr const CepsInt _d
Index alias.
CepsReal convertCurrentFromCepsUnit(const CepsReal &i) const override
Convert from uA per cm2 to pA.
static constexpr const CepsInt _kmca
Index alias.
static constexpr const CepsInt _gcal
Index alias.
static constexpr const CepsInt _kmcmdn
Index alias.
static constexpr const CepsInt _carel
Index alias.
static constexpr const CepsInt _taufca
Index alias.
static constexpr const CepsInt _ko
Index alias.
static constexpr const CepsInt _kup
Index alias.
CepsReal convertCmToCepsUnit(const CepsReal &cm) const override
Convert capacitance from ionic model units to ceps units (uF/cm2). Does nothing by default.
static constexpr const CepsInt _cmdnmax
Index alias.
static constexpr const CepsInt _csqnmax
Index alias.
static constexpr const CepsInt _inacamax
Index alias.
static constexpr const CepsInt _gbk
Index alias.
static constexpr const CepsInt _inakmax
Index alias.
static constexpr const CepsInt _m
Index alias.
static constexpr const CepsInt _gamma
Index alias.
static constexpr const CepsInt _oa
Index alias.
static constexpr const CepsInt _caup
Index alias.
static constexpr const CepsInt _fca
Index alias.
static constexpr const CepsInt _ksat
Index alias.
static constexpr const CepsInt _trpnmax
Index alias.
static constexpr const CepsInt _gbca
Index alias.
A degree of freedom for any kind of problem The dof can be associated to a geometrical element or not...
FunctionDictionary that holds functions which can be used to define source terms, boundary conditions...
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...