108 bool correctWalls =
true 139 return patchDistance_;
144 return patchDistance_;
const polyMesh & mesh() const
Access mesh.
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.
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.
const FieldField< Field, scalar > & patchDistance() const
const scalarField & distance() const
Mesh consisting of general polyhedral cells.
patchWave(const polyMesh &mesh, const labelHashSet &patchIDs, bool correctWalls=true)
Construct from mesh and patches to initialize to 0 and flag.