79 const word patchTypeName_;
88 mutable bool nRequired_;
97 void constructn()
const;
115 const word& patchTypeName =
"wall"
123 const word& patchTypeName =
"patch"
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
const fvMesh & mesh() const
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
wallDist(const fvMesh &mesh, const word &patchTypeName="wall")
Construct from mesh and optional patch type name.
void operator=(const wallDist &)=delete
Disallow default bitwise assignment.
virtual void topoChange(const polyTopoChangeMap &)
Update the y-field when the mesh changes.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
const labelHashSet & patchIDs() const
Return the patchIDs.
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 string.