60#ifndef Foam_wallDist_H
61#define Foam_wallDist_H
78 public MeshObject<fvMesh, UpdateableMeshObject, wallDist>
96 const word patchTypeName_;
111 const label updateInterval_;
114 mutable bool nRequired_;
123 void constructn()
const;
126 wallDist(
const wallDist&) =
delete;
129 void operator=(
const wallDist&) =
delete;
145 const word& patchTypeName =
"patch"
153 const word& defaultPatchDistMethod,
155 const word& patchTypeName =
"patch"
162 const word& patchTypeName =
"wall"
MeshObject(const fvMesh &mesh)
const fvMesh & mesh() const noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for managing temporary objects.
virtual bool movePoints()
Update the y-field when the mesh moves.
static bool try_movePoints(const fvMesh &mesh)
Trigger update of y-field for the "wallDist" MeshObject on the given mesh. A no-op if the wallDist is...
virtual void updateMesh(const mapPolyMesh &)
Update the y-field when the mesh changes.
const volScalarField & y() const noexcept
Return reference to cached distance-to-wall field.
virtual ~wallDist()
Destructor.
const labelHashSet & patchIDs() const noexcept
Return the patchIDs.
const volVectorField & n() const
Return reference to cached normal-to-wall field.
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
GeometricField< vector, fvPatchField, volMesh > volVectorField
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
GeometricField< scalar, fvPatchField, volMesh > volScalarField