40namespace patchDistMethods
85 patchDistMethod::patchTypes<scalar>(mesh_, patchIDs_)
92 for (
const label patchi : patchIDs_)
94 nbf[patchi] ==
patches[patchi].nf();
116 patchData.
set(patchi, &nbf[patchi]);
143 if (!isA<emptyFvPatchScalarField>(ybf[patchi]))
149 nbf[patchi].
transfer(wavePatchData);
154 this->nUnset_ = wave.
nUnset();
156 return this->nUnset_ > 0;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void transfer(PtrList< T > &list)
Transfer into this list and annul the argument list.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const T * set(const label i) const
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.
Takes a set of patches to start MeshWave from.
const FieldField< Field, scalar > & patchDistance() const
const Field< Type > & cellData() const
const FieldField< Field, Type > & patchData() const
const scalarField & distance() const
Specialisation of patchDist for wall distance calculation.
Variant of meshWave distance-to-patch method.
Fast topological mesh-wave method for calculating the distance to nearest patch for all cells and bou...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const polyBoundaryMesh & patches
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimless
Dimensionless.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.