dune-grid 2.8.0
Loading...
Searching...
No Matches
Dune::GridViewInfo< ctype > Struct Template Reference

structure to hold information about a certain GridView. More...

#include <dune/grid/utility/gridinfo.hh>

Inheritance diagram for Dune::GridViewInfo< ctype >:
Inheritance graph

Public Member Functions

void print (std::ostream &stream, std::string prefix) const
 print the information contained in this object
 
EntityInfo< ctype > at (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > begin (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > cbegin (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > cend (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > clear (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > contains (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > count (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > crbegin (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > crend (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > emplace (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > emplace_hint (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > empty (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > end (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > equal_range (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > erase (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > extract (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > find (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > get_allocator (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > insert (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > insert_or_assign (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > key_comp (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > lower_bound (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > max_size (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > merge (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > operator[] (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > rbegin (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > rend (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > size (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > swap (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > try_emplace (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > upper_bound (EntityInfo< ctype > ... args)
 
EntityInfo< ctype > value_comp (EntityInfo< ctype > ... args)
 

Public Attributes

std::string gridName
 name of the grid class this information was extracted from
 
std::string gridViewName
 name of the class of the GridView this information was extracted from
 
std::string partitionName
 name of the partition this information was extracted from
 
GeometryType keys
 STL member.
 
EntityInfo< ctype > elements
 STL member.
 

Related Symbols

(Note that these are not member symbols.)

template<class ctype >
std::ostreamoperator<< (std::ostream &stream, const GridViewInfo< ctype > &info)
 write a GridViewInfo object
 

Detailed Description

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

structure to hold information about a certain GridView.

This is a map from GeometryType to EntityInfo structures. The entries in the map are sorted in dimension-first, isNone()-second, and topologyId-last order.

Member Function Documentation

◆ print()

template<class ctype >
void Dune::GridViewInfo< ctype >::print ( std::ostream stream,
std::string  prefix 
) const
inline

print the information contained in this object

Parameters
streamStream object to print to.
prefixPrefix to print in front of each line.

Sample output:

* prefix>
* 

If gridName, gridViewName, or partitionName is emtpy, the corresponding line is not printed and no extra indentation is added for the subsequent lines.

Friends And Related Symbol Documentation

◆ operator<<()

template<class ctype >
std::ostream & operator<< ( std::ostream stream,
const GridViewInfo< ctype > &  info 
)
related

write a GridViewInfo object

This is equivalent to callinf info.print(stream, "").

Member Data Documentation

◆ elements

EntityInfo< ctype > std::map< GeometryType , EntityInfo< ctype > >::elements
inherited

STL member.

◆ gridName

template<class ctype >
std::string Dune::GridViewInfo< ctype >::gridName

name of the grid class this information was extracted from

◆ gridViewName

template<class ctype >
std::string Dune::GridViewInfo< ctype >::gridViewName

name of the class of the GridView this information was extracted from

◆ keys

GeometryType std::map< GeometryType , EntityInfo< ctype > >::keys
inherited

STL member.

◆ partitionName

template<class ctype >
std::string Dune::GridViewInfo< ctype >::partitionName

name of the partition this information was extracted from

May be empty if not applicable (serial grids, for instance) or may be a combination of partitions such as "interior+border".


The documentation for this struct was generated from the following file: