Nektar++
|
#include <TenTusscher06.h>
Public Member Functions | |
TenTusscher06 (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField) | |
Constructor. | |
virtual | ~TenTusscher06 () |
Desctructor. | |
Public Member Functions inherited from Nektar::CellModel | |
CellModel (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField) | |
virtual | ~CellModel () |
void | Initialise () |
Initialise the cell model storage and set initial conditions. | |
void | TimeIntegrate (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
Time integrate the cell model by one PDE timestep. | |
void | Update (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
Compute the derivatives of cell model variables. | |
void | GenerateSummary (SummaryList &s) |
Print a summary of the cell model. | |
unsigned int | GetNumCellVariables () |
std::string | GetCellVarName (unsigned int idx) |
Array< OneD, NekDouble > | GetCellSolutionCoeffs (unsigned int idx) |
Array< OneD, NekDouble > | GetCellSolution (unsigned int idx) |
Static Public Member Functions | |
static CellModelSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField) |
Creates an instance of this class. |
Static Public Attributes | |
static std::string | className |
Name of class. |
Protected Types | |
enum | Variants { eEpicardium, eEndocardium, eMid, eIschemia } |
Protected Member Functions | |
virtual void | v_Update (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
virtual void | v_GenerateSummary (SummaryList &s) |
Prints a summary of the model parameters. | |
virtual void | v_SetInitialConditions () |
Protected Member Functions inherited from Nektar::CellModel | |
virtual std::string | v_GetCellVarName (unsigned int idx) |
void | LoadCellModel () |
Protected Attributes | |
NekDouble | g_to |
NekDouble | g_Ks |
NekDouble | s_inf_factor |
NekDouble | s_tau_f1 |
NekDouble | s_tau_f2 |
NekDouble | s_tau_f3 |
NekDouble | s_tau_f4 |
NekDouble | s_tau_f5 |
NekDouble | k_0 |
enum Variants | model_variant |
Protected Attributes inherited from Nektar::CellModel | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session. | |
MultiRegions::ExpListSharedPtr | m_field |
Transmembrane potential field from PDE system. | |
int | m_nq |
Number of physical points. | |
int | m_nvar |
Number of variables in cell model (inc. transmembrane voltage) | |
NekDouble | m_lastTime |
Timestep for pde model. | |
int | m_substeps |
Number of substeps to take. | |
Array< OneD, Array< OneD, NekDouble > > | m_cellSol |
Cell model solution variables. | |
Array< OneD, Array< OneD, NekDouble > > | m_wsp |
Cell model integration workspace. | |
bool | m_useNodal |
Flag indicating whether nodal projection in use. | |
StdRegions::StdNodalTriExpSharedPtr | m_nodalTri |
StdNodalTri for cell model calculations. | |
StdRegions::StdNodalTetExpSharedPtr | m_nodalTet |
Array< OneD, Array< OneD, NekDouble > > | m_nodalTmp |
Temporary array for nodal projection. | |
std::vector< int > | m_concentrations |
Indices of cell model variables which are concentrations. | |
std::vector< int > | m_gates |
Indices of cell model variables which are gates. | |
Array< OneD, Array< OneD, NekDouble > > | m_gates_tau |
Storage for gate tau values. |
Static Protected Attributes | |
static std::string | lookupIds [] |
static std::string | def |
Definition at line 43 of file TenTusscher06.h.
|
protected |
Definition at line 85 of file TenTusscher06.h.
Nektar::TenTusscher06::TenTusscher06 | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const MultiRegions::ExpListSharedPtr & | pField | ||
) |
Constructor.
Definition at line 68 of file TenTusscher06.cpp.
References eEndocardium, eEpicardium, eIschemia, eMid, g_Ks, g_to, k_0, Nektar::CellModel::m_concentrations, Nektar::CellModel::m_gates, Nektar::CellModel::m_nvar, model_variant, s_inf_factor, s_tau_f1, s_tau_f2, s_tau_f3, s_tau_f4, and s_tau_f5.
|
inlinevirtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 48 of file TenTusscher06.h.
|
protectedvirtual |
Prints a summary of the model parameters.
Implements Nektar::CellModel.
Definition at line 496 of file TenTusscher06.cpp.
References Nektar::SolverUtils::AddSummaryItem().
|
protectedvirtual |
Implements Nektar::CellModel.
Definition at line 505 of file TenTusscher06.cpp.
References eEndocardium, eEpicardium, eIschemia, eMid, Vmath::Fill(), Nektar::CellModel::m_cellSol, Nektar::CellModel::m_nq, and model_variant.
|
protectedvirtual |
Implements Nektar::CellModel.
Definition at line 148 of file TenTusscher06.cpp.
References g_Ks, g_to, k_0, Nektar::CellModel::m_gates_tau, Nektar::CellModel::m_nq, s_inf_factor, s_tau_f1, s_tau_f2, s_tau_f3, s_tau_f4, and s_tau_f5.
|
static |
Name of class.
Definition at line 56 of file TenTusscher06.h.
|
staticprotected |
Definition at line 94 of file TenTusscher06.h.
|
protected |
Definition at line 76 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 75 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 83 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
staticprotected |
Definition at line 93 of file TenTusscher06.h.
|
protected |
Definition at line 91 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_SetInitialConditions().
|
protected |
Definition at line 77 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 78 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 79 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 80 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 81 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().
|
protected |
Definition at line 82 of file TenTusscher06.h.
Referenced by TenTusscher06(), and v_Update().