AbstractCorrectionTermAssembler.hpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef ABSTRACTCORRECTIONTERMASSEMBLER_HPP_
00031 #define ABSTRACTCORRECTIONTERMASSEMBLER_HPP_
00032
00033
00034 #include "AbstractCardiacFeVolumeIntegralAssembler.hpp"
00035 #include "AbstractCardiacTissue.hpp"
00036
00040 template<unsigned ELEM_DIM,unsigned SPACE_DIM,unsigned PROBLEM_DIM>
00041 class AbstractCorrectionTermAssembler
00042 : public AbstractCardiacFeVolumeIntegralAssembler<ELEM_DIM,SPACE_DIM,PROBLEM_DIM,true,false,CARDIAC>
00043 {
00044 protected:
00046 double mIionicInterp;
00047
00049 std::vector<double> mStateVariablesAtQuadPoint;
00050
00054 void ResetInterpolatedQuantities( void );
00055
00061 std::vector<bool> mElementsHasIdenticalCellModels;
00062
00069 void IncrementInterpolatedQuantities(double phiI, const Node<SPACE_DIM>* pNode);
00070
00071
00079 bool ElementAssemblyCriterion(Element<ELEM_DIM,SPACE_DIM>& rElement);
00080
00081 public:
00082
00090 AbstractCorrectionTermAssembler(AbstractTetrahedralMesh<ELEM_DIM,SPACE_DIM>* pMesh,
00091 AbstractCardiacTissue<ELEM_DIM,SPACE_DIM>* pTissue,
00092 unsigned numQuadPoints = 2);
00093 };
00094
00095
00096
00097 #endif