Chaste Release::3.1
AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM > Class Template Reference

#include <AbstractCorrectionTermAssembler.hpp>

Inheritance diagram for AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >:
Collaboration diagram for AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >:

List of all members.

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< doublemStateVariablesAtQuadPoint
std::vector< boolmElementsHasIdenticalCellModels

Detailed Description

template<unsigned ELEM_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
class AbstractCorrectionTermAssembler< ELEM_DIM, SPACE_DIM, PROBLEM_DIM >

A parent class for MonodomainCorrectionTermAssembler and BidomainCorrectionTermAssembler, used for state variable interpolation (SVI).

Definition at line 49 of file AbstractCorrectionTermAssembler.hpp.


Constructor & Destructor Documentation


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
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^.

Parameters:
rElementthe 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().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
void AbstractCorrectionTermAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::IncrementInterpolatedQuantities ( double  phiI,
const Node< SPACE_DIM > *  pNode 
) [protected, virtual]

Interpolates state variables and ionic current.

Parameters:
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().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
void AbstractCorrectionTermAssembler< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ResetInterpolatedQuantities ( void  ) [protected, virtual]

Member Data Documentation

template<unsigned ELEM_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
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().

template<unsigned ELEM_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
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.

template<unsigned ELEM_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
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.


The documentation for this class was generated from the following files: