Go to the documentation of this file.
110 flipFaceFlux_(false),
143 if (face_.size() < 3)
146 <<
"This is not allowed.\n"
148 <<
" masterPointID:" << masterPointID_
149 <<
" masterEdgeID:" << masterEdgeID_
150 <<
" masterFaceID:" << masterFaceID_
151 <<
" patchID:" << patchID_
152 <<
" owner:" << owner_
153 <<
" neighbour:" << neighbour_
160 <<
"This is not allowed.\n"
162 <<
" masterPointID:" << masterPointID_
163 <<
" masterEdgeID:" << masterEdgeID_
164 <<
" masterFaceID:" << masterFaceID_
165 <<
" patchID:" << patchID_
166 <<
" owner:" << owner_
167 <<
" neighbour:" << neighbour_
171 if (
min(owner_, neighbour_) >= 0 && owner_ == neighbour_)
174 <<
"This is not allowed.\n"
176 <<
" masterPointID:" << masterPointID_
177 <<
" masterEdgeID:" << masterEdgeID_
178 <<
" masterFaceID:" << masterFaceID_
179 <<
" patchID:" << patchID_
180 <<
" owner:" << owner_
181 <<
" neighbour:" << neighbour_
185 if (neighbour_ >= 0 &&
patchID >= 0)
188 <<
". This is not allowed.\n"
190 <<
" masterPointID:" << masterPointID_
191 <<
" masterEdgeID:" << masterEdgeID_
192 <<
" masterFaceID:" << masterFaceID_
193 <<
" patchID:" << patchID_
194 <<
" owner:" << owner_
195 <<
" neighbour:" << neighbour_
199 if (owner_ < 0 &&
zoneID < 0)
202 <<
"This is not allowed.\n"
205 <<
" masterPointID:" << masterPointID_
206 <<
" masterEdgeID:" << masterEdgeID_
207 <<
" masterFaceID:" << masterFaceID_
208 <<
" patchID:" << patchID_
209 <<
" owner:" << owner_
210 <<
" neighbour:" << neighbour_
217 <<
"belong to zone. This is not allowed.\n"
219 <<
" masterPointID:" << masterPointID_
220 <<
" masterEdgeID:" << masterEdgeID_
221 <<
" masterFaceID:" << masterFaceID_
222 <<
" patchID:" << patchID_
223 <<
" owner:" << owner_
224 <<
" neighbour:" << neighbour_
230 virtual autoPtr<topoAction>
clone()
const
232 return autoPtr<topoAction>(
new polyAddFace(*
this));
261 return masterPointID_ >= 0;
267 return masterEdgeID_ >= 0;
273 return masterFaceID_ >= 0;
285 return masterPointID_;
291 return masterEdgeID_;
297 return masterFaceID_;
303 return flipFaceFlux_;
309 return patchID_ >= 0;
327 return zoneID_ >= 0 && owner_ < 0 && neighbour_ < 0;
label masterFaceID() const
bool flipFaceFlux() const
label masterEdgeID() const
label min(const labelHashSet &set, label minValue=labelMax)
bool isEdgeMaster() const
virtual autoPtr< topoAction > clone() const
bool isPointMaster() const
errorManip< error > abort(error &err)
bool isFaceMaster() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
label masterPointID() const
A face addition data class. A face can be inflated either from a point or from another face and can e...
A virtual base class for topological actions.
A face is a list of labels corresponding to mesh vertices.
const face & newFace() const