78 public MeshObject<fvMesh, UpdateableMeshObject, wallDist>
86 const word patchTypeName_;
101 const label updateInterval_;
104 mutable bool nRequired_;
113 void constructn()
const;
119 void operator=(
const wallDist&) =
delete;
135 const word& patchTypeName =
"patch"
143 const word& defaultPatchDistMethod,
145 const word& patchTypeName =
"patch"
152 const word& patchTypeName =
"wall"
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const fvMesh & mesh() const
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.
Interface to run-time selectable methods to calculate the distance-to-wall and normal-to-wall fields.
virtual bool movePoints()
Update the y-field when the mesh moves.
const labelHashSet & patchIDs() const
Return the patchIDs.
virtual void updateMesh(const mapPolyMesh &)
Update the y-field when the mesh changes.
const volScalarField & y() const
Return reference to cached distance-to-wall field.
virtual ~wallDist()
Destructor.
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.