DUNE-ACFEM (2.5.1)

Dune::ACFem::DifferentiableEmptyBlockConstraints< JacobianOperator > Class Template Reference

A class modelling differentiable do-nothing constraints. More...

#include <dune/acfem/operators/constraints/emptyblockconstraints.hh>

+ Collaboration diagram for Dune::ACFem::DifferentiableEmptyBlockConstraints< JacobianOperator >:

Public Member Functions

void jacobian (const DiscreteFunctionType &u, JacobianOperatorType &jOp) const
 The Jacobian of the operator. 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.
 
void operator() (const DiscreteFunctionType &arg, DiscreteFunctionType &w) const
 Apply the operator to the given argument. More...
 

Detailed Description

template<class JacobianOperator>
class Dune::ACFem::DifferentiableEmptyBlockConstraints< JacobianOperator >

A class modelling differentiable do-nothing constraints.

Useful to define default-types in template arguments.

Member Function Documentation

◆ constrain()

void Dune::ACFem::BlockConstraintsOperatorInterface< DiscreteFunction, DifferentiableEmptyBlockConstraintsTraits< JacobianOperator > >::constrain ( DiscreteFunctionType &  w) const
inlineinherited

The solution operator; unconditionally install the given constraints into the argument.

This "solves"

\[ w - g = 0 \]

for w.

◆ jacobian()

void Dune::ACFem::DifferentiableBlockConstraintsOperatorInterface< JacobianOperator, DifferentiableEmptyBlockConstraintsTraits< JacobianOperator > >::jacobian ( const DiscreteFunctionType &  u,
JacobianOperatorType &  jOp 
) const
inlineinherited

The Jacobian of the operator.

As the operator acts as identity minus affine offset, the Jacobian acts as identity. The methods does not alter any lines of jOp except for the "active" DoFs. The method handles slave-DoFs correctly in parallel runs.

◆ operator()()

void Dune::ACFem::BlockConstraintsOperatorInterface< JacobianOperator::RangeFunctionType , DifferentiableEmptyBlockConstraintsTraits< JacobianOperator > >::operator() ( const DiscreteFunctionType &  arg,
DiscreteFunctionType &  w 
) const
inlineinherited

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.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 11, 23:29, 2024)