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_
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
Return master face ID.
label owner() const
Return owner cell.
polyAddFace()
Construct null. Used for constructing lists.
bool flipFaceFlux() const
Does the face flux need to be flipped.
bool onlyInZone() const
Is the face only a zone face (i.e. not belonging to a cell)
bool isInPatch() const
Does the face belong to a boundary patch?
label masterEdgeID() const
Return master edge ID.
label patchID() const
Boundary patch ID.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
label neighbour() const
Return neighbour cell.
bool isEdgeMaster() const
Is the face mastered by an edge.
label zoneID() const
Face zone ID.
virtual autoPtr< topoAction > clone() const
Construct and return a clone.
bool isPointMaster() const
Is the face mastered by a point.
errorManip< error > abort(error &err)
bool isFaceMaster() const
Is the face mastered by another face.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label masterPointID() const
Return master point ID.
A face addition data class. A face can be inflated either from a point or from another face and can e...
bool isInZone() const
Does the face belong to a zone?
A virtual base class for topological actions.
A face is a list of labels corresponding to mesh vertices.
bool appended() const
Is the face appended with no master.
TypeName("addFace")
Runtime type information.
label zoneFlip() const
Face zone flip.
const face & newFace() const
Return face.