35 #ifndef patchDistMethod_H
36 #define patchDistMethod_H
89 (
dict, mesh, patchIDs)
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Specialisation of patchDist for wall distance calculation.
declareRunTimeSelectionTable(autoPtr, patchDistMethod, dictionary,(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs),(dict, mesh, patchIDs))
static autoPtr< patchDistMethod > New(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs)
const fvMesh & mesh_
Reference to the mesh.
const labelHashSet patchIndices_
Set of patch IDs.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual ~patchDistMethod()
Destructor.
virtual void topoChange(const polyTopoChangeMap &)
Update cached topology and geometry when the mesh changes.
TypeName("patchDistMethod")
Runtime type information.
virtual bool movePoints()
Update cached geometry when the mesh moves.
virtual bool correct(volScalarField &y)=0
Correct the given distance-to-patch field.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
patchDistMethod(const fvMesh &mesh, const labelHashSet &patchIDs)
Construct from mesh and patch ID set.
static wordList patchTypes(const fvMesh &mesh, const labelHashSet &patchIDs)
Return the patch types for y and n.
const labelHashSet & patchIndices() const
Return the patchIDs.
void operator=(const patchDistMethod &)=delete
Disallow default bitwise assignment.
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.
Macros to ease declaration of run-time selection tables.