Go to the documentation of this file.
78 newBoundaryOwners[bfI] = faceOwner[bfI];
84 # pragma omp parallel for if( bFaces.size() > 100 ) schedule(guided)
96 if( (facePatch > -1) && (facePatch <
nPatches) )
98 newBoundaryPatches[bfI] = facePatch;
104 "void meshSurfaceEdgeExtractorNonTopo::"
105 "distributeBoundaryFaces()"
106 ) <<
"Cannot distribute a face " << bFaces[bfI] <<
" into any "
#define forAll(list, i)
Loop across all elements in list.
Template functions to aid in the implementation of demand driven data.
void findNearestSurfacePoint(point &nearest, scalar &distSq, label &nearestTriangle, label ®ion, const point &p) const
find nearest surface point for vertex and its region
A List obtained as a section of another List.
void replaceBoundary(const wordList &patchNames, const VRWGraph &boundaryFaces, const labelLongList &faceOwners, const labelLongList &facePatches)
replace the boundary with new boundary faces
void convexEdges(labelLongList &convexEdges) const
return indices of convex edges
const faceList::subList & boundaryFaces() 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.
wordList patchNames(nPatches)
const pointFieldPMG & points() const
void addPointToSubset(const label, const label)
const word & name() const
Return the name.
void mapVerticesOntoSurfacePatches()
const edgeList & edges() const
errorManipArg< error, int > exit(error &err, const int errNo=1)
void optimizeSurface(const label nIterations=5)
optimize boundary nodes after boundary regions are created
void appendList(const ListType &l)
Append a list as a row at the end of the graph.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void concaveEdges(labelLongList &concaveEdges) const
return indices of concave edges
const dimensionedScalar c
Speed of light in a vacuum.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
const triSurf & surface() const
return a reference to the surface
label size() const
Return the number of elements in the UList.
label addPointSubset(const word &)
point subsets
const labelList & faceOwners() const