45#ifndef patchDataWave_H
46#define patchDataWave_H
66template<
class TransferType,
class TrackingData =
int>
74 typedef typename TransferType::dataType Type;
130 static int dummyTrackData_;
146 const bool correctWalls =
true,
147 TrackingData&
td = dummyTrackData_
174 return patchDistance_;
179 return patchDistance_;
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A field of fields is a PtrList of fields with reference counting.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const polyMesh & mesh() const
Access mesh.
virtual ~patchDataWave()
Destructor.
const FieldField< Field, scalar > & patchDistance() const
const Field< Type > & cellData() const
virtual void correct()
Correct for mesh geom/topo changes.
Field< Type > & cellData()
scalarField & distance()
Non const access so we can 'transfer' contents for efficiency.
FieldField< Field, scalar > & patchDistance()
const FieldField< Field, Type > & patchData() const
FieldField< Field, Type > & patchData()
const scalarField & distance() const
patchDataWave(const polyMesh &mesh, const labelHashSet &patchIDs, const UPtrList< Field< Type > > &initialPatchValuePtrs, const bool correctWalls=true, TrackingData &td=dummyTrackData_)
Construct from mesh, information on patches to initialize and flag.
Mesh consisting of general polyhedral cells.
Holds information regarding nearest wall point. Used in wall distance calculation.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.