BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <BasicBidomainSolver.hpp>

Inheritance diagram for BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >:

Inheritance graph
[legend]
Collaboration diagram for BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BasicBidomainSolver (bool bathSimulation, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, BidomainTissue< SPACE_DIM > *pTissue, BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 2 > *pBcc, unsigned numQuadPoints=2)
virtual ~BasicBidomainSolver ()

Protected Member Functions

void SetupLinearSystem (Vec currentSolution, bool computeMatrix)
virtual void InitialiseAssembler ()


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >

A simple bidomain solver, which uses assembly to set up the right-hand-side (RHS) vector of the linear system to be solved. Much slower than MatrixBasedBidomainSolver, which computes the RHS with a matrix-vector product.

Definition at line 55 of file BasicBidomainSolver.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >::BasicBidomainSolver ( bool  bathSimulation,
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *  pMesh,
BidomainTissue< SPACE_DIM > *  pTissue,
BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 2 > *  pBcc,
unsigned  numQuadPoints = 2 
) [inline]

Constructor

Parameters:
bathSimulation Whether the simulation involves a perfusing bath
pMesh pointer to the mesh
pTissue pointer to the tissue
pBcc pointer to the boundary conditions
numQuadPoints number of quadrature points (defaults to 2)

Definition at line 34 of file BasicBidomainSolver.cpp.

References EXCEPTION, HeartConfig::Instance(), and AbstractCardiacTissue< SPACE_DIM >::SetCacheReplication().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
virtual BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >::~BasicBidomainSolver (  )  [inline, virtual]

Destructor.

Definition at line 96 of file BasicBidomainSolver.hpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >::SetupLinearSystem ( Vec  currentSolution,
bool  computeMatrix 
) [inline, protected, virtual]

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void BasicBidomainSolver< ELEMENT_DIM, SPACE_DIM >::InitialiseAssembler (  )  [inline, protected, virtual]


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

Generated on Mon Apr 18 11:36:20 2011 for Chaste by  doxygen 1.5.5