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;
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"
const volVectorField & n() const
Return reference to cached normal-to-wall field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~wallDist()
Destructor.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const fvMesh & mesh() const noexcept
Reference to the mesh.
A class for handling words, derived from Foam::string.
virtual void updateMesh(const mapPolyMesh &)
Update the y-field when the mesh changes.
virtual bool movePoints()
Update the y-field when the mesh moves.
const volScalarField & y() const noexcept
Return reference to cached distance-to-wall field.
const labelHashSet & patchIDs() const noexcept
Return the patchIDs.
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...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Interface to run-time selectable methods to calculate the distance-to-wall and normal-to-wall fields...
A class for managing temporary objects.
UpdateableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.