14 #ifndef _TOPOLOGY_SET_H
15 #define _TOPOLOGY_SET_H
38 TopItem(
size_t p = 0,
short int i = 0,
short int d = 0)
59 return os <<
" ("<< top.
patch <<
","<< top.
item <<
","<< top.
idim <<
"D)";
std::map< std::string, TopEntity > TopologySet
Named topology sets.
Definition: TopologySet.h:65
std::set< TopItem > TopEntity
Items defining a topological entity.
Definition: TopologySet.h:63
Struct for representing a topological item.
Definition: TopologySet.h:29
TopItem(size_t p=0, short int i=0, short int d=0)
Default constructor.
Definition: TopologySet.h:38
size_t patch
Patch index (one-based)
Definition: TopologySet.h:30
friend bool operator<(const TopItem &a, const TopItem &b)
The less-than operator defining the ordering of topological items.
Definition: TopologySet.h:42
friend std::ostream & operator<<(std::ostream &os, const TopItem &top)
Output stream operator.
Definition: TopologySet.h:57
short int item
Local item index within the patch (one-based)
Definition: TopologySet.h:31
short int idim
Dimension on the local item [-3,3].
Definition: TopologySet.h:32