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