#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) |
virtual c_vector< double, 2 *(ELEMENT_DIM+1)> | ComputeVectorTerm (c_vector< double, ELEMENT_DIM+1 > &rPhi, c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rGradPhi, ChastePoint< SPACE_DIM > &rX, c_vector< double, 2 > &u, c_matrix< double, 2, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement) |
Definition at line 41 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 90 of file BidomainWithBathAssembler.hpp.
BidomainWithBathAssembler< ELEMENT_DIM, SPACE_DIM >::~BidomainWithBathAssembler | ( | ) | [inline] |
Destructor.
Definition at line 100 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 | |||
) | [inline, 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 34 of file BidomainWithBathAssembler.cpp.
References BidomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeMatrixTerm(), HeartConfig::GetBathConductivity(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetRegion(), HeartConfig::Instance(), and HeartRegionCode::IsRegionBath().
c_vector< double, 2 *(ELEMENT_DIM+1)> BidomainWithBathAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeVectorTerm | ( | c_vector< double, ELEMENT_DIM+1 > & | rPhi, | |
c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > & | rGradPhi, | |||
ChastePoint< SPACE_DIM > & | rX, | |||
c_vector< double, 2 > & | u, | |||
c_matrix< double, 2, SPACE_DIM > & | rGradU, | |||
Element< ELEMENT_DIM, SPACE_DIM > * | pElement | |||
) | [inline, protected, virtual] |
Overloaded ComputeVectorTerm() - calls the base class version for tissue elements, otherwise returns zero.
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 | |
u | 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 82 of file BidomainWithBathAssembler.cpp.
References BidomainAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeVectorTerm(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetRegion(), and HeartRegionCode::IsRegionTissue().