79 const word patchTypeName_;
88 mutable bool nRequired_;
97 void constructn()
const;
115 const word& patchTypeName =
"wall"
123 const word& patchTypeName =
"patch"
148 return patchIndices_;
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.
Interface to run-time selectable methods to calculate the distance-to-wall and normal-to-wall fields.
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.
const labelHashSet & patchIndices() 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.