Specialisation of patchDist for wall distance calculation. More...
Public Member Functions | |
TypeName ("patchDistMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, patchDistMethod, dictionary,(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs),(dict, mesh, patchIDs)) | |
patchDistMethod (const fvMesh &mesh, const labelHashSet &patchIDs) | |
Construct from mesh and patch ID set. More... | |
patchDistMethod (const patchDistMethod &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~patchDistMethod () |
Destructor. More... | |
const labelHashSet & | patchIndices () const |
Return the patchIDs. More... | |
virtual bool | movePoints () |
Update cached geometry when the mesh moves. More... | |
virtual void | topoChange (const polyTopoChangeMap &) |
Update cached topology and geometry when the mesh changes. More... | |
virtual void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
virtual void | distribute (const polyDistributionMap &) |
Redistribute or update using the given distribution map. More... | |
virtual bool | correct (volScalarField &y)=0 |
Correct the given distance-to-patch field. More... | |
virtual bool | correct (volScalarField &y, volVectorField &n)=0 |
Correct the given distance-to-patch and normal-to-patch fields. More... | |
void | operator= (const patchDistMethod &)=delete |
Disallow default bitwise assignment. More... | |
template<class Type > | |
Foam::wordList | patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs) |
Static Public Member Functions | |
static autoPtr< patchDistMethod > | New (const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs) |
template<class Type > | |
static wordList | patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs) |
Return the patch types for y and n. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
Reference to the mesh. More... | |
const labelHashSet | patchIndices_ |
Set of patch IDs. More... | |
Specialisation of patchDist for wall distance calculation.
Definition at line 56 of file patchDistMethod.H.
patchDistMethod | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs | ||
) |
Construct from mesh and patch ID set.
Definition at line 39 of file patchDistMethod.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 82 of file patchDistMethod.C.
TypeName | ( | "patchDistMethod" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
patchDistMethod | , | ||
dictionary | , | ||
(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs) | , | ||
(dict, mesh, patchIDs) | |||
) |
|
static |
Definition at line 52 of file patchDistMethod.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and dictionary::lookup().
|
static |
Return the patch types for y and n.
These are fixedValue for the set provided otherwise zero-gradient
|
inline |
Return the patchIDs.
Definition at line 134 of file patchDistMethod.H.
References patchDistMethod::patchIndices_.
|
inlinevirtual |
Update cached geometry when the mesh moves.
Definition at line 140 of file patchDistMethod.H.
|
inlinevirtual |
Update cached topology and geometry when the mesh changes.
Definition at line 146 of file patchDistMethod.H.
|
inlinevirtual |
Update from another mesh using the given map.
Definition at line 150 of file patchDistMethod.H.
|
inlinevirtual |
Redistribute or update using the given distribution map.
Definition at line 154 of file patchDistMethod.H.
|
pure virtual |
Correct the given distance-to-patch field.
Implemented in Poisson, meshWave, and advectionDiffusion.
|
pure virtual |
Correct the given distance-to-patch and normal-to-patch fields.
Implemented in Poisson, meshWave, and advectionDiffusion.
|
delete |
Disallow default bitwise assignment.
Foam::wordList patchTypes | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs | ||
) |
Definition at line 31 of file patchDistMethodTemplates.C.
References fvMesh::boundary(), forAllConstIter, and UPtrList< T >::size().
|
protected |
Reference to the mesh.
Definition at line 64 of file patchDistMethod.H.
|
protected |
Set of patch IDs.
Definition at line 67 of file patchDistMethod.H.
Referenced by patchDistMethod::patchIndices().