Chaste Release::3.1
|
#include <AbstractCorrectionTermAssembler.hpp>
Public Member Functions | |
AbstractCorrectionTermAssembler (AbstractTetrahedralMesh< ELEM_DIM, SPACE_DIM > *pMesh, AbstractCardiacTissue< ELEM_DIM, SPACE_DIM > *pTissue, unsigned numQuadPoints=2) | |
Protected Member Functions | |
void | ResetInterpolatedQuantities (void) |
void | IncrementInterpolatedQuantities (double phiI, const Node< SPACE_DIM > *pNode) |
bool | ElementAssemblyCriterion (Element< ELEM_DIM, SPACE_DIM > &rElement) |
Protected Attributes | |
double | mIionicInterp |
std::vector< double > | mStateVariablesAtQuadPoint |
std::vector< bool > | mElementsHasIdenticalCellModels |
A parent class for MonodomainCorrectionTermAssembler and BidomainCorrectionTermAssembler, used for state variable interpolation (SVI).
Definition at line 49 of file AbstractCorrectionTermAssembler.hpp.
AbstractCorrectionTermAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::AbstractCorrectionTermAssembler | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | pMesh, |
AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > * | pTissue, | ||
unsigned | numQuadPoints = 2 |
||
) |
Constructor.
pMesh | pointer to the mesh |
pTissue | pointer to the cardiac tissue |
numQuadPoints | number of quadrature points |
Definition at line 40 of file AbstractCorrectionTermAssembler.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorBegin(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElementIteratorEnd(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetOwnership(), AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::mElementsHasIdenticalCellModels, and AbstractCardiacFeVolumeIntegralAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM, true, false, CARDIAC >::mpCardiacTissue.
bool AbstractCorrectionTermAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ElementAssemblyCriterion | ( | Element< ELEMENT_DIM, SPACE_DIM > & | rElement | ) | [protected, virtual] |
Determine whether to assemble the correction term for this element. Checks if there is a sufficiently steep ionic current gradient to make the expense worthwhile, by checking if the maximum difference between nodal ionic currents is greater than 1 uA/cm^2^.
rElement | the element to test |
Reimplemented from AbstractFeVolumeIntegralAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM, CAN_ASSEMBLE_VECTOR, CAN_ASSEMBLE_MATRIX, INTERPOLATION_LEVEL >.
Definition at line 105 of file AbstractCorrectionTermAssembler.cpp.
References AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), and AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex().
void AbstractCorrectionTermAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::IncrementInterpolatedQuantities | ( | double | phiI, |
const Node< SPACE_DIM > * | pNode | ||
) | [protected, virtual] |
Interpolates state variables and ionic current.
phiI | |
pNode |
Reimplemented from AbstractFeAssemblerCommon< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM, CAN_ASSEMBLE_VECTOR, CAN_ASSEMBLE_MATRIX, INTERPOLATION_LEVEL >.
Definition at line 88 of file AbstractCorrectionTermAssembler.cpp.
References Node< SPACE_DIM >::GetIndex().
void AbstractCorrectionTermAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ResetInterpolatedQuantities | ( | void | ) | [protected, virtual] |
Resets interpolated state variables and ionic current.
Reimplemented from AbstractFeAssemblerCommon< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM, CAN_ASSEMBLE_VECTOR, CAN_ASSEMBLE_MATRIX, INTERPOLATION_LEVEL >.
Definition at line 77 of file AbstractCorrectionTermAssembler.cpp.
std::vector<bool> AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::mElementsHasIdenticalCellModels [protected] |
Vector of bools, one bool per element, saying whether that element has identical cell models at each node. If this is not the case, SVI is certainly not posssible in this element
Definition at line 69 of file AbstractCorrectionTermAssembler.hpp.
Referenced by AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::AbstractCorrectionTermAssembler().
double AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::mIionicInterp [protected] |
Ionic current to be interpolated from cache
Definition at line 54 of file AbstractCorrectionTermAssembler.hpp.
std::vector<double> AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >::mStateVariablesAtQuadPoint [protected] |
State variables interpolated onto quadrature point
Definition at line 57 of file AbstractCorrectionTermAssembler.hpp.