3 #ifndef DUNE_GRIDENUMS_HH
4 #define DUNE_GRIDENUMS_HH
8 #include <dune/common/exceptions.hh>
54 DUNE_THROW(NotImplemented,
"name of unknown partition type requested");
102 return out <<
"interior-border / interior-border interface";
105 return out <<
"interior-border / all interface";
108 return out <<
"overlap / overlap-front interface";
111 return out <<
"overlap / all interface";
114 return out <<
"all / all interface";
117 return out <<
"unknown interface";
150 static std::string name[ 6 ] = {
"interior partition",
"interior-border partition",
"overlap partition",
151 "overlap-front partition",
"all partition",
"ghost partition" };
152 return out << name[ type ];
on boundary between overlap and ghost
Definition: gridenums.hh:28
interior, border, overlap and front entities
Definition: gridenums.hh:134
PartitionIteratorType
Parameter to be used for the parallel level- and leaf iterators.
Definition: gridenums.hh:130
std::ostream & operator<<(std::ostream &out, const ALU2dGridEntitySeed< cd, GridImp > &key)
print alugrid entity key to std::stream
Definition: alugrid/2d/entityseed.hh:286
send interior and border, receive all entities
Definition: gridenums.hh:82
all entities
Definition: gridenums.hh:135
communicate as given in InterfaceType
Definition: gridenums.hh:165
reverse communication direction
Definition: gridenums.hh:166
CommunicationDirection
Define a type for communication direction parameter.
Definition: gridenums.hh:164
send/receive interior and border entities
Definition: gridenums.hh:81
interior, border, and overlap entities
Definition: gridenums.hh:133
ghost entities
Definition: gridenums.hh:29
on boundary between interior and overlap
Definition: gridenums.hh:26
only ghost entities
Definition: gridenums.hh:136
PartitionType
Attributes used in the generic overlap model.
Definition: gridenums.hh:24
interior and border entities
Definition: gridenums.hh:132
all entities lying in the overlap zone
Definition: gridenums.hh:27
send overlap, receive overlap and front entities
Definition: gridenums.hh:83
only interior entities
Definition: gridenums.hh:131
InterfaceType
Parameter to be used for the communication functions.
Definition: gridenums.hh:80
std::string PartitionName(PartitionType type)
Provide names for the partition types.
Definition: gridenums.hh:40
all interior entities
Definition: gridenums.hh:25
send all and receive all entities
Definition: gridenums.hh:85
send overlap, receive all entities
Definition: gridenums.hh:84