20 #ifndef LIBMESH_DIRICHLET_BOUNDARIES_H 21 #define LIBMESH_DIRICHLET_BOUNDARIES_H 23 #include "libmesh/libmesh_config.h" 25 #ifdef LIBMESH_ENABLE_DIRICHLET 28 #include "libmesh/id_types.h" 29 #include "libmesh/vector_value.h" 97 std::vector<unsigned int> variables_in,
108 std::vector<unsigned int> variables_in,
120 std::vector<unsigned int> variables_in,
130 std::vector<unsigned int> variables_in,
143 std::vector<unsigned int> variables_in,
156 std::vector<unsigned int> variables_in,
180 std::set<boundary_id_type>
b;
183 std::unique_ptr<FunctionBase<Number>>
f;
184 std::unique_ptr<FunctionBase<Gradient>>
g;
186 std::unique_ptr<FEMFunctionBase<Number>>
f_fem;
187 std::unique_ptr<FEMFunctionBase<Gradient>>
g_fem;
223 #endif // LIBMESH_ENABLE_DIRICHLET 225 #endif // LIBMESH_DIRICHLET_BOUNDARIES_H std::unique_ptr< FEMFunctionBase< Gradient > > g_fem
std::unique_ptr< FunctionBase< Number > > f
Real jacobian_tolerance
Defaults to zero, but can be set to a custom small negative value to try and avoid spurious zero (or ...
~DirichletBoundary()
Standard destructor.
This class allows one to associate Dirichlet boundary values with a given set of mesh boundary ids an...
std::vector< unsigned int > variables
DirichletBoundary(std::set< boundary_id_type > b_in, std::vector< unsigned int > variables_in, const FunctionBase< Number > *f_in, const FunctionBase< Gradient > *g_in=nullptr)
Constructor for a system-variable-order boundary using pointers-to-functors.
The libMesh namespace provides an interface to certain functionality in the library.
~DirichletBoundaries()=default
DirichletBoundaries()=default
std::unique_ptr< FEMFunctionBase< Number > > f_fem
VariableIndexing
Dirichlet functions may be indexed either by "system variable order" or "local variable order"...
Manages consistently variables, degrees of freedom, and coefficient vectors.
We're using a class instead of a typedef to allow forward declarations and future flexibility...
DirichletBoundary & operator=(const DirichletBoundary &)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
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.
FEMFunctionBase is a base class from which users can derive in order to define "function-like" object...