DUNE-ACFEM (2.5.1)
Interface class for a block-constraints-operator. More...
#include <dune/acfem/operators/constraints/blockconstraintsoperator.hh>
Public Member Functions | |
void | rebuild () const |
An update method which has to be called initially or after mesh-adaptation, or for time-dependent constraint values to recompute the affine offset when moving to the next time-step. | |
void | operator() (const DiscreteFunctionType &arg, DiscreteFunctionType &w) const |
Apply the operator to the given argument. More... | |
void | constrain (DiscreteFunctionType &w) const |
The solution operator; unconditionally install the given constraints into the argument. More... | |
void | zeroConstrain (DiscreteFunctionType &w) const |
Unconditionally set the values of all masked DoFs to zero. | |
size_t | size () const |
Return the number of constrainted block-DoFs. | |
LocalOperatorType | localOperator (const EntityType &entity) const |
Generate the local version of this operator from the given entitiy. | |
LocalOperatorType | localOperator () const |
Generate the local version of this operator, must later be bound to an entity by calling its init() method. | |
Detailed Description
class Dune::ACFem::BlockConstraintsOperatorInterface< DiscreteFunction, Traits >
Interface class for a block-constraints-operator.
A block-constraints-operator is an operator which operates only on a sub-space of a discrete space by flagging a collection of block-DoFs as active. It can be used to implement, e.g., Dirichlet boundary constraints or bulk-constraints for primal/dual active set algorithms. It is meant to be composed with an ordinary operater. A constraints-operator which satisfies the interace defined below also has to provide a local operator version.
Member Function Documentation
◆ constrain()
|
inline |
The solution operator; unconditionally install the given constraints into the argument.
This "solves"
\[ w - g = 0 \]
for w.
References Dune::ACFem::asImp().
◆ operator()()
|
inline |
Apply the operator to the given argument.
This operates as as an affine linear operator which computes
\[ \Gamma(x) = x - g \]
where g defines the affine offet. TZhe operator acts only on the given subset of "active" DoFs (e.g. the boundary DoFs) and leaves all other values of w alone.
References Dune::ACFem::asImp().
The documentation for this class was generated from the following file:
- dune/acfem/operators/constraints/blockconstraintsoperator.hh