LifeV
|
IonicSolver - This class implements a ionic model solver. More...
#include <HeartIonicSolver.hpp>
Protected Member Functions | |
UInt | solutionUDimension () const |
Type definitions | |
typedef HeartIonicData | data_Type |
typedef Real(* | function_Type) (const Real &, const Real &, const Real &, const Real &, const ID &) |
typedef std::function< Real(const markerID_Type &ref, const Real &x, const Real &y, const Real &z, const ID &i) > | functorTauClose_Type |
typedef Mesh | mesh_Type |
typedef SolverType::matrix_type | matrix_Type |
typedef SolverType::vector_type | vector_Type |
typedef SolverType::prec_raw_type | precRaw_Type |
typedef SolverType::prec_type | prec_Type |
Constructors & Destructor | |
HeartIonicSolver (const data_Type &dataType, const Mesh &mesh, FESpace< Mesh, MapEpetra > &uFEspace, Epetra_Comm &comm) | |
Constructor. More... | |
virtual | ~HeartIonicSolver () |
Destructor. More... | |
Methods | |
const data_Type & | M_data |
const Mesh & | M_mesh |
FESpace< Mesh, MapEpetra > & | M_uFESpace |
Epetra_Comm * | M_comm |
MPI communicator. More... | |
Int | M_me |
MapEpetra | M_localMap |
Map. More... | |
bool | M_verbose |
Boolean that indicates if output is sent to cout. More... | |
FESpace< Mesh, MapEpetra > & | recoveryFESpace () |
Returns the recovery variable FE space. More... | |
Epetra_Map const & | getRepeatedMapEpetra () const |
Return maps. More... | |
MapEpetra const & | getMap () const |
virtual void | updateRepeated ()=0 |
virtual void | updateElementSolution (UInt eleIDw)=0 |
Update the ionic model elvecs. More... | |
virtual void | solveIonicModel (const vector_Type &u, const Real timeStep)=0 |
Solves the ionic model. More... | |
virtual void | computeIonicCurrent (Real Capacitance, VectorElemental &elvec, VectorElemental &elvec_u, FESpace< Mesh, MapEpetra > &uFESpace)=0 |
Computes the term -1/ u^n (G (1-u^n/vp) (1-u^n/v_th) + eta_1 v^{n+1}) for the PDE righthand side. More... | |
virtual void | initialize ()=0 |
Initialize. More... | |
IonicSolver - This class implements a ionic model solver.
Definition at line 66 of file HeartIonicSolver.hpp.
typedef HeartIonicData data_Type |
Definition at line 73 of file HeartIonicSolver.hpp.
Definition at line 75 of file HeartIonicSolver.hpp.
typedef std::function< Real (const markerID_Type& ref, const Real& x, const Real& y, const Real& z, const ID& i) > functorTauClose_Type |
Definition at line 85 of file HeartIonicSolver.hpp.
typedef Mesh mesh_Type |
Definition at line 87 of file HeartIonicSolver.hpp.
typedef SolverType::matrix_type matrix_Type |
Definition at line 89 of file HeartIonicSolver.hpp.
typedef SolverType::vector_type vector_Type |
Definition at line 90 of file HeartIonicSolver.hpp.
typedef SolverType::prec_raw_type precRaw_Type |
Definition at line 92 of file HeartIonicSolver.hpp.
typedef SolverType::prec_type prec_Type |
Definition at line 93 of file HeartIonicSolver.hpp.
HeartIonicSolver | ( | const data_Type & | dataType, |
const Mesh & | mesh, | ||
FESpace< Mesh, MapEpetra > & | uFEspace, | ||
Epetra_Comm & | comm | ||
) |
Constructor.
dataType | |
mesh | |
recovery | FE space |
Epetra | communicator |
Definition at line 196 of file HeartIonicSolver.hpp.
|
inlinevirtual |
Destructor.
Definition at line 115 of file HeartIonicSolver.hpp.
Returns the recovery variable FE space.
Definition at line 124 of file HeartIonicSolver.hpp.
|
inline |
Return maps.
Definition at line 130 of file HeartIonicSolver.hpp.
|
inline |
Definition at line 135 of file HeartIonicSolver.hpp.
|
pure virtual |
Implemented in LuoRudy< Mesh, SolverType >, RogersMcCulloch< Mesh, SolverType >, and MitchellSchaeffer< Mesh, SolverType >.
|
pure virtual |
Update the ionic model elvecs.
Implemented in LuoRudy< Mesh, SolverType >, RogersMcCulloch< Mesh, SolverType >, and MitchellSchaeffer< Mesh, SolverType >.
|
pure virtual |
Solves the ionic model.
Implemented in LuoRudy< Mesh, SolverType >, RogersMcCulloch< Mesh, SolverType >, and MitchellSchaeffer< Mesh, SolverType >.
|
pure virtual |
Computes the term -1/ u^n (G (1-u^n/vp) (1-u^n/v_th) + eta_1 v^{n+1}) for the PDE righthand side.
Implemented in LuoRudy< Mesh, SolverType >, RogersMcCulloch< Mesh, SolverType >, and MitchellSchaeffer< Mesh, SolverType >.
|
pure virtual |
Initialize.
Implemented in LuoRudy< Mesh, SolverType >, RogersMcCulloch< Mesh, SolverType >, and MitchellSchaeffer< Mesh, SolverType >.
|
inlineprotected |
Definition at line 181 of file HeartIonicSolver.hpp.
const data_Type& M_data |
Definition at line 159 of file HeartIonicSolver.hpp.
const Mesh& M_mesh |
Definition at line 161 of file HeartIonicSolver.hpp.
Definition at line 164 of file HeartIonicSolver.hpp.
Epetra_Comm* M_comm |
MPI communicator.
Definition at line 167 of file HeartIonicSolver.hpp.
Int M_me |
Definition at line 169 of file HeartIonicSolver.hpp.
MapEpetra M_localMap |
Map.
Definition at line 172 of file HeartIonicSolver.hpp.
bool M_verbose |
Boolean that indicates if output is sent to cout.
Definition at line 175 of file HeartIonicSolver.hpp.