Nektar++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
solvers
CardiacEPSolver
CellModels
CourtemancheRamirezNattel98.h
Go to the documentation of this file.
1
///////////////////////////////////////////////////////////////////////////////
2
//
3
// File CourtemancheRamirezNattel.h
4
//
5
// For more information, please see: http://www.nektar.info
6
//
7
// The MIT License
8
//
9
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
10
// Department of Aeronautics, Imperial College London (UK), and Scientific
11
// Computing and Imaging Institute, University of Utah (USA).
12
//
13
// License for the specific language governing rights and limitations under
14
// Permission is hereby granted, free of charge, to any person obtaining a
15
// copy of this software and associated documentation files (the "Software"),
16
// to deal in the Software without restriction, including without limitation
17
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
18
// and/or sell copies of the Software, and to permit persons to whom the
19
// Software is furnished to do so, subject to the following conditions:
20
//
21
// The above copyright notice and this permission notice shall be included
22
// in all copies or substantial portions of the Software.
23
//
24
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
27
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
30
// DEALINGS IN THE SOFTWARE.
31
//
32
// Description: Courtemanche-Ramirez-Nattel cell model
33
//
34
///////////////////////////////////////////////////////////////////////////////
35
36
#ifndef NEKTAR_SOLVERS_ADRSOLVER_EQUATIONSYSTEMS_COURTEMANCHE_H
37
#define NEKTAR_SOLVERS_ADRSOLVER_EQUATIONSYSTEMS_COURTEMANCHE_H
38
39
#include <
CardiacEPSolver/CellModels/CellModel.h
>
40
41
namespace
Nektar
42
{
43
class
CourtemancheRamirezNattel98
:
public
CellModel
44
{
45
46
public
:
47
/// Creates an instance of this class
48
static
CellModelSharedPtr
create
(
49
const
LibUtilities::SessionReaderSharedPtr
& pSession,
50
const
MultiRegions::ExpListSharedPtr
& pField)
51
{
52
return
MemoryManager<CourtemancheRamirezNattel98>
53
::AllocateSharedPtr
(pSession, pField);
54
}
55
56
/// Name of class
57
static
std::string
className
;
58
59
/// Constructor
60
CourtemancheRamirezNattel98
(
61
const
LibUtilities::SessionReaderSharedPtr
& pSession,
62
const
MultiRegions::ExpListSharedPtr
& pField);
63
64
/// Destructor
65
virtual
~CourtemancheRamirezNattel98
();
66
67
protected
:
68
/// Computes the reaction terms $f(u,v)$ and $g(u,v)$.
69
virtual
void
v_Update
(
70
const
Array<
OneD
,
const
Array<OneD, NekDouble> >&inarray,
71
Array<
OneD
, Array<OneD, NekDouble> >&outarray,
72
const
NekDouble
time);
73
74
/// Prints a summary of the model parameters.
75
virtual
void
v_GenerateSummary
(
SummaryList
& s);
76
77
virtual
void
v_SetInitialConditions
();
78
79
virtual
std::string
v_GetCellVarName
(
unsigned
int
idx);
80
81
private
:
82
NekDouble
C_m
;
83
NekDouble
g_Na
;
84
NekDouble
g_K1
;
85
NekDouble
g_to
;
86
NekDouble
g_Kr
;
87
NekDouble
g_Kur_scaling
;
88
NekDouble
g_Ks
;
89
NekDouble
g_b_Na
;
90
NekDouble
g_b_Ca
;
91
NekDouble
g_Ca_L
;
92
NekDouble
R
;
93
NekDouble
T
;
94
NekDouble
F
;
95
NekDouble
Na_o
;
96
NekDouble
K_o
;
97
NekDouble
sigma
;
98
NekDouble
K_i
;
99
NekDouble
K_m_Na_i
;
100
NekDouble
I_Na_K_max
;
101
NekDouble
I_NaCa_max
;
102
NekDouble
gamma
;
103
NekDouble
Ca_o
;
104
NekDouble
K_m_Na
;
105
NekDouble
K_m_Ca
;
106
NekDouble
K_sat
;
107
NekDouble
I_p_Ca_max
;
108
NekDouble
Trpn_max
;
109
NekDouble
Km_Trpn
;
110
NekDouble
Cmdn_max
;
111
NekDouble
Csqn_max
;
112
NekDouble
Km_Cmdn
;
113
NekDouble
Km_Csqn
;
114
NekDouble
NSR_I_up_max
;
115
NekDouble
NSR_I_Ca_max
;
116
NekDouble
NSR_K_up
;
117
NekDouble
JSR_K_rel
;
118
NekDouble
JSR_V_cell
;
119
NekDouble
JSR_V_rel
;
120
NekDouble
JSR_V_up
;
121
NekDouble
tau_tr
;
122
NekDouble
K_Q10
;
123
NekDouble
V_i
;
124
125
enum
Variants
{
126
eOriginal
,
127
eAF
128
};
129
enum
Variants
model_variant
;
130
131
static
std::string
lookupIds
[];
132
static
std::string
def
;
133
};
134
135
}
136
137
#endif
Generated on Sun Mar 15 2015 00:11:30 for Nektar++ by
1.8.1.2