Chaste Release::3.1
|
#include <BidomainWithBathAssembler.hpp>
Public Member Functions | |
BidomainWithBathAssembler (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, BidomainTissue< SPACE_DIM > *pTissue, unsigned numQuadPoints=2) | |
~BidomainWithBathAssembler () | |
Protected Member Functions | |
virtual c_matrix< double, 2 *(ELEMENT_DIM+1), 2 *(ELEMENT_DIM+1)> | ComputeMatrixTerm (c_vector< double, ELEMENT_DIM+1 > &rPhi, c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rGradPhi, ChastePoint< SPACE_DIM > &rX, c_vector< double, 2 > &rU, c_matrix< double, 2, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement) |
Assembler for assembling the LHS matrix system solved in bidomain problems with a perfusing bath. See FEM implementations document for the exact definition of this.
Definition at line 50 of file BidomainWithBathAssembler.hpp.
BidomainWithBathAssembler< ELEMENT_DIM, SPACE_DIM >::BidomainWithBathAssembler | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | pMesh, |
BidomainTissue< SPACE_DIM > * | pTissue, | ||
unsigned | numQuadPoints = 2 |
||
) | [inline] |
Constructor.
pMesh | pointer to the mesh |
pTissue | pointer to the tissue |
numQuadPoints | number of quadrature points (defaults to 2) |
Definition at line 80 of file BidomainWithBathAssembler.hpp.
BidomainWithBathAssembler< ELEMENT_DIM, SPACE_DIM >::~BidomainWithBathAssembler | ( | ) | [inline] |
Destructor.
Definition at line 90 of file BidomainWithBathAssembler.hpp.
c_matrix< double, 2 *(ELEMENT_DIM+1), 2 *(ELEMENT_DIM+1)> BidomainWithBathAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeMatrixTerm | ( | c_vector< double, ELEMENT_DIM+1 > & | rPhi, |
c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > & | rGradPhi, | ||
ChastePoint< SPACE_DIM > & | rX, | ||
c_vector< double, 2 > & | rU, | ||
c_matrix< double, 2, SPACE_DIM > & | rGradU, | ||
Element< ELEMENT_DIM, SPACE_DIM > * | pElement | ||
) | [protected, virtual] |
Overloaded ComputeMatrixTerm() - calls the base class version for tissue elements.
rPhi | The basis functions, rPhi(i) = phi_i, i=1..numBases |
rGradPhi | Basis gradients, rGradPhi(i,j) = d(phi_j)/d(X_i) |
rX | The point in space |
rU | The unknown as a vector, u(i) = u_i |
rGradU | The gradient of the unknown as a matrix, rGradU(i,j) = d(u_i)/d(X_j) |
pElement | Pointer to the element |
Reimplemented from BidomainAssembler< ELEMENT_DIM, SPACE_DIM >.
Definition at line 41 of file BidomainWithBathAssembler.cpp.
References BidomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeMatrixTerm(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetAttribute(), HeartConfig::GetBathConductivity(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetUnsignedAttribute(), HeartConfig::Instance(), and HeartRegionCode::IsRegionBath().