36 #ifndef STIFFNESSMATRIXASSEMBLER_HPP_
37 #define STIFFNESSMATRIXASSEMBLER_HPP_
39 #include "AbstractFeVolumeIntegralAssembler.hpp"
48 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
66 c_matrix<double,1*(ELEMENT_DIM+1),1*(ELEMENT_DIM+1)>
68 c_vector<double, ELEMENT_DIM+1> &rPhi,
69 c_matrix<double, SPACE_DIM, ELEMENT_DIM+1> &rGradPhi,
71 c_vector<double,1> &rU,
72 c_matrix<double, 1, SPACE_DIM> &rGradU ,
75 return prod( trans(rGradPhi), rGradPhi );
StiffnessMatrixAssembler(AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh)
c_matrix< double, 1 *(ELEMENT_DIM+1), 1 *(ELEMENT_DIM+1)> ComputeMatrixTerm(c_vector< double, ELEMENT_DIM+1 > &rPhi, c_matrix< double, SPACE_DIM, ELEMENT_DIM+1 > &rGradPhi, ChastePoint< SPACE_DIM > &rX, c_vector< double, 1 > &rU, c_matrix< double, 1, SPACE_DIM > &rGradU, Element< ELEMENT_DIM, SPACE_DIM > *pElement)