Dune Core Modules (2.4.1)

Dune::GridViewInfoGTCompare Struct Reference

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

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

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.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)