Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <MonodomainPurkinjeCableMassMatrixAssembler.hpp>
Private Attributes | |
bool | mUseMassLumping |
Static Private Attributes | |
static const unsigned | CABLE_ELEMENT_DIM = 1 |
static const unsigned | NUM_CABLE_ELEMENT_NODES = 2 |
Simple implementation of AbstractFeCableIntegralAssembler which provides the cable part of the Monodomain mass matrix for a given MixedDimesionMesh, multiplied by a scale factor if required. In other words, the matrix If N is the space dimension, we compute the Matrix M (2N,2N) where
M_{ij} = k integral_{domain} phi_i(x) phi_j(x) dV, if i>=N and j>=N, and {domain} is a cable element.
where phi_i is the i-th (linear) basis function and k the scale factor (constant throughout the mesh).
M_{i,j}= 0, if i<N or j<N;
Definition at line 56 of file MonodomainPurkinjeCableMassMatrixAssembler.hpp.
|
inline |
Constructor.
pMesh | the mesh |
useMassLumping | whether to use mass matrix lumping or not |
Definition at line 124 of file MonodomainPurkinjeCableMassMatrixAssembler.hpp.
|
inline |
Implemented ComputeMatrixTerm(), defined in AbstractFeCableIntegralAssembler. See documentation in that class.
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. |
Definition at line 82 of file MonodomainPurkinjeCableMassMatrixAssembler.hpp.
References AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetAttribute(), MonodomainPurkinjeCableMassMatrixAssembler< ELEMENT_DIM, SPACE_DIM >::mUseMassLumping, and NEVER_REACHED.
|
staticprivate |
Cable element dimension.
Definition at line 60 of file MonodomainPurkinjeCableMassMatrixAssembler.hpp.
|
private |
Whether to use mass lumping or not.
Definition at line 66 of file MonodomainPurkinjeCableMassMatrixAssembler.hpp.
Referenced by MonodomainPurkinjeCableMassMatrixAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeCableMatrixTerm().
|
staticprivate |
Number of nodes in a cable element.
Definition at line 63 of file MonodomainPurkinjeCableMassMatrixAssembler.hpp.