dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Dune::Zero< Field > Struct Template Reference

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

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

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

◆ epsilon()

template<class Field >
static const Field Dune::Zero< Field >::epsilon ( )
inlinestatic

◆ operator Field()

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

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