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"
43template <
typename Output>
class FEMFunctionBase;
44template <
typename Output>
class FunctionBase;
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;
We're using a class instead of a typedef to allow forward declarations and future flexibility.
~DirichletBoundaries()=default
DirichletBoundaries()=default
This class allows one to associate Dirichlet boundary values with a given set of mesh boundary ids an...
DirichletBoundary(DirichletBoundary &&)=default
This class is default move-assignable and move-constructible.
std::vector< unsigned int > variables
~DirichletBoundary()
Standard destructor.
DirichletBoundary & operator=(const DirichletBoundary &)
std::set< boundary_id_type > b
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 ...
std::unique_ptr< FunctionBase< Gradient > > g
std::unique_ptr< FEMFunctionBase< Number > > f_fem
std::unique_ptr< FEMFunctionBase< Gradient > > g_fem
FEMFunctionBase is a base class from which users can derive in order to define "function-like" object...
Base class for functors that can be evaluated at a point and (optionally) time.
Manages consistently variables, degrees of freedom, and coefficient vectors.
The libMesh namespace provides an interface to certain functionality in the library.
VariableIndexing
Dirichlet functions may be indexed either by "system variable order" or "local variable order",...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real