53 c_vector<double, ELEM_DIM+1> &rPhi,
54 c_matrix<double, SPACE_DIM, ELEM_DIM+1> &rGradPhi ,
56 c_vector<double,2> &rU,
57 c_matrix<double, 2, SPACE_DIM> &rGradU ,
60 double Am = mpConfig->GetSurfaceAreaToVolumeRatio();
67 double ionic_sv_interp = p_any_cell->
GetIIonic(&(this->mStateVariablesAtQuadPoint));
69 c_vector<
double,2*(ELEM_DIM+1)> ret;
71 ublas::vector_slice<c_vector<
double, 2*(ELEM_DIM+1)> > slice_V (ret, slice (0, 2, ELEM_DIM+1));
72 ublas::vector_slice<c_vector<
double, 2*(ELEM_DIM+1)> > slice_Phi(ret, slice (1, 2, ELEM_DIM+1));
77 noalias(slice_V) = rPhi * (-Am) * ( ionic_sv_interp - this->mIionicInterp );
79 noalias(slice_Phi) = zero_vector<double>(ELEM_DIM+1);
BidomainCorrectionTermAssembler(AbstractTetrahedralMesh< ELEM_DIM, SPACE_DIM > *pMesh, BidomainTissue< SPACE_DIM > *pTissue)