|
c_matrix< double,
1 *(ELEMENT_DIM+1),
1 *(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, 1 > &rU, c_matrix< double, 1, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement) |
| |
| | MonodomainStiffnessMatrixAssembler (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > *pTissue) |
| |
| | AbstractCardiacFeVolumeIntegralAssembler (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh, AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > *pTissue) |
| |
| | AbstractFeVolumeIntegralAssembler (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh) |
| |
| virtual | ~AbstractFeVolumeIntegralAssembler () |
| |
| | AbstractFeAssemblerCommon () |
| |
| void | SetCurrentSolution (Vec currentSolution) |
| |
| virtual | ~AbstractFeAssemblerCommon () |
| |
| | AbstractFeAssemblerInterface () |
| |
| void | SetMatrixToAssemble (Mat &rMatToAssemble, bool zeroMatrixBeforeAssembly=true) |
| |
| void | SetVectorToAssemble (Vec &rVecToAssemble, bool zeroVectorBeforeAssembly) |
| |
| void | Assemble () |
| |
| void | AssembleMatrix () |
| |
| void | AssembleVector () |
| |
| virtual | ~AbstractFeAssemblerInterface () |
| |
|
typedef LinearBasisFunction
< ELEMENT_DIM > | BasisFunction |
| |
| void | ComputeTransformedBasisFunctionDerivatives (const ChastePoint< ELEMENT_DIM > &rPoint, const c_matrix< double, ELEMENT_DIM, SPACE_DIM > &rInverseJacobian, c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rReturnValue) |
| |
| void | DoAssemble () |
| |
virtual c_matrix< double,
PROBLEM_DIM *(ELEMENT_DIM+1),
PROBLEM_DIM *(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, PROBLEM_DIM > &rU, c_matrix< double, PROBLEM_DIM, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement) |
| |
virtual c_vector< double,
PROBLEM_DIM *(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, PROBLEM_DIM > &rU, c_matrix< double, PROBLEM_DIM, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement) |
| |
| virtual void | AssembleOnElement (Element< ELEMENT_DIM, SPACE_DIM > &rElement, c_matrix< double, PROBLEM_DIM *(ELEMENT_DIM+1), PROBLEM_DIM *(ELEMENT_DIM+1) > &rAElem, c_vector< double, PROBLEM_DIM *(ELEMENT_DIM+1)> &rBElem) |
| |
| virtual bool | ElementAssemblyCriterion (Element< ELEMENT_DIM, SPACE_DIM > &rElement) |
| |
| virtual double | GetCurrentSolutionOrGuessValue (unsigned nodeIndex, unsigned indexOfUnknown) |
| |
| virtual void | ResetInterpolatedQuantities () |
| |
| virtual void | IncrementInterpolatedQuantities (double phiI, const Node< SPACE_DIM > *pNode) |
| |
| virtual void | IncrementInterpolatedGradientQuantities (const c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rGradPhi, unsigned phiIndex, const Node< SPACE_DIM > *pNode) |
| |
AbstractCardiacTissue
< ELEMENT_DIM, SPACE_DIM > * | mpCardiacTissue |
| |
| HeartConfig * | mpConfig |
| |
AbstractTetrahedralMesh
< ELEMENT_DIM, SPACE_DIM > * | mpMesh |
| |
GaussianQuadratureRule
< ELEMENT_DIM > * | mpQuadRule |
| |
| ReplicatableVector | mCurrentSolutionOrGuessReplicated |
| |
| Vec | mVectorToAssemble |
| |
| Mat | mMatrixToAssemble |
| |
| bool | mAssembleMatrix |
| |
| bool | mAssembleVector |
| |
| bool | mZeroMatrixBeforeAssembly |
| |
| bool | mZeroVectorBeforeAssembly |
| |
| PetscInt | mOwnershipRangeLo |
| |
| PetscInt | mOwnershipRangeHi |
| |
template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class MonodomainStiffnessMatrixAssembler< ELEMENT_DIM, SPACE_DIM >
Implementation of AbstractFeVolumeIntegralAssembler which provides stiffness matrices required in monodomain problems:
K_{ij} = integral_{domain} grad_phi_i(x)^T (sigma * grad_phi_j(x)) dV
where phi_i is the i-th (linear) basis function
Definition at line 53 of file MonodomainStiffnessMatrixAssembler.hpp.
template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
| c_matrix<double,1*(ELEMENT_DIM+1),1*(ELEMENT_DIM+1)> MonodomainStiffnessMatrixAssembler< 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, 1 > & |
rU, |
|
|
c_matrix< double, 1, SPACE_DIM > & |
rGradU, |
|
|
Element< ELEMENT_DIM, SPACE_DIM > * |
pElement |
|
) |
| |
|
inline |
Implemented ComputeMatrixTerm(), defined in AbstractFeVolumeIntegralAssembler. See documentation in that class.
- Parameters
-
| 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. |
- Returns
- stencil matrix
Definition at line 69 of file MonodomainStiffnessMatrixAssembler.hpp.
References AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), and AbstractCardiacFeVolumeIntegralAssembler< ELEMENT_DIM, SPACE_DIM, 1, false, true, NORMAL >::mpCardiacTissue.