Go to the documentation of this file.
42 return extrudedFaces_[extrudedI].second();
47 const label extrudedI,
51 const face&
f = faces_[extrudedFaces_[extrudedI].first()];
53 return f.which(pointI);
58 const label extrudedI,
62 const face& of = faces_[extrudedFaces_[extrudedI].second()];
64 if( pairOrientation_[extrudedI] )
75 "label extrudeLayer::addressingCalculator::origPointLabel"
76 "(const label, const label) const"
84 const label extrudedI,
88 const face&
f = faces_[extrudedFaces_[extrudedI].first()];
89 const face& of = faces_[extrudedFaces_[extrudedI].second()];
92 if( pairOrientation_[extrudedI] )
103 "label extrudeLayer::addressingCalculator::origPoint"
104 "(const label, const label) const"
112 const label extrudedI,
116 const face&
f = faces_[extrudedFaces_[extrudedI].first()];
118 const label pointI =
f[eI];
119 const label nextI =
f.nextLabel(eI);
124 const label currFaceI = pointExtruded_(pointI, pfI);
126 if( currFaceI == extrudedI )
129 if( pointExtruded_.contains(nextI, currFaceI) )
134 "label extrudeLayer::addressingCalculator::faceSharingEdge"
135 "(const label, const label) const"
136 ) <<
"Expected only one such face"
157 const label currFaceI = pointExtruded_(start, pfI);
159 if( pointExtruded_.contains(end, currFaceI) )
160 edgeFaces.
append(currFaceI);
label positionInFace(const label extrudedI, const label pointI) const
return position of point in extruded face
void facesSharingEdge(const label start, const label end, DynList< label > &) const
find faces attached to both points
label origPoint(const label extrudedI, const label pointI) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label origPointLabel(const label extrudedI, const label pos) const
return point label in the original face
#define forAllRow(graph, rowI, index)
errorManip< error > abort(error &err)
label faceSharingEdge(const label extrudedI, const label eI) const
find face sharing an edge with the given face
label origFaceLabel(const label extrudedI) const
return label of the original face for the given face
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
void clear()
Clear the list, i.e. set next free to zero.
void append(const T &e)
Append an element at the end of the list.
dimensionedScalar pos(const dimensionedScalar &ds)