1#ifndef __DUNE_ACFEM_NON_ZERO_FUNCTIONAL_HH__
2#define __DUNE_ACFEM_NON_ZERO_FUNCTIONAL_HH__
4#include "linearfunctional.hh"
5#include "../../expressions/expressionoperations.hh"
21 template<
class DiscreteFunctionSpace>
22 class NonZeroFunctional;
24 template<
class DiscreteFunctionSpace>
25 class LocalNonZeroFunctional;
27 template<
class DiscreteFunctionSpace>
28 struct NonZeroFunctionalTraits
29 :
public LinearFunctionalTraitsDefault<NonZeroFunctional<DiscreteFunctionSpace>, size_t>
39 template<
class DiscreteFunctionSpace>
45 typedef NonZeroFunctionalTraits<DiscreteFunctionSpace> TraitsType;
46 typedef typename TraitsType::LocalFunctionalType LocalFunctionalType;
47 typedef DiscreteFunctionSpace DiscreteFunctionSpaceType;
48 typedef typename DiscreteFunctionSpaceType::EntityType EntityType;
49 typedef typename DiscreteFunctionSpace::FunctionSpaceType FunctionSpaceType;
50 typedef typename FunctionSpaceType::RangeFieldType FieldType;
51 typedef FieldType RangeType;
56 std::string name()
const
58 return "NZ Functional";
Interface class for a discrete linear functional.
Definition: linearfunctional.hh:52
Just a place-holder to aid in automatic type-deduction.
Definition: nonzerofunctional.hh:43
Provide up-cast functionality for expression templates.
Definition: expressionoperations.hh:37