Go to the documentation of this file.
35 #ifndef patchSeedSet_H
36 #define patchSeedSet_H
Holds list of sampling points which is filled at construction time. Various implementations of this b...
const pointField selectedLocations_
Patch faces to seed selected based on nearness to supplied points.
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.
Initialises points on or just off patch.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const meshSearch & searchEngine() const
patchSeedSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict)
Construct from dictionary.
TypeName("patchSeed")
Runtime type information.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const label maxPoints_
Maximum number of patch faces to seed (if in random subset mode)
Pre-declare SubField and related Field type.
void genSamples()
Uses calcSamples to obtain samples. Copies them into *this.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~patchSeedSet()
Destructor.
const polyMesh & mesh() const
const labelHashSet patchSet_
Patches to sample.
void calcSamples(DynamicList< point > &samplingPts, DynamicList< label > &samplingCells, DynamicList< label > &samplingFaces, DynamicList< label > &samplingSegments, DynamicList< scalar > &samplingCurveDist)
Samples all points in sampleCoords.
autoPtr< Random > rndGenPtr_
Random number generator (if maxPoints < num patch faces)