Dune::Zero< Field > Struct Template Reference

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

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

List of all members.

Public Member Functions

 operator Field () const

Static Public Member Functions

static const Field epsilon ()

Detailed Description

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

A class representing the zero of a given Field.

This class can be used to assign the zero element to an instance of a given Field. An epsilon is also provided for the comparison operators. This class can be used also in the case that the integer 0 is not automatically converted to the zero element of the Field and the epsilon can be changed depending on the accuracy of the Field type.


Member Function Documentation

template<class Field>
static const Field Dune::Zero< Field >::epsilon (  )  [inline, static]

Referenced by Dune::operator<().

template<class Field>
Dune::Zero< Field >::operator Field (  )  const [inline]

The documentation for this struct was generated from the following file:
Generated on Sat Apr 24 11:15:40 2010 for dune-localfunctions by  doxygen 1.6.3