5#ifndef _DUNE_ACFEM_EMPTY_BLOCKCONSTRAINTS_HH_
6#define _DUNE_ACFEM_EMPTY_BLOCKCONSTRAINTS_HH_
8#include <dune/fem/operator/common/differentiableoperator.hh>
24 template<
class DiscreteFunctionSpace>
29 typedef DiscreteFunctionSpace DiscreteFunctionSpaceType;
30 typedef typename DiscreteFunctionSpaceType::GridPartType GridPartType;
31 typedef typename DiscreteFunctionSpaceType::EntityType EntityType;
33 template <
typename ...Args>
36 void update()
const {}
37 void updateValues()
const {}
39 template<
class DomainDiscreteFunction,
class RangeDiscreteFunction>
40 void operator()(
const DomainDiscreteFunction& u, RangeDiscreteFunction& w)
const {}
42 template<
class DomainDiscreteFunction,
class JacobianOperator>
43 void jacobian(
const DomainDiscreteFunction& u, JacobianOperator& jOp)
const {}
45 template<
class DomainDiscreteFunction,
class JacobianOperator>
46 void applyToOperator(
const DomainDiscreteFunction& u, JacobianOperator& jOp)
const
51 template<
class DomainDiscreteFunction>
52 void constrain(DomainDiscreteFunction& w)
const {}
54 template<
class DomainDiscreteFunction>
55 void zeroConstrain(DomainDiscreteFunction& w)
const {}
57 size_t size()
const {
return 0; }
A class modelling do-nothing constraints.
Definition: emptyblockconstraints.hh:26