Go to the documentation of this file.
71 public MeshObject<fvMesh, UpdateableMeshObject, wallDist>
118 const word& patchTypeName =
"wall"
126 const word& patchTypeName =
"patch"
virtual void updateMesh(const mapPolyMesh &)
Update the y-field when the mesh changes.
A class for handling words, derived from string.
A class for managing temporary objects.
const volScalarField & y() const
Return reference to cached distance-to-wall field.
autoPtr< patchDistMethod > pdm_
Run-time selected method to generate the distance-to-wall field.
Interface to run-time selectable methods to calculate the distance-to-wall and normal-to-wall fields.
const fvMesh & mesh() const
volScalarField y_
Distance-to-wall field.
void operator=(const wallDist &)
Disallow default bitwise assignment.
const labelHashSet & patchIDs() const
Return the patchIDs.
virtual bool movePoints()
Update the y-field when the mesh moves.
const volVectorField & n() const
Return reference to cached normal-to-wall field.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void constructn() const
Construct the normal-to-wall field as required.
tmp< volVectorField > n_
Normal-to-wall field.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
wallDist(const wallDist &)
Disallow default bitwise copy construct.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const word patchTypeName_
Name for the patch set, e.g. "wall".
const labelHashSet patchIDs_
Set of patch IDs.
Generic GeometricField class.
bool nRequired_
Flag to indicate if the distance-to-wall field is required.
virtual ~wallDist()
Destructor.