36 template<
class TransferType>
41 const bool correctWalls
57 correctWalls_(correctWalls),
66 template<
class TransferType>
73 template<
class TransferType>
93 patchData.set(patchi, &fieldBf[patchi]);
97 patchDataWave<TransferType> wave
106 transfer(wave.distance());
108 field_.transfer(wave.cellData());
115 scalarField& waveFld = wave.patchDistance()[patchi];
117 if (!isA<emptyFvPatchScalarField>(bf[patchi]))
120 Field<Type>& wavePatchData = wave.patchData()[patchi];
121 fieldBf[patchi].
transfer(wavePatchData);
126 nUnset_ = wave.nUnset();
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
virtual ~wallDistData()
Destructor.
void transfer(List< T > &list)
Transfer the contents of the argument List into this list and annul the argument list.
Generic GeometricField class.
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Type of boundary fields.
#define forAll(list, i)
Loop across all elements in list.
Collection of functions used in wall distance calculation.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
label size() const noexcept
The number of elements in the list.
void transfer(UPtrList< T > &list)
Transfer contents into this list and annul the argument.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
virtual void correct()
Correct for mesh geom/topo changes.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Mesh data needed to do the Finite Volume discretisation.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
Wall distance calculation. Like wallDist but also transports extra data (template argument)...
Mesh consisting of general polyhedral cells.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const polyMesh & mesh() const
Access mesh.