dune-grid  2.2.0
Public Member Functions
Dune::GridViewInfoGTCompare Struct Reference

Comparison object to sort GeometryType by majorly dimension. More...

#include <dune/grid/utility/gridinfo.hh>

List of all members.

Public Member Functions

bool operator() (const GeometryType &a, const GeometryType &b) const
 compare two GeometryTypes

Detailed Description

Comparison object to sort GeometryType by majorly dimension.

This differs from the standard GeometryType::operator<() in that it puts more emphasis on the dimension than the isNone() property. If it is used as the comparison object in a map where the key is of type GeometryType, all entries of one dimension will be lumped together.


Member Function Documentation

bool Dune::GridViewInfoGTCompare::operator() ( const GeometryType &  a,
const GeometryType &  b 
) const
inline

compare two GeometryTypes


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