74#ifndef shortestPathSet_H
75#define shortestPathSet_H
110 static label findMinFace
115 const bitSet& isLeakPoint,
116 const bool minDistance,
128 bool& findMinDistance
132 void calculateDistance
157 const bitSet& isBlockedPoint,
170 bool genSingleLeakPath
172 const bool markLeakPath,
176 const point& insidePoint,
177 const label insideCelli,
178 const point& outsidePoint,
179 const label outsideCelli,
182 const scalar trackLength,
206 const bool markLeakPath,
210 const point& insidePoint,
211 const label insideCelli,
212 const point& outsidePoint,
231 const bool markLeakPath,
255 const bool markLeakPath,
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const word & axis() const
The sort axis name.
const word & name() const noexcept
The coord-set name.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
Mesh consisting of general polyhedral cells.
Holds list of sampling points which is filled at construction time. Various implementations of this b...
const meshSearch & searchEngine() const noexcept
sampledSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const coordSet::coordFormat axisType)
Construct from components.
const polyMesh & mesh() const noexcept
Finds shortest path (in terms of cell centres) to walk on mesh from any point in insidePoints to any ...
const labelList & leakFaces() const
Set of mesh faces needed to close the gap. Will close the gap but.
shortestPathSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const word &axis, const bool markLeakPath, const label maxIter, const labelUList &wallPatches, const pointField &insidePoints, const pointField &outsidePoints, const boolList &blockedFace)
Construct from components. blockedFace is an optional specification.
virtual ~shortestPathSet()=default
Destructor.
TypeName("shortestPath")
Runtime type information.
For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive tr...
A class for handling words, derived from Foam::string.
List< wallPoints > allFaceInfo(mesh_.nFaces())
const bitSet isBlockedFace(intersectedFaces())
List< wallPoints > allCellInfo(mesh_.nCells())
List< label > labelList
A List of labels.
vector point
Point is a vector.
List< bool > boolList
A List of bools.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.