dune-grid 2.9.0
|
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 More... | |
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... | |
Structure to hold statistical information about one type of entity.
|
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.
std::size_t Dune::EntityInfo< ctype >::count |
number of entities in the set
ctype Dune::EntityInfo< ctype >::volumeMax |
maximum volume of all entities in the set.
If the set is empty, this is . If the volume of the entities cannot be determined (some instance of the none GeometryType) this is NaN.
ctype Dune::EntityInfo< ctype >::volumeMin |
minimum volume of all entities in the set.
If the set is empty, this is . If the volume of the entities cannot be determined (some instance of the none GeometryType) this is NaN.
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.