Go to the documentation of this file.
35 #ifndef patchDistMethod_H
36 #define patchDistMethod_H
virtual bool correct(volScalarField &y)=0
Correct the given distance-to-patch field.
virtual void updateMesh(const mapPolyMesh &)
Update cached topology and geometry when the mesh changes.
virtual ~patchDistMethod()
Destructor.
static wordList patchTypes(const fvMesh &mesh, const labelHashSet &patchIDs)
Return the patch types for y and n.
static autoPtr< patchDistMethod > New(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
void operator=(const patchDistMethod &)
Disallow default bitwise assignment.
virtual bool movePoints()
Update cached geometry when the mesh moves.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Specialisation of patchDist for wall distance calculation.
const fvMesh & mesh_
Reference to the mesh.
Mesh data needed to do the Finite Volume discretisation.
declareRunTimeSelectionTable(autoPtr, patchDistMethod, dictionary,(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs),(dict, mesh, patchIDs))
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.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("patchDistMethod")
Runtime type information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
patchDistMethod(const patchDistMethod &)
Disallow default bitwise copy construct.
Generic GeometricField class.
const labelHashSet & patchIDs() const
Return the patchIDs.