110 bool correctWalls =
true 141 return patchDistance_;
146 return patchDistance_;
const labelList patchIDs(pbm.patchSet(polyPatchNames, false, true).sortedToc())
virtual ~patchWave()
Destructor.
A field of fields is a PtrList of fields with reference counting.
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 initialize to 0 and flag.