dune-localfunctions  2.2.1
Public Member Functions | List of all members
Dune::Unity< Field > Struct Template Reference

A class representing the unit of a given Field. More...

#include <dune/localfunctions/utility/field.hh>

Public Member Functions

 operator Field () const
 

Detailed Description

template<class Field>
struct Dune::Unity< Field >

A class representing the unit of a given Field.

This class can be used to assign the unit element to an instance of a given Field also operators for +/- with unit element are provided. Also 1/f can be evaluated. Through specialization this class can be used also in the case that the integer 1 is not automatically converted to the unit element of the Field - the default implementation

Member Function Documentation

template<class Field>
Dune::Unity< Field >::operator Field ( ) const
inline

The documentation for this struct was generated from the following file: