74 static const vector splitNormal_;
79 static const scalar distanceTol_;
123 const label startEdgeI,
181 const rMesh&
mesh()
const 183 if (!meshPtr_.
valid())
186 <<
"No mesh available. Probably mesh not yet" 207 return featurePoints_;
213 return featureEdges_;
219 return featureToEdge_;
225 return edgeToFeature_;
231 return featureSegments_;
void operator=(const repatchMesh &)=delete
Disallow default bitwise assignment.
const rMesh & mesh() const
Access the boundary mesh.
void deletePatch(const word &patchName)
Delete from patch list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
void setFeatureEdges(const scalar minCos)
Set featureEdges, edgeToFeature, featureSegments according.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
ClassName("repatchMesh")
Runtime type information.
Cell-face mesh analysis engine.
void read(const polyMesh &)
Read from repatchMesh of polyMesh.
void changePatchType(const word &patchName, const word &type)
Change patch.
const pointField & featurePoints() const
Feature points.
const PtrList< repatchPatch > & patches() const
Access the patches.
const labelList & meshFace() const
Label of original face in polyMesh (before patchify(...))
A list of faces which address into the list of points.
A class for handling words, derived from string.
const edgeList & featureEdges() const
Feature edges. Indices into featurePoints.
void readTriSurface(const fileName &)
Read from triSurface.
bool valid() const
Return true if the autoPtr valid (ie, the pointer is set)
errorManip< error > abort(error &err)
label findPatchID(const word &patchName) const
Get index of patch by name.
const labelListList & featureSegments() const
Lists of connected featureEdges. Indices into featureEdges.
repatchMesh()
Construct null.
void markFaces(const labelList &protectedEdges, const label facei, boolList &visited) const
label whichPatch(const label facei) const
Get index of patch face is in.
PrimitivePatch< faceList, const pointField > rMesh
Type of the mesh.
const labelList & edgeToFeature() const
From edge into featureEdges.
~repatchMesh()
Destructor.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface...
void addPatch(const word &patchName)
Add to back of patch list.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Macro definitions for declaring ClassName(), NamespaceName(), etc.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
labelList getNearest(const primitiveMesh &pMesh, const vector &searchSpan) const
Get rMesh index of nearest face for every boundary face in.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
A subset of mesh faces organised as a primitive patch.
const labelList & featureToEdge() const
From index into featureEdge to index into meshedges,.