38 namespace patchDistMethods
56 correctWalls_(
dict.getOrDefault(
"correctWalls", true))
64 const bool correctWalls
68 correctWalls_(correctWalls)
96 patchIDs_.sortedToc(),
106 auto& bfld =
y.boundaryFieldRef();
108 for (
const label patchi : patchIDs_)
116 for (
const label patchi : patchIDs_)
126 for (
const label patchi : patchIDs_)
128 auto& pnf =
n.boundaryFieldRef()[patchi];
129 pnf == pnf.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 const wallDistAddressing & New(const fvMesh &mesh, Args &&... args)
Get existing or create MeshObject registered with typeName.
static label nRequests() noexcept
Number of outstanding requests (on the internal list of requests)
static void waitRequests()
Wait for all requests to finish.
Macros for easy insertion into run-time selection tables.
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
static const GeometricField< vector, fvPatchField, volMesh > & 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)
"nonBlocking" (immediate) : (MPI_Isend, MPI_Irecv)
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
Specialisation of patchDist for wall distance calculation.