49 "Phenomological model of canine cardiac electrophysiology.");
56 pSession->LoadParameter(
"k",
m_k, 0.0);
57 pSession->LoadParameter(
"a",
m_a, 0.0);
58 pSession->LoadParameter(
"mu1",
m_mu1, 0.0);
59 pSession->LoadParameter(
"mu2",
m_mu2, 0.0);
60 pSession->LoadParameter(
"eps",
m_eps, 0.0);
Array< OneD, NekDouble > m_tmp1
Workspace for computing reaction term.
CellModelAlievPanfilov(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField)
static std::string className
Name of class.
Array< OneD, NekDouble > m_uuu
Temporary space for storing when computing reaction term.
void v_GenerateSummary(SummaryList &s) override
Array< OneD, NekDouble > m_uu
Temporary space for storing when computing reaction term.
void v_Update(const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) override
static CellModelSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField)
Creates an instance of this class.
NekDouble m_a
Trigger parameter a.
NekDouble m_k
Scaling parameter k.
void v_SetInitialConditions() override
NekDouble m_mu1
Restitution parameter .
Array< OneD, NekDouble > m_tmp2
Workspace for computing reaction term.
NekDouble m_eps
Restitution parameter .
NekDouble m_mu2
Restitution parameter .
Array< OneD, Array< OneD, NekDouble > > m_cellSol
Cell model solution variables.
std::vector< int > m_concentrations
Indices of cell model variables which are concentrations.
size_t m_nq
Number of physical points.
size_t m_nvar
Number of variables in cell model (inc. transmembrane voltage)
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
std::vector< std::pair< std::string, std::string > > SummaryList
void AddSummaryItem(SummaryList &l, const std::string &name, const std::string &value)
Adds a summary item to the summary info list.
CellModelFactory & GetCellModelFactory()
void Vmul(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Multiply vector z = x*y.
void Svtvp(int n, const T alpha, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Svtvp (scalar times vector plus vector): z = alpha*x + y.
void Neg(int n, T *x, const int incx)
Negate x = -x.
void Vvtvp(int n, const T *w, const int incw, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
vvtvp (vector times vector plus vector): z = w*x + y
void Vadd(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Add vector z = x+y.
void Smul(int n, const T alpha, const T *x, const int incx, T *y, const int incy)
Scalar multiply y = alpha*x.
void Vdiv(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Multiply vector z = x/y.
void Fill(int n, const T alpha, T *x, const int incx)
Fill a vector with a constant value.
void Sadd(int n, const T alpha, const T *x, const int incx, T *y, const int incy)
Add vector y = alpha + x.