Nektar++
|
#include <CourtemancheRamirezNattel98.h>
Public Member Functions | |
CourtemancheRamirezNattel98 (const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField) | |
Constructor. | |
virtual | ~CourtemancheRamirezNattel98 () |
Destructor. | |
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 Member Functions | |
virtual void | v_Update (const Array< OneD, const Array< OneD, NekDouble > > &inarray, Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) |
Computes the reaction terms $f(u,v)$ and $g(u,v)$. | |
virtual void | v_GenerateSummary (SummaryList &s) |
Prints a summary of the model parameters. | |
virtual void | v_SetInitialConditions () |
virtual std::string | v_GetCellVarName (unsigned int idx) |
Protected Member Functions inherited from Nektar::CellModel | |
void | LoadCellModel () |
Private Types | |
enum | Variants { eOriginal, eAF } |
Static Private Attributes | |
static std::string | lookupIds [] |
static std::string | def |
Additional Inherited Members | |
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. |
Definition at line 43 of file CourtemancheRamirezNattel98.h.
|
private |
Definition at line 125 of file CourtemancheRamirezNattel98.h.
Nektar::CourtemancheRamirezNattel98::CourtemancheRamirezNattel98 | ( | const LibUtilities::SessionReaderSharedPtr & | pSession, |
const MultiRegions::ExpListSharedPtr & | pField | ||
) |
Constructor.
Definition at line 68 of file CourtemancheRamirezNattel98.cpp.
References C_m, Ca_o, Cmdn_max, Csqn_max, eAF, eOriginal, F, g_b_Ca, g_b_Na, g_Ca_L, g_K1, g_Kr, g_Ks, g_Kur_scaling, g_Na, g_to, gamma, I_Na_K_max, I_NaCa_max, I_p_Ca_max, JSR_K_rel, JSR_V_cell, JSR_V_rel, JSR_V_up, K_i, K_m_Ca, K_m_Na, K_m_Na_i, K_o, K_Q10, K_sat, Km_Cmdn, Km_Csqn, Km_Trpn, Nektar::CellModel::m_concentrations, Nektar::CellModel::m_gates, Nektar::CellModel::m_nvar, model_variant, Na_o, NSR_I_Ca_max, NSR_I_up_max, NSR_K_up, R, sigma, T, tau_tr, Trpn_max, and V_i.
|
virtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 48 of file CourtemancheRamirezNattel98.h.
|
protectedvirtual |
Prints a summary of the model parameters.
Implements Nektar::CellModel.
Definition at line 573 of file CourtemancheRamirezNattel98.cpp.
References Nektar::SolverUtils::AddSummaryItem(), lookupIds, and model_variant.
|
protectedvirtual |
Reimplemented from Nektar::CellModel.
Definition at line 605 of file CourtemancheRamirezNattel98.cpp.
|
protectedvirtual |
Implements Nektar::CellModel.
Definition at line 580 of file CourtemancheRamirezNattel98.cpp.
References Vmath::Fill(), Nektar::CellModel::m_cellSol, and Nektar::CellModel::m_nq.
|
protectedvirtual |
Computes the reaction terms $f(u,v)$ and $g(u,v)$.
Implements Nektar::CellModel.
Definition at line 166 of file CourtemancheRamirezNattel98.cpp.
References ASSERTL0, C_m, Ca_o, Cmdn_max, Csqn_max, F, g_b_Ca, g_b_Na, g_Ca_L, g_K1, g_Kr, g_Ks, g_Kur_scaling, g_Na, g_to, gamma, I_Na_K_max, I_NaCa_max, I_p_Ca_max, JSR_K_rel, JSR_V_rel, JSR_V_up, K_i, K_m_Ca, K_m_Na, K_m_Na_i, K_o, K_Q10, K_sat, Km_Cmdn, Km_Csqn, Km_Trpn, Nektar::CellModel::m_gates_tau, Nektar::CellModel::m_nq, Na_o, NSR_I_Ca_max, NSR_I_up_max, NSR_K_up, R, Vmath::Sadd(), Vmath::Sdiv(), sigma, Vmath::Smul(), Vmath::Svtsvtp(), Vmath::Svtvm(), Vmath::Svtvp(), T, tau_tr, Trpn_max, V_i, Vmath::Vadd(), Vmath::Vdiv(), Vmath::Vexp(), Vmath::Vlog(), Vmath::Vmul(), Vmath::Vpow(), Vmath::Vsub(), and Vmath::Zero().
|
private |
Definition at line 82 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 103 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
static |
Name of class.
Definition at line 57 of file CourtemancheRamirezNattel98.h.
|
private |
Definition at line 110 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 111 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
staticprivate |
Definition at line 132 of file CourtemancheRamirezNattel98.h.
|
private |
Definition at line 94 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 90 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 89 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 91 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 84 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 86 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 88 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 87 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 83 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 85 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 102 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 100 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 101 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 107 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 117 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 118 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98().
|
private |
Definition at line 119 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 120 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 98 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 105 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 104 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 99 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 96 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 122 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 106 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 112 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 113 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 109 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
staticprivate |
Definition at line 131 of file CourtemancheRamirezNattel98.h.
Referenced by v_GenerateSummary().
|
private |
Definition at line 129 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_GenerateSummary().
|
private |
Definition at line 95 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 115 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 114 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 116 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 92 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 97 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 93 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 121 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 108 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().
|
private |
Definition at line 123 of file CourtemancheRamirezNattel98.h.
Referenced by CourtemancheRamirezNattel98(), and v_Update().