42 #include <lifev/electrophysiology/solver/IonicModels/IonicGoldbeter.hpp> 45 #include <Teuchos_RCP.hpp> 46 #include <Teuchos_ParameterList.hpp> 47 #include "Teuchos_XMLParameterListHelpers.hpp" 67 M_restingConditions.at (0) = 0.1;
68 M_restingConditions.at (1) = 1.6;
74 M_nu1 = parameterList.get (
"nu1", 1.58);
75 M_nu2 = parameterList.get (
"nu2", 16.0);
76 M_nu3 = parameterList.get (
"nu3", 1.58);
77 M_nu4 = parameterList.get (
"nu4", 16.0);
78 M_nu5 = parameterList.get (
"nu5", 1.58);
79 M_k1 = parameterList.get (
"k1", 0.0);
80 M_k2 = parameterList.get (
"k2", 1.0);
81 M_k3 = parameterList.get (
"k3", 4.0);
82 M_k4 = parameterList.get (
"k4", 0.7481);
99 M_numberOfEquations = model.M_numberOfEquations;
100 M_restingConditions = model.M_restingConditions;
118 M_numberOfEquations = model.M_numberOfEquations;
119 M_restingConditions = model.M_restingConditions;
130 std::vector<Real>& rhs )
133 Real dr = M_nu2 * std::pow ( v[0], 2.0) / (M_k2 + std::pow (v[0], 2.0) ) - M_nu3 * std::pow (v[0], 4.0) * std::pow (v[1], 2.0) /
134 ( (M_k3 + std::pow (v[1], 2.0) ) * (M_k4 + std::pow (v[0], 4.0) ) ) - M_nu5 * v[1];
142 std::vector<Real>& rhs )
145 Real dr = M_nu2 * std::pow (v[0], 2.0) / (M_k2 + std::pow (v[0], 2.0) ) - M_nu3 * std::pow (v[0], 4.0) * std::pow (v[1], 2.0) /
146 ( (M_k3 + std::pow (v[1], 2.0) ) * (M_k4 + std::pow (v[0], 4.0) ) ) - M_nu5 * v[1];
147 Real dV = M_nu1 - M_nu2 * std::pow (v[0], 2.0) / (M_k2 + std::pow (v[0], 2.0) ) + M_nu3 * std::pow (v[0], 4.0) * std::pow (v[1], 2.0) /
148 ( (M_k3 + std::pow (v[1], 2.0) ) * (M_k4 + std::pow (v[0], 4.0) ) ) - M_nu4 * v[0];
158 return (M_nu1 - M_nu2 * std::pow (v[0], 2.0) / (M_k2 + std::pow (v[0], 2.0) ) + M_nu3 * std::pow (v[0], 4.0) * std::pow (v[1], 2.0) /
159 ( (M_k3 + std::pow (v[1], 2.0) ) * (M_k4 + std::pow (v[0], 4.0) ) ) - M_nu4 * v[0] );
167 std::cout <<
"\n\n\t\tIntracellularCalciumGoldbeter Informations\n\n";
168 std::cout <<
"number of unkowns: " <<
this->Size() << std::endl;
170 std::cout <<
"\n\t\tList of model parameters:\n\n";
171 std::cout <<
"nu1: " <<
this->Nu1() << std::endl;
172 std::cout <<
"nu2: " <<
this->Nu2() << std::endl;
173 std::cout <<
"nu3: " <<
this->Nu3() << std::endl;
174 std::cout <<
"nu4: " <<
this->Nu4() << std::endl;
175 std::cout <<
"nu5: " <<
this->Nu5() << std::endl;
178 std::cout <<
"k1: " <<
this->K1() << std::endl;
179 std::cout <<
"k2: " <<
this->K2() << std::endl;
180 std::cout <<
"k3: " <<
this->K3() << std::endl;
181 std::cout <<
"k4: " <<
this->K4() << std::endl;
183 std::cout <<
"\n\t\t End of IntracellularCalciumGoldbeter Informations\n\n\n";
IonicGoldbeter()
Constructor.
IonicGoldbeter(Teuchos::ParameterList ¶meterList)
IonicGoldbeter(const IonicGoldbeter &model)
void computeRhs(const std::vector< Real > &v, std::vector< Real > &rhs)
This methods contains the actual evaluation of the rhs of all state variablesin the model (0D version...
void updateInverseJacobian(const UInt &iQuadPt)
void computeGatingRhs(const std::vector< Real > &v, std::vector< Real > &rhs)
Methods.
Real computeLocalPotentialRhs(const std::vector< Real > &v)
This methods contains the actual evaluation of the rhs of the voltage equation only (0D version) ...
IonicGoldbeter & operator=(const IonicGoldbeter &model)
Operator.
double Real
Generic real data.
Real M_nu1
Model Parameters.
void showMe()
Display information about the model.