DUNE-FEM (unstable)

Dune::EntityInfo< ctype > Struct Template Reference

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

template<class ctype>
struct Dune::EntityInfo< ctype >

Structure to hold statistical information about one type of entity.

Constructor & Destructor Documentation

◆ EntityInfo()

template<class ctype >
Dune::EntityInfo< ctype >::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

template<class ctype >
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

template<class ctype >
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

template<class ctype >
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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)