Go to the documentation of this file.
56 if (isA<wallFvPatch>(patch))
76 cellCentres[faceCells[patchFaceI]],
100 calculatedFvPatchScalarField::typeName
118 if (mesh_.topoChanging())
131 calculatedFvPatchScalarField::typeName,
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
points setSize(newPointi)
nearWallDist(const nearWallDist &)
Disallow default bitwise copy construct.
const fvMesh & mesh_
Reference to mesh.
#define forAll(list, i)
Loop across all elements in list.
label maxPatchSize(const labelHashSet &patchIDs) const
Size of largest patch (out of supplied subset of patches)
faceListList boundary(nPatches)
labelHashSet getPatchIDs(const wordReList &patchNames) const
Return the set of patch IDs corresponding to the given names.
virtual void correct()
Correct for mesh geom/topo changes.
void calculate()
Do all calculations.
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 patch is a list of labels that address the faces in the global face list.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual ~nearWallDist()
Destructor.
label getPointNeighbours(const primitivePatch &, const label patchFaceI, labelList &) const
Get faces sharing point with face on patch.
Mesh data needed to do the Finite Volume discretisation.
scalar smallestDist(const point &p, const polyPatch &patch, const label nWallFaces, const labelList &wallFaces, label &meshFaceI) const
Calculate smallest true distance (and face index)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const volVectorField & C() const
Return cell centres as volVectorField.
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...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const
Return the number of elements in the PtrList.
virtual const labelUList & faceCells() const
Return faceCells.
const polyPatch & patch() const
Return the polyPatch.
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...