37 #include <lifev/electrophysiology/solver/IonicModels/IonicMitchellSchaeffer.hpp> 53 M_restingConditions.at (0) = 0.0;
54 M_restingConditions.at (1) = 1.0;
60 M_vGate = parameterList.get (
"vGate", 0.13);
61 M_tauClose = parameterList.get (
"tauClose", 150.0);
62 M_tauOpen = parameterList.get (
"tauOpen", 120.0);
63 M_tauIn = parameterList.get (
"tauIn", 0.3);
64 M_tauOut = parameterList.get (
"tauOut", 6.0);
66 M_restingConditions.at (0) = 0.0;
67 M_restingConditions.at (1) = 1.0;
78 M_numberOfEquations = model.M_numberOfEquations;
79 M_restingConditions = model.M_restingConditions;
93 M_numberOfEquations = model.M_numberOfEquations;
94 M_restingConditions = model.M_restingConditions;
105 std::vector<Real>& rhs )
108 rhs[0] = computeLocalGatingRhs ( v );
114 std::vector<Real>& rhs )
116 rhs[0] = computeLocalPotentialRhs ( v );
117 rhs[1] = computeLocalGatingRhs ( v );
124 return ( - ( v[1] / M_tauIn ) * v[0] * v[0] * ( v[0] - 1 ) - v[0] / M_tauOut );
131 return ( ( 1 - v[1] ) / M_tauOpen );
135 return ( - v[1] / M_tauClose );
141 std::cout <<
"\n\n\t\tIonicMitchellSchaeffer Informations\n\n";
142 std::cout <<
"number of unkowns: " <<
this->Size() << std::endl;
144 std::cout <<
"\n\t\tList of model parameters:\n\n";
145 std::cout <<
"vGate: " <<
this->vGate() << std::endl;
146 std::cout <<
"tauClose: " <<
this->tauClose() << std::endl;
147 std::cout <<
"tauOpen: " <<
this->tauOpen() << std::endl;
148 std::cout <<
"tauIn: " <<
this->tauIn() << std::endl;
149 std::cout <<
"tauOut: " <<
this->tauOut() << std::endl;
151 std::cout <<
"\n\t\t End of IonicMitchellSchaeffer Informations\n\n\n";
Real M_vGate
Model Parameters.
IonicMitchellSchaeffer & operator=(const IonicMitchellSchaeffer &model)
Operator.
void showMe()
Display information about the model.
void updateInverseJacobian(const UInt &iQuadPt)
IonicMitchellSchaeffer(const IonicMitchellSchaeffer &model)
double Real
Generic real data.
void computeGatingRhs(const std::vector< Real > &v, std::vector< Real > &rhs)
Methods.
IonicMitchellSchaeffer()
Constructor.
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...
Real computeLocalGatingRhs(const std::vector< Real > &v)
IonicMitchellSchaeffer(Teuchos::ParameterList ¶meterList)
Real computeLocalPotentialRhs(const std::vector< Real > &v)
This methods contains the actual evaluation of the rhs of the voltage equation only (0D version) ...
IonicModel - This class implements an ionic model.