46 #ifndef _IONICFITZHUGHNAGUMO_H_ 47 #define _IONICFITZHUGHNAGUMO_H_ 49 #include <lifev/electrophysiology/solver/IonicModels/ElectroIonicModel.hpp> 51 #include <lifev/core/array/MatrixSmall.hpp> 52 #include <lifev/core/array/VectorSmall.hpp> 53 #include <lifev/core/array/MatrixEpetra.hpp> 54 #include <lifev/core/array/VectorEpetra.hpp> 56 #include <Teuchos_RCP.hpp> 57 #include <Teuchos_ParameterList.hpp> 58 #include "Teuchos_XMLParameterListHelpers.hpp" 66 typedef ElectroIonicModel
super;
171 void setup ( Teuchos::ParameterList& parameterList );
174 using ElectroIonicModel::computeRhs;
175 void computeGatingRhs (
const std::vector<Real>& v, std::vector<Real>& rhs);
176 void computeRhs (
const std::vector<Real>& v, std::vector<Real>& rhs);
183 matrix_Type
getJac (
const vector_Type& v,
Real h = 1.0e-8);
212 return new IonicFitzHughNagumo();
VectorEpetra - The Epetra Vector format Wrapper.
virtual ~IonicFitzHughNagumo()
Destructor.
void setEta1(const Real &Eta1)
IonicFitzHughNagumo(const IonicFitzHughNagumo &model)
void importFromHDF5(std::string const &fileName, std::string const &matrixName="matrix")
Read a matrix from a HDF5 (.h5) file.
static bool register_IonicFitzHughNagumo
IonicFitzHughNagumo()
Constructor.
ElectroIonicModel * createIonicFitzHughNagumo()
const Real & Eta1() const
void updateInverseJacobian(const UInt &iQuadPt)
const Real & Eta3() const
static const LifeV::UInt elm_nodes_num[]
std::shared_ptr< vector_Type > vectorPtr_Type
const Real & Eta2() const
void computeRhs(const VectorSmall< 2 > &v, VectorSmall< 2 > &rhs)
void showMe()
Display information about the model.
void setEta3(const Real &Eta3)
RegionMesh< LinearTetra > mesh_Type
void computeGatingRhs(const std::vector< Real > &v, std::vector< Real > &rhs)
A new ionic model must have the following methods ///.
void setEta2(const Real &Eta2)
IonicFitzHughNagumo & operator=(const IonicFitzHughNagumo &model)
Operator.
void setVp(const Real &Vp)
double Real
Generic real data.
const Real & Gamma() const
Real computeLocalPotentialRhs(const std::vector< Real > &v)
This methods contains the actual evaluation of the rhs of the voltage equation only (0D version) ...
MatrixEpetra< Real > matrix_Type
Real M_G
Model Parameters.
IonicFitzHughNagumo(Teuchos::ParameterList ¶meterList)
MatrixSmall< 2, 2 > getJac(const VectorSmall< 2 > &v, Real h=1.0e-8)
void setup(Teuchos::ParameterList ¶meterList)
Methods.
void setVth(const Real &Vth)
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...
std::vector< std::vector< Real > > getJac(const std::vector< Real > &v, Real h=1.0e-8)
This methods computes the Jacobian numerically.
matrix_Type getJac(const vector_Type &v, Real h=1.0e-8)
This methods computes the Jacobian numerically.