Go to the documentation of this file.
44 #ifndef patchDataWave_H
45 #define patchDataWave_H
65 template<
class TransferType>
73 typedef typename TransferType::dataType Type;
134 bool correctWalls =
true
161 return patchDistance_;
166 return patchDistance_;
A field of fields is a PtrList of fields with reference counting.
patchDataWave(const polyMesh &mesh, const labelHashSet &patchIDs, const UPtrList< Field< Type >> &initialPatchValuePtrs, bool correctWalls=true)
Construct from mesh, information on patches to initialize and flag.
Takes a set of patches to start MeshWave from.
scalarField & distance()
Non const access so we can 'transfer' contents for efficiency.
Mesh consisting of general polyhedral cells.
Field< Type > & cellData()
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~patchDataWave()
Destructor.
const scalarField & distance() const
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const Field< Type > & cellData() const
const polyMesh & mesh() const
Access mesh.
FieldField< Field, Type > & patchData()
const FieldField< Field, Type > & patchData() const
Collection of functions used in wall distance calculation.
virtual void correct()
Correct for mesh geom/topo changes.
const FieldField< Field, scalar > & patchDistance() const
FieldField< Field, scalar > & patchDistance()