MonodomainMatrixBasedAssembler< ELEMENT_DIM, SPACE_DIM > Class Template Reference

#include <MonodomainMatrixBasedAssembler.hpp>

Inheritance diagram for MonodomainMatrixBasedAssembler< ELEMENT_DIM, SPACE_DIM >:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MonodomainMatrixBasedAssembler (AbstractMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, MonodomainPde< SPACE_DIM > *pPde, BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 1 > *pBcc, unsigned numQuadPoints=2)
void ConstructVectorForMatrixBasedRhsAssembly (Vec currentSolution)

Protected Attributes

MonodomainRhsMatrixAssembler
< SPACE_DIM > * 
mpMonodomainRhsMatrixAssembler


Detailed Description

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

MonodomainMatrixBasedAssembler

This class makes use of the functionality in its parent, AbstractDynamicAssemblerMixin, for specifying a constant matrix B and time-dependent vector z such that the finite element RHS vector b (in Ax=b) satisfies Bz=b, and therefore b can be constructed very quickly each timestep (compared to looping over elements and assembling it.

For the monodomain problem, B is the mass matrix (see MonodomainRhsMatrixAssembler) and z = CA V^{m}/dt - A I_ionic - Istim where V is the vector of voltages are the last timestep, and I_ionic and I_stim are nodewise vectors of ionic currents and stimulus currents (and C is the capacitance and A surface-area-to-volume ratio).

Definition at line 142 of file MonodomainMatrixBasedAssembler.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
MonodomainMatrixBasedAssembler< ELEMENT_DIM, SPACE_DIM >::MonodomainMatrixBasedAssembler ( AbstractMesh< ELEMENT_DIM, SPACE_DIM > *  pMesh,
MonodomainPde< SPACE_DIM > *  pPde,
BoundaryConditionsContainer< ELEMENT_DIM, SPACE_DIM, 1 > *  pBcc,
unsigned  numQuadPoints = 2 
) [inline]

Constructor calls base constructor and creates and stores rhs-matrix.

Definition at line 117 of file MonodomainMatrixBasedAssembler.cpp.

References DistributedVector::CreateVec(), MonodomainRhsMatrixAssembler< DIM >::GetMatrix(), and AbstractCardiacPde< SPACE_DIM >::SetCacheReplication().


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
void MonodomainMatrixBasedAssembler< ELEMENT_DIM, SPACE_DIM >::ConstructVectorForMatrixBasedRhsAssembly ( Vec  currentSolution  )  [inline]


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

Generated on Wed Mar 18 12:52:41 2009 for Chaste by  doxygen 1.5.5