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