Dune Core Modules (unstable)
Structure to hold statistical information about one type of entity. More...
#include <dune/grid/utility/gridinfo.hh>
Public Member Functions | |
EntityInfo () | |
initialize the structure More... | |
Public Attributes | |
std::size_t | count |
number of entities in the set | |
ctype | volumeMin |
minimum volume of all entities in the set. More... | |
ctype | volumeMax |
maximum volume of all entities in the set. More... | |
ctype | volumeSum |
sum of volumes of all entities in the set. More... | |
Detailed Description
struct Dune::EntityInfo< ctype >
Structure to hold statistical information about one type of entity.
Constructor & Destructor Documentation
◆ EntityInfo()
|
inline |
initialize the structure
This assumes an empty set of entities so that information can be added later: count
is set to 0, volumeMin
to +infinity, and volumeMax
to -infinity.
Member Data Documentation
◆ volumeMax
ctype Dune::EntityInfo< ctype >::volumeMax |
maximum volume of all entities in the set.
If the set is empty, this is \(-\infty\). If the volume of the entities cannot be determined (some instance of the none GeometryType) this is NaN.
Referenced by Dune::fillGridViewInfoSerial().
◆ volumeMin
ctype Dune::EntityInfo< ctype >::volumeMin |
minimum volume of all entities in the set.
If the set is empty, this is \(+\infty\). If the volume of the entities cannot be determined (some instance of the none GeometryType) this is NaN.
Referenced by Dune::fillGridViewInfoSerial().
◆ volumeSum
ctype Dune::EntityInfo< ctype >::volumeSum |
sum of volumes of all entities in the set.
If the set is empty, this is 0. If the volume of the entities cannot be determined (some instance of the none GeometryType) this is NaN.
Referenced by Dune::fillGridViewInfoSerial().
The documentation for this struct was generated from the following file:
- dune/grid/utility/gridinfo.hh