![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <MonodomainPurkinjeCableAssembler.hpp>
Private Member Functions | |
c_matrix< double, PROBLEM_DIM *2, PROBLEM_DIM *2 > | ComputeCableMatrixTerm (c_vector< double, 2 > &rPhi, c_matrix< double, ELEMENT_DIM, 2 > &rGradPhi, ChastePoint< SPACE_DIM > &rX, c_vector< double, PROBLEM_DIM > &rU, c_matrix< double, PROBLEM_DIM, SPACE_DIM > &rGradU, Element< 1, SPACE_DIM > *pElement) |
Static Private Attributes | |
static const unsigned | PROBLEM_DIM =2 |
An assembler for the purkinje part of the left hand side matrix of the monodomain-purkinje linear system. The full LHS matrix will look like (written in block form, although the code uses striping) [ chi C M/dt + K 0 ] [ 0 chi' C' M'/dt + K' ] where the top left block is the standard LHS matrix in a monodomain problem, and the bottom right block is the equivalent from integrals over cable elements.
This class assembles the matrix [ 0 0 ] [ 0 chi' C' M'/dt + K' ] The entries in this right-hand block are only non-zero on Purkinje nodes
Definition at line 59 of file MonodomainPurkinjeCableAssembler.hpp.
|
inline |
Constructor
pMesh | a pointer to a MixedDimensionMesh |
Definition at line 120 of file MonodomainPurkinjeCableAssembler.hpp.
References EXCEPTION, MixedDimensionMesh< ELEMENT_DIM, SPACE_DIM >::GetCableElementIteratorBegin(), and MixedDimensionMesh< ELEMENT_DIM, SPACE_DIM >::GetCableElementIteratorEnd().
|
inlineprivate |
Compute the cable element contribution to the matrix
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 78 of file MonodomainPurkinjeCableAssembler.hpp.
References AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetAttribute(), PdeSimulationTime::GetPdeTimeStepInverse(), HeartConfig::GetPurkinjeCapacitance(), HeartConfig::GetPurkinjeConductivity(), HeartConfig::GetPurkinjeSurfaceAreaToVolumeRatio(), HeartConfig::Instance(), and MonodomainPurkinjeCableAssembler< ELEMENT_DIM, SPACE_DIM >::PROBLEM_DIM.
|
staticprivate |
Myocardium and purkinje potentials exist for each node, so PROBLEM_DIM=2.
Definition at line 65 of file MonodomainPurkinjeCableAssembler.hpp.
Referenced by MonodomainPurkinjeCableAssembler< ELEMENT_DIM, SPACE_DIM >::ComputeCableMatrixTerm().