Go to the documentation of this file.
36 #ifndef cellDistFuncs_H
37 #define cellDistFuncs_H
45 #include "primitivePatch.H"
56 class polyBoundaryMesh;
126 const label patchFaceI,
label maxPatchSize(const labelHashSet &patchIDs) const
Size of largest patch (out of supplied subset of patches)
Mesh consisting of general polyhedral cells.
void correctBoundaryPointCells(const labelHashSet &patchIDs, scalarField &wallDistCorrected, Map< label > &nearestFace) const
Correct all cells connected to wall (via point). Sets values in.
const polyMesh & mesh_
Reference to mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
labelHashSet getPatchIDs() const
Get patchIDs of/derived off certain type (e.g. 'processorPolyPatch')
A patch is a list of labels that address the faces in the global face list.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
label sumPatchSize(const labelHashSet &patchIDs) const
Sum of patch sizes (out of supplied subset of patches).
label getPointNeighbours(const primitivePatch &, const label patchFaceI, labelList &) const
Get faces sharing point with face on patch.
wordList patchNames(nPatches)
cellDistFuncs(const cellDistFuncs &)
Disallow default bitwise copy construct.
const polyMesh & mesh() const
Access mesh.
scalar smallestDist(const point &p, const polyPatch &patch, const label nWallFaces, const labelList &wallFaces, label &meshFaceI) const
Calculate smallest true distance (and face index)
Collection of functions used in wall distance calculation.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void operator=(const cellDistFuncs &)
Disallow default bitwise assignment.
void correctBoundaryFaceCells(const labelHashSet &patchIDs, scalarField &wallDistCorrected, Map< label > &nearestFace) const
Correct all cells connected to boundary (via face). Sets values in.
ClassName("cellDistFuncs")
static label findIndex(const label n, const labelList &, const label)
Search for element in first n elements of labelList. Return index.
A list of faces which address into the list of points.