38 namespace patchDistMethods
56 correctWalls_(
dict.getOrDefault(
"correctWalls", true))
64 const bool correctWalls
68 correctWalls_(correctWalls)
108 y.boundaryFieldRef().evaluateSelected(
patchIds);
114 auto& bfld =
n.boundaryFieldRef();
118 bfld[patchi] == bfld[patchi].patch().nf();
const labelList patchIDs(pbm.indices(polyPatchNames, true))
A list of keyword definitions, which are a keyword followed by a number of values (eg...
addToRunTimeSelectionTable(patchDistMethod, advectionDiffusion, dictionary)
static FOAM_NO_DANGLING_REFERENCE const wallDistAddressing & New(const fvMesh &mesh, Args &&... args)
Get existing or create MeshObject registered with typeName.
Macros for easy insertion into run-time selection tables.
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
static const this_type & null() noexcept
Return a null GeometricField (reference to a nullObject).
bool notNull(const T *ptr) noexcept
True if ptr is not a pointer (of type T) to the nullObject.
Mesh data needed to do the Finite Volume discretisation.
meshWaveAddressing(const meshWaveAddressing &)=delete
No copy construct.
defineTypeNameAndDebug(advectionDiffusion, 0)
Specialisation of patchDist for wall distance calculation.