Dune Core Modules (2.6.0)

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 (Nov 24, 23:30, 2024)