108 bool correctWalls =
true 139 return patchDistance_;
144 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.
virtual ~patchWave()
Destructor.
Collection of functions used in wall distance calculation.
const FieldField< Field, scalar > & patchDistance() const
Takes a set of patches to start MeshWave from. After construction holds distance at cells and distanc...
virtual void correct()
Correct for mesh geom/topo changes.
Mesh consisting of general polyhedral cells.
const scalarField & distance() const
const polyMesh & mesh() const
Access mesh.
patchWave(const polyMesh &mesh, const labelHashSet &patchIDs, bool correctWalls=true)
Construct from mesh and patches to initialise to 0 and flag.