35void Foam::nearWallDistNoSearch::doAll()
49 = cellCentres.boundaryField()[patchi];
52 = mesh_.Sf().boundaryField()[patchi];
55 = mesh_.magSf().boundaryField()[patchi];
57 forAll(patchCentres, facei)
64 - cellCentres[faceCells[facei]]
79Foam::nearWallDistNoSearch::nearWallDistNoSearch(
const Foam::fvMesh&
mesh)
103 if (mesh_.changing())
106 forAll(mesh_.boundary(), patchi)
108 operator[](patchi).setSize(mesh_.boundary()[patchi].size());
const Type & operator[](const labelPair &index) const
GeometricBoundaryField< Type, PatchField, GeoMesh > Boundary
This boundary field type.
Mesh data needed to do the Finite Volume discretisation.
Template invariant parts for fvPatchField.
virtual void correct()
Correct for mesh geom/topo changes.
virtual ~nearWallDistNoSearch()
Destructor.
const polyBoundaryMesh & patches
const expr V(m.psi().mesh().V())
const word calculatedType
A calculated patch field type.
GeometricField< vector, fvPatchField, volMesh > volVectorField
PtrList< fvPatch > fvPatchList
Store lists of fvPatch as a PtrList.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
UList< label > labelUList
A UList of labels.
fvsPatchField< vector > fvsPatchVectorField
fvPatchField< vector > fvPatchVectorField
fvsPatchField< scalar > fvsPatchScalarField
fvPatchField< scalar > fvPatchScalarField
#define forAll(list, i)
Loop across all elements in list.