33 void Foam::nearWallDistNoSearch::doAll()
42 if (isA<wallFvPatch>(patches[patchi]))
47 = cellCentres.boundaryField()[
patchi];
55 forAll(patchCentres, facei)
62 - cellCentres[faceCells[facei]]
83 calculatedFvPatchScalarField::typeName
fvsPatchField< vector > fvsPatchVectorField
fvsPatchField< scalar > fvsPatchScalarField
bool changing() const
Is mesh changing (topology changing and/or moving)
#define forAll(list, i)
Loop across all elements in list.
const surfaceVectorField & Sf() const
Return cell face area vectors.
fvPatchField< vector > fvPatchVectorField
const Boundary & boundaryField() const
Return const-reference to the boundary field.
GeometricField< vector, fvPatchField, volMesh > volVectorField
UList< label > labelUList
fvPatchField< scalar > fvPatchScalarField
virtual void correct()
Correct for mesh geom/topo changes.
faceListList boundary(nPatches)
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
label size() const
Return the number of elements in the UPtrList.
nearWallDistNoSearch(const fvMesh &mesh)
Construct from components.
PtrList< fvPatch > fvPatchList
container classes for fvPatch
Mesh data needed to do the Finite Volume discretisation.
virtual ~nearWallDistNoSearch()
Destructor.
const volVectorField & C() const
Return cell centres as volVectorField.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.