BidomainRhsMatrixAssembler< DIM > Class Template Reference

#include <BidomainMatrixBasedAssembler.hpp>

Inheritance diagram for BidomainRhsMatrixAssembler< DIM >:

Inheritance graph
[legend]
Collaboration diagram for BidomainRhsMatrixAssembler< DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual c_matrix< double,
2 *(DIM+1), 2 *(DIM+1)> 
ComputeMatrixTerm (c_vector< double, DIM+1 > &rPhi, c_matrix< double, DIM, DIM+1 > &rGradPhi, ChastePoint< DIM > &rX, c_vector< double, 2 > &u, c_matrix< double, 2, DIM > &rGradU, Element< DIM, DIM > *pElement)
virtual c_vector< double,
2 *(DIM+1)> 
ComputeVectorTerm (c_vector< double, DIM+1 > &rPhi, c_matrix< double, DIM, DIM+1 > &rGradPhi, ChastePoint< DIM > &rX, c_vector< double, 2 > &u, c_matrix< double, 2, DIM > &rGradU, Element< DIM, DIM > *pElement)
virtual c_vector< double, 2 *DIM > ComputeVectorSurfaceTerm (const BoundaryElement< DIM-1, DIM > &rSurfaceElement, c_vector< double, DIM > &rPhi, ChastePoint< DIM > &rX)
 BidomainRhsMatrixAssembler (AbstractMesh< DIM, DIM > *pMesh)
Mat * GetMatrix ()

Static Public Attributes

static const unsigned E_DIM = DIM
static const unsigned S_DIM = DIM
static const unsigned P_DIM = 2u


Detailed Description

template<unsigned DIM>
class BidomainRhsMatrixAssembler< DIM >

BidomainRhsMatrixAssembler

This class only exists to construct a matrix, the matrix which is used to assemble the RHS in monodomain problems. Therefore, although it inherits from the assembler hierachy, it is not an assembler for any particular PDE problem, it is just used to assemble one matrix. Therefore only ConstructMatrixTerm is properly implemented.

The matrix that is constructed is in fact the mass matrix for a 2-unknown problem. ie ***IF*** the unknowns were ordered [V1 V2 .. V_N phi_e1 ... phi_eN ], the matrix would be [M 0] [0 M] where M_ij = integral phi_i phi_j dV, where phi_k is the k-th basis function

Definition at line 55 of file BidomainMatrixBasedAssembler.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
BidomainRhsMatrixAssembler< DIM >::BidomainRhsMatrixAssembler ( AbstractMesh< DIM, DIM > *  pMesh  )  [inline]


Member Function Documentation

template<unsigned DIM>
c_matrix< double, 2 *(DIM+1), 2 *(DIM+1)> BidomainRhsMatrixAssembler< DIM >::ComputeMatrixTerm ( c_vector< double, DIM+1 > &  rPhi,
c_matrix< double, DIM, DIM+1 > &  rGradPhi,
ChastePoint< DIM > &  rX,
c_vector< double, 2 > &  u,
c_matrix< double, 2, DIM > &  rGradU,
Element< DIM, DIM > *  pElement 
) [inline, virtual]

Integrand in matrix definition integral (see class documentation)

Definition at line 42 of file BidomainMatrixBasedAssembler.cpp.

template<unsigned DIM>
c_vector< double, 2 *(DIM+1)> BidomainRhsMatrixAssembler< DIM >::ComputeVectorTerm ( c_vector< double, DIM+1 > &  rPhi,
c_matrix< double, DIM, DIM+1 > &  rGradPhi,
ChastePoint< DIM > &  rX,
c_vector< double, 2 > &  u,
c_matrix< double, 2, DIM > &  rGradU,
Element< DIM, DIM > *  pElement 
) [inline, virtual]

The term to be added to the element stiffness vector - except this class is only used for constructing a matrix so this is never called.

Definition at line 72 of file BidomainMatrixBasedAssembler.cpp.

template<unsigned DIM>
c_vector< double, 2 *DIM > BidomainRhsMatrixAssembler< DIM >::ComputeVectorSurfaceTerm ( const BoundaryElement< DIM-1, DIM > &  rSurfaceElement,
c_vector< double, DIM > &  rPhi,
ChastePoint< DIM > &  rX 
) [inline, virtual]

The term arising from boundary conditions to be added to the element stiffness vector - except this class is only used fpr constructing a matrix so this is never called.

Definition at line 89 of file BidomainMatrixBasedAssembler.cpp.

template<unsigned DIM>
Mat * BidomainRhsMatrixAssembler< DIM >::GetMatrix (  )  [inline]


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

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