Go to the documentation of this file.
36 #ifndef patchCloudSet_H
37 #define patchCloudSet_H
101 const scalar searchDist
Holds list of sampling points which is filled at construction time. Various implementations of this b...
const word & name() const
A class for handling words, derived from string.
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const meshSearch & searchEngine() const
const scalar searchDist_
Maximum distance to look for nearest.
void calcSamples(DynamicList< point > &samplingPts, DynamicList< label > &samplingCells, DynamicList< label > &samplingFaces, DynamicList< label > &samplingSegments, DynamicList< scalar > &samplingCurveDist) const
Samples all points in sampleCoords.
TypeName("patchCloud")
Runtime type information.
Mesh consisting of general polyhedral cells.
patchCloudSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const word &axis, const List< point > &sampleCoords, const labelHashSet &patchSet, const scalar searchDist)
Construct from components.
virtual ~patchCloudSet()
Destructor.
void genSamples()
Uses calcSamples to obtain samples. Copies them into *this.
const labelHashSet patchSet_
Patches to sample.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const polyMesh & mesh() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Like cloudSet but samples nearest patch face.
const List< point > sampleCoords_
Sampling points.