35 void Foam::nearWallDistNoSearch::doAll()
44 if (isA<wallFvPatch>(
patches[patchi]))
49 = cellCentres.boundaryField()[patchi];
57 forAll(patchCentres, facei)
64 - cellCentres[faceCells[facei]]
85 calculatedFvPatchScalarField::typeName
103 if (mesh_.changing())
106 forAll(mesh_.boundary(), patchi)
108 operator[](patchi).setSize(mesh_.boundary()[patchi].size());
fvsPatchField< vector > fvsPatchVectorField
fvsPatchField< scalar > fvsPatchScalarField
const surfaceVectorField & Sf() const
Return cell face area vectors.
fvPatchField< vector > fvPatchVectorField
const Type & operator[](const labelPair &index) const
Const access to a single field element via (fieldi, elemi)
GeometricField< vector, fvPatchField, volMesh > volVectorField
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fvPatchField< scalar > fvPatchScalarField
virtual void correct()
Correct for mesh geom/topo changes.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
Mesh data needed to do the Finite Volume discretisation.
const polyBoundaryMesh & patches
virtual ~nearWallDistNoSearch()
Destructor.
const volVectorField & C() const
Return cell centres as volVectorField.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
PtrList< fvPatch > fvPatchList
Store lists of fvPatch as a PtrList.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.