Dune Core Modules (unstable)
gridinfo.hh
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
249 [ & ](auto i){ FillGridInfoOperation< i+1 >::apply(*eit, mapper, visited, geo, RefElems::general(eit->type()), gridViewInfo); } );
GridImp::template Codim< cd >::Geometry Geometry
The corresponding geometry type.
Definition: entity.hh:100
static constexpr int dimension
Know the grid dimension.
Definition: entity.hh:109
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
constexpr unsigned int dim() const
Return dimension of the type.
Definition: type.hh:360
constexpr unsigned int id() const
Return the topology id of the type.
Definition: type.hh:365
constexpr bool isNone() const
Return true if entity is a singular of any dimension.
Definition: type.hh:355
auto size(GeometryType type) const
Return total number of entities of given geometry type in entity set .
Definition: indexidset.hh:223
auto size() const
Return total number of entities in the entity set managed by the mapper.
Definition: mapper.hh:152
generic geometry implementation based on corner coordinates
Definition: multilineargeometry.hh:181
Volume volume() const
obtain the volume of the mapping's image
Definition: multilineargeometry.hh:363
Implementation class for a multiple codim and multiple geometry type mapper.
Definition: mcmgmapper.hh:129
A free function to provide the demangled class name of a given object or type as a string.
A few common exception classes.
Implements a vector constructed from a given type representing a field and a compile-time given size.
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:158
constexpr GeometryType none(unsigned int dim)
Returns a GeometryType representing a singular of dimension dim.
Definition: type.hh:471
constexpr void forEach(Range &&range, F &&f)
Range based for loop.
Definition: hybridutilities.hh:256
constexpr auto max
Function object that returns the greater of the given values.
Definition: hybridutilities.hh:484
constexpr auto min
Function object that returns the smaller of the given values.
Definition: hybridutilities.hh:506
Mapper for multiple codim and multiple geometry types.
void fillGridViewInfoSerial(const GV &gv, GridViewInfo< typename GV::ctype > &gridViewInfo)
fill a GridViewInfo structure from a serial grid
Definition: gridinfo.hh:214
STL namespace.
Structure to hold statistical information about one type of entity.
Definition: gridinfo.hh:33
ctype volumeMin
minimum volume of all entities in the set.
Definition: gridinfo.hh:42
ctype volumeMax
maximum volume of all entities in the set.
Definition: gridinfo.hh:49
ctype volumeSum
sum of volumes of all entities in the set.
Definition: gridinfo.hh:56
Class providing access to the singletons of the reference elements.
Definition: referenceelements.hh:128
Comparison object to sort GeometryType by majorly dimension.
Definition: gridinfo.hh:79
bool operator()(const GeometryType &a, const GeometryType &b) const
compare two GeometryTypes
Definition: gridinfo.hh:81
structure to hold information about a certain GridView.
Definition: gridinfo.hh:100
std::ostream & operator<<(std::ostream &stream, const GridViewInfo< ctype > &info)
write a GridViewInfo object
Definition: gridinfo.hh:164
std::string gridViewName
name of the class of the GridView this information was extracted from
Definition: gridinfo.hh:104
std::string partitionName
name of the partition this information was extracted from
Definition: gridinfo.hh:110
std::string gridName
name of the grid class this information was extracted from
Definition: gridinfo.hh:102
void print(std::ostream &stream, std::string prefix) const
print the information contained in this object
Definition: gridinfo.hh:126
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)