20 #ifndef LIBMESH_DIRICHLET_BOUNDARIES_H 21 #define LIBMESH_DIRICHLET_BOUNDARIES_H 25 #ifdef LIBMESH_ENABLE_DIRICHLET 98 const std::vector<unsigned int> & variables_in,
109 const std::vector<unsigned int> & variables_in,
121 const std::vector<unsigned int> & variables_in,
131 const std::vector<unsigned int> & variables_in,
144 const std::vector<unsigned int> & variables_in,
157 const std::vector<unsigned int> & variables_in,
174 std::set<boundary_id_type>
b;
177 std::unique_ptr<FunctionBase<Number>>
f;
178 std::unique_ptr<FunctionBase<Gradient>>
g;
180 std::unique_ptr<FEMFunctionBase<Number>>
f_fem;
181 std::unique_ptr<FEMFunctionBase<Gradient>>
g_fem;
204 #endif // LIBMESH_ENABLE_DIRICHLET 206 #endif // LIBMESH_DIRICHLET_BOUNDARIES_H std::unique_ptr< FEMFunctionBase< Gradient > > g_fem
std::unique_ptr< FunctionBase< Number > > f
Class for specifying Dirichlet boundary conditions as constraints.
std::vector< unsigned int > variables
std::unique_ptr< FEMFunctionBase< Number > > f_fem
Manages consistently variables, degrees of freedom, and coefficient vectors.
DirichletBoundary(const std::set< boundary_id_type > &b_in, const std::vector< unsigned int > &variables_in, const FunctionBase< Number > *f_in, const FunctionBase< Gradient > *g_in=nullptr)
std::unique_ptr< FunctionBase< Gradient > > g
std::set< boundary_id_type > b
Base class for functors that can be evaluated at a point and (optionally) time.