42 #ifndef patchDataWave_H 43 #define patchDataWave_H 63 template<
class TransferType>
71 typedef typename TransferType::dataType Type;
132 bool correctWalls =
true 159 return patchDistance_;
164 return patchDistance_;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Takes a set of patches to start MeshWave from.
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.
Collection of functions used in wall distance calculation.
virtual void correct()
Correct for mesh geom/topo changes.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const FieldField< Field, Type > & patchData() const
const scalarField & distance() const
const FieldField< Field, scalar > & patchDistance() const
Mesh consisting of general polyhedral cells.
virtual ~patchDataWave()
Destructor.
const Field< Type > & cellData() const
const polyMesh & mesh() const
Access mesh.