|
dune-grid 2.10
|
Structure to hold statistical information about one type of entity. More...
#include <dune/grid/utility/gridinfo.hh>
Public Member Functions | |
| EntityInfo () | |
| initialize the structure | |
Public Attributes | |
| std::size_t | count |
| number of entities in the set | |
| ctype | volumeMin |
| minimum volume of all entities in the set. | |
| ctype | volumeMax |
| maximum volume of all entities in the set. | |
| ctype | volumeSum |
| sum of volumes of all entities in the set. | |
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 
| ctype Dune::EntityInfo< ctype >::volumeMin |
minimum volume of all entities in the set.
If the set is empty, this is 
| 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.