45 #ifndef patchDataWave_H 46 #define patchDataWave_H 66 template<
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_;
const labelList patchIDs(pbm.indices(polyPatchNames, true))
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
Takes a set of patches to start MeshWave from.
A field of fields is a PtrList of fields with reference counting.
Collection of functions used in wall distance calculation.
virtual void correct()
Correct for mesh geom/topo changes.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
const FieldField< Field, Type > & patchData() const
const scalarField & distance() const
const FieldField< Field, scalar > & patchDistance() const
Mesh consisting of general polyhedral cells.
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.
virtual ~patchDataWave()
Destructor.
const Field< Type > & cellData() const
const polyMesh & mesh() const
Access mesh.