#include <BasicMonodomainSolver.hpp>


Public Member Functions | |
| BasicMonodomainSolver (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, MonodomainTissue< ELEMENT_DIM, SPACE_DIM > *pTissue, BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 1 > *pBoundaryConditions, unsigned numQuadPoints=2) | |
| virtual | ~BasicMonodomainSolver () |
Protected Member Functions | |
| void | SetupLinearSystem (Vec currentSolution, bool computeMatrix) |
Definition at line 43 of file BasicMonodomainSolver.hpp.
| BasicMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::BasicMonodomainSolver | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | pMesh, | |
| MonodomainTissue< ELEMENT_DIM, SPACE_DIM > * | pTissue, | |||
| BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 1 > * | pBoundaryConditions, | |||
| unsigned | numQuadPoints = 2 | |||
| ) | [inline] |
Constructor
| pMesh | pointer to the mesh | |
| pTissue | pointer to the tissue | |
| pBoundaryConditions | pointer to the boundary conditions | |
| numQuadPoints | number of quadrature points (defaults to 2) |
Definition at line 70 of file BasicMonodomainSolver.cpp.
References EXCEPTION, HeartConfig::Instance(), and AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM >::SetCacheReplication().
| virtual BasicMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::~BasicMonodomainSolver | ( | ) | [inline, virtual] |
Destructor
Definition at line 77 of file BasicMonodomainSolver.hpp.
| void BasicMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::SetupLinearSystem | ( | Vec | currentSolution, | |
| bool | computeMatrix | |||
| ) | [inline, protected, virtual] |
Implemented SetupLinearSystem() method, which uses the MonodomainAssembler to assemble the LHS matrix if required, and uses the MonodomainAssembler to *assemble* the RHS vector. Much slower than doing matrix-based RHS setup, which is done in MatrixBasedMonodomainSolver
| currentSolution | Solution at current time | |
| computeMatrix | Whether to compute the matrix of the linear system |
Implements AbstractLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >.
Definition at line 34 of file BasicMonodomainSolver.cpp.
References LinearSystem::AssembleFinalLhsMatrix(), LinearSystem::AssembleRhsVector(), AbstractMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::mNumQuadPoints, AbstractMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::mpBoundaryConditions, AbstractLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::mpLinearSystem, AbstractLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::mpMesh, AbstractMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::mpMonodomainAssembler, AbstractMonodomainSolver< ELEMENT_DIM, SPACE_DIM >::mpMonodomainTissue, LinearSystem::rGetLhsMatrix(), and LinearSystem::rGetRhsVector().
1.5.5