BidomainAssembler.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
00031 #ifndef BIDOMAINASSEMBLER_HPP_
00032 #define BIDOMAINASSEMBLER_HPP_
00033
00034 #include "AbstractCardiacFeVolumeIntegralAssembler.hpp"
00035 #include "BidomainTissue.hpp"
00036 #include "HeartConfig.hpp"
00037
00062 template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
00063 class BidomainAssembler : public AbstractCardiacFeVolumeIntegralAssembler<ELEMENT_DIM,SPACE_DIM,2,false,true,CARDIAC>
00064 {
00065 protected:
00067 HeartConfig* mpConfig;
00068
00082 virtual c_matrix<double,2*(ELEMENT_DIM+1),2*(ELEMENT_DIM+1)> ComputeMatrixTerm(
00083 c_vector<double, ELEMENT_DIM+1> &rPhi,
00084 c_matrix<double, SPACE_DIM, ELEMENT_DIM+1> &rGradPhi,
00085 ChastePoint<SPACE_DIM> &rX,
00086 c_vector<double,2> &rU,
00087 c_matrix<double, 2, SPACE_DIM> &rGradU ,
00088 Element<ELEMENT_DIM,SPACE_DIM>* pElement);
00089
00090 public:
00091
00099 BidomainAssembler(AbstractTetrahedralMesh<ELEMENT_DIM,SPACE_DIM>* pMesh,
00100 BidomainTissue<SPACE_DIM>* pTissue,
00101 unsigned numQuadPoints = 2);
00102
00106 ~BidomainAssembler()
00107 {
00108 }
00109 };
00110
00111 #endif