dune-grid 2.9.0
Public Member Functions | List of all members
Dune::GridViewInfoGTCompare Struct Reference

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

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

Inheritance diagram for Dune::GridViewInfoGTCompare:
Inheritance graph

Public Member Functions

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

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

◆ operator()()

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: