Dune::Unity< Field > Struct Template Reference

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

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

List of all members.

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:

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].