33 #include "libmesh/libmesh.h" 34 #include "libmesh/equation_systems.h" 35 #include "libmesh/point.h" 71 virtual void assemble_global_K(
const std::string& system_name,
72 const std::string& option) = 0;
81 virtual void assemble_global_F(
const std::string& system_name,
82 const std::string& option) = 0;
92 virtual void assemble_element_KIJ(
const std::vector<Real>& JxW,
93 const std::vector<std::vector<RealGradient> >& dphi,
94 const unsigned int n_u_dofs,
97 DenseMatrix<Number>& Kij) = 0;
103 virtual void compute_element_rhs(
const Elem* elem,
104 const unsigned int n_u_dofs,
106 const std::vector<std::size_t> n_list,
108 const std::string& option,
110 DenseVector<Number>& Fe) = 0;
116 virtual void apply_bc_by_penalty(
const Elem* elem,
117 const std::string& matrix_or_vector,
118 DenseMatrix<Number>& Ke,
119 DenseVector<Number>& Fe,
120 const std::string& option) = 0;
128 void assemble_int_force(
const Elem* elem,
129 const unsigned int n_u_dofs,
136 virtual void select_boundary_side(
const Elem* elem) = 0;
142 void penalize_elem_matrix_vector(DenseMatrix<Number>& Ke,
143 DenseVector<Number>& Fe,
144 const std::string & matrix_or_vector,
145 const unsigned int& var_number,
146 const unsigned int& local_node_id,
147 const unsigned int& n_nodes_elem,
165 const std::vector<boundary_id_type> _boundary_id_3D = {4,2,1,3,0,5};
166 const std::vector<std::string> _boundary_name_3D = {
"left",
"right",
"bottom",
"top",
"back",
"front"};
std::vector< std::vector< unsigned int > > _boundary_sides
Definition: assemble_system.h:190
MeshBase & _mesh
Definition: assemble_system.h:161
This base class provides the template for assembling the matrix and right-hand-side vector when solvi...
Definition: assemble_system.h:48
std::vector< unsigned int > _n_dofs
Definition: assemble_system.h:179
std::vector< std::vector< dof_id_type > > _dof_indices_u
Definition: assemble_system.h:186
std::vector< unsigned int > _n_p_dofs
Definition: assemble_system.h:181
std::vector< unsigned int > _n_u_dofs
Definition: assemble_system.h:180
Definition: brownian_system.h:58
std::vector< std::vector< dof_id_type > > _dof_indices_p
Definition: assemble_system.h:187
std::vector< std::vector< Real > > _int_force
Definition: assemble_system.h:171
EquationSystems & _eqn_sys
Definition: assemble_system.h:155
unsigned int _dim
Definition: assemble_system.h:158
std::vector< std::vector< dof_id_type > > _dof_indices
Definition: assemble_system.h:185
std::vector< std::vector< Point > > _q_xyz
Definition: assemble_system.h:176
std::vector< unsigned int > _n_uvw_dofs
Definition: assemble_system.h:182