LifeV
Heart Class Reference

#include <heart.hpp>

+ Collaboration diagram for Heart:

Private Attributes

UInt ion_model
 
UInt nbeq
 
std::shared_ptr< HeartFunctorsM_heart_fct
 

Typedefs

typedef HeartMonodomainSolver< RegionMesh< LinearTetra > >::vector_Type vector_Type
 
typedef HeartMonodomainSolver< RegionMesh< LinearTetra > >::matrix_Type matrix_Type
 
typedef std::shared_ptr< vector_TypevectorPtr_Type
 
typedef std::shared_ptr< matrix_TypematrixPtr_Type
 

Constructors, destructor

 Heart (Int argc, char **argv)
 Constructors. More...
 
virtual ~Heart ()
 

Methods

void run ()
 To build the system and iterate. More...
 
void computeRhs (vector_Type &rhs, HeartMonodomainSolver< RegionMesh< LinearTetra > > &electricModel, std::shared_ptr< HeartIonicSolver< RegionMesh< LinearTetra > > > ionicModel, HeartMonodomainData &dataMonodomain)
 To compute the righthand side of the system. More...
 

Detailed Description

3D Action potential propagation class

Definition at line 67 of file heart.hpp.

Member Typedef Documentation

◆ vector_Type

◆ matrix_Type

◆ vectorPtr_Type

typedef std::shared_ptr<vector_Type> vectorPtr_Type

Definition at line 81 of file heart.hpp.

◆ matrixPtr_Type

typedef std::shared_ptr<matrix_Type> matrixPtr_Type

Definition at line 82 of file heart.hpp.

Constructor & Destructor Documentation

◆ Heart()

Heart ( Int  argc,
char **  argv 
)

Constructors.

Pointer to access functors

Definition at line 70 of file heart.cpp.

+ Here is the caller graph for this function:

◆ ~Heart()

virtual ~Heart ( )
inlinevirtual

Definition at line 92 of file heart.hpp.

Member Function Documentation

◆ run()

void run ( )

To build the system and iterate.

Methods.

Construction of data classes

Boundary conditions handler and function

Construction of the partitioned mesh

Initialization of the FE type and quadrature rules for both the variables

Construction of the FE spaces

Building time-independent part of the system

Initialization

Setting generic Exporter postprocessing

Temporal loop

Definition at line 94 of file heart.cpp.

+ Here is the caller graph for this function:

◆ computeRhs()

void computeRhs ( vector_Type rhs,
HeartMonodomainSolver< RegionMesh< LinearTetra > > &  electricModel,
std::shared_ptr< HeartIonicSolver< RegionMesh< LinearTetra > > >  ionicModel,
HeartMonodomainData dataMonodomain 
)

To compute the righthand side of the system.

u, w with repeated map

Filling local elvec_u with potential values in the nodes

Computing the current source of the righthand side, repeated

Assembling the righthand side

Definition at line 426 of file heart.cpp.

Field Documentation

◆ ion_model

UInt ion_model
private

Definition at line 119 of file heart.hpp.

◆ nbeq

UInt nbeq
private

Definition at line 120 of file heart.hpp.

◆ M_heart_fct

std::shared_ptr<HeartFunctors> M_heart_fct
private

Definition at line 121 of file heart.hpp.


The documentation for this class was generated from the following files: