35 #ifndef patchDistMethod_H 36 #define patchDistMethod_H 89 (dict, mesh, patchIDs)
virtual ~patchDistMethod()
Destructor.
static autoPtr< patchDistMethod > New(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void updateMesh(const mapPolyMesh &)
Update cached topology and geometry when the mesh changes.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const fvMesh & mesh_
Reference to the mesh.
declareRunTimeSelectionTable(autoPtr, patchDistMethod, dictionary,(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs),(dict, mesh, patchIDs))
static wordList patchTypes(const fvMesh &mesh, const labelHashSet &patchIDs)
Return the patch types for y and n.
void operator=(const patchDistMethod &)=delete
Disallow default bitwise assignment.
const labelHashSet & patchIDs() const
Return the patchIDs.
Mesh data needed to do the Finite Volume discretisation.
virtual bool movePoints()
Update cached geometry when the mesh moves.
const labelHashSet patchIDs_
Set of patch IDs.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
virtual bool correct(volScalarField &y)=0
Correct the given distance-to-patch field.
Specialisation of patchDist for wall distance calculation.
TypeName("patchDistMethod")
Runtime type information.
patchDistMethod(const fvMesh &mesh, const labelHashSet &patchIDs)
Construct from mesh and patch ID set.