36 #include "AbstractCorrectionTermAssembler.hpp" 39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM,
unsigned PROBLEM_DIM>
54 unsigned element_index = r_element.
GetIndex();
64 const std::type_info& r_zero_info =
typeid(*p_cell_zero);
66 for (
unsigned local_index=1; local_index<r_element.
GetNumNodes(); local_index++)
70 const std::type_info& r_info =
typeid(*p_cell);
71 if (r_zero_info != r_info)
82 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM,
unsigned PROBLEM_DIM>
93 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM,
unsigned PROBLEM_DIM>
98 unsigned node_global_index = pNode->
GetIndex();
101 std::vector<double> state_vars = this->
mpCardiacTissue->GetCardiacCellOrHaloCell(node_global_index)->GetStdVecStateVariables();
108 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM,
unsigned PROBLEM_DIM>
116 double DELTA_IIONIC = 1;
137 bool will_assemble = (diionic > DELTA_IIONIC);
145 return will_assemble;
ElementIterator GetElementIteratorBegin(bool skipDeletedElements=true)
AbstractCorrectionTermAssembler(AbstractTetrahedralMesh< ELEM_DIM, SPACE_DIM > *pMesh, AbstractCardiacTissue< ELEM_DIM, SPACE_DIM > *pTissue)
static bool IsRegionBath(HeartRegionType regionId)
unsigned GetNodeGlobalIndex(unsigned localIndex) const
ElementIterator GetElementIteratorEnd()
virtual unsigned GetNumElements() const
AbstractCardiacTissue< ELEMENT_DIM, SPACE_DIM > * mpCardiacTissue
void IncrementInterpolatedQuantities(double phiI, const Node< SPACE_DIM > *pNode)
std::vector< double > mStateVariablesAtQuadPoint
bool GetOwnership() const
void ResetInterpolatedQuantities(void)
bool ElementAssemblyCriterion(Element< ELEM_DIM, SPACE_DIM > &rElement)
unsigned GetNumNodes() const
std::vector< bool > mElementsCanDoSvi
unsigned GetUnsignedAttribute()
unsigned GetIndex() const
unsigned GetIndex() const