36template<
class TransferType>
37Foam::wallDistData<TransferType>::wallDistData
41 const bool correctWalls
57 correctWalls_(correctWalls),
66template<
class TransferType>
73template<
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];
119 bf[patchi].transfer(waveFld);
120 Field<Type>& wavePatchData = wave.patchData()[patchi];
121 fieldBf[patchi].
transfer(wavePatchData);
126 nUnset_ = wave.nUnset();
const DynamicField< Type > & field() const noexcept
Return const-reference to the primitive field values.
void transfer(List< Type > &list)
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Generic GeometricField class.
GeometricField(const IOobject &io, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
void transfer(PtrList< T > &list)
Transfer into this list and annul the argument list.
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie,...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie,...
const polyMesh & mesh() const
Access mesh.
labelHashSet getPatchIDs(const UList< wordRe > &patchNames) const
Return the set of patch IDs corresponding to the given names.
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
Mesh consisting of general polyhedral cells.
virtual void correct()
Correct for mesh geom/topo changes.
virtual ~wallDistData()
Destructor.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Us boundaryFieldRef().evaluateCoupled< coupledFaPatch >()
#define forAll(list, i)
Loop across all elements in list.