64 const bool correctWalls
108 y.boundaryFieldRef().evaluateSelected(
patchIds);
114 auto& bfld =
n.boundaryFieldRef();
118 bfld[patchi] == bfld[patchi].patch().nf();
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
static const this_type & null() noexcept
static FOAM_NO_DANGLING_REFERENCE const wallDistAddressing & New(const fvMesh &mesh, Args &&... args)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Specialisation of patchDist for wall distance calculation.
const fvMesh & mesh_
Reference to the mesh.
patchDistMethod(const patchDistMethod &)=delete
No copy construct.
const labelHashSet patchIDs_
Set of patch IDs.
const labelHashSet & patchIDs() const
Return the patchIDs.
Variant of patchDistMethods::meshWave that stores nearest-wall addressing instead of directly transpo...
const bool correctWalls_
Do accurate distance calculation for near-wall cells.
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
meshWaveAddressing(const meshWaveAddressing &)=delete
No copy construct.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
GeometricField< vector, fvPatchField, volMesh > volVectorField
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
bool notNull(const T *ptr) noexcept
True if ptr is not a pointer (of type T) to the nullObject.