12 #ifndef COMMON_LIBMESH_CODE_WEAK_FORMULATIONS_H_
13 #define COMMON_LIBMESH_CODE_WEAK_FORMULATIONS_H_
22 void Mass( libMesh::DenseMatrix<libMesh::Number>&
Mass,
24 const std::vector<std::vector<libMesh::Real> >& phi,
25 const unsigned int n_dofs,
26 const std::vector<libMesh::Real>& JxW,
27 const libMesh::Number cte = 1
39 void L2_Coupling( libMesh::DenseMatrix<libMesh::Number>& Coupl,
41 const std::vector<std::vector<libMesh::Real> >& phi_sysA,
42 const std::vector<std::vector<libMesh::Real> >& phi_sysB,
43 const unsigned int n_dofs_sysA,
44 const unsigned int n_dofs_sysB,
45 const std::vector<libMesh::Real>& JxW,
46 const libMesh::Number cte
49 void L2_Coupling( libMesh::DenseSubMatrix<libMesh::Number>& Coupl,
51 const std::vector<std::vector<libMesh::Real> >& phi_sysA,
52 const std::vector<std::vector<libMesh::Real> >& phi_sysB,
53 const unsigned int n_dofs_sysA,
54 const unsigned int n_dofs_sysB,
55 const std::vector<libMesh::Real>& JxW,
56 const libMesh::Number cte
63 unsigned int n_components_A,
64 unsigned int n_components_B,
65 const std::vector<std::vector<libMesh::RealGradient> >& dphi_sysA,
66 const std::vector<std::vector<libMesh::RealGradient> >& dphi_sysB,
67 const unsigned int n_dofs_sysA,
68 const unsigned int n_dofs_sysB,
69 const std::vector<libMesh::Real>& JxW,
70 const libMesh::Number cte