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.
void calcSamples(DynamicList< point > &samplingPts, DynamicList< label > &samplingCells, DynamicList< label > &samplingFaces, DynamicList< label > &samplingSegments, DynamicList< scalar > &samplingCurveDist) const
Samples all point in sampleCoords_.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const meshSearch & searchEngine() const
Sample along poly line defined by a list of points (knots)
Mesh consisting of general polyhedral cells.
bool trackToBoundary(passiveParticleCloud &particleCloud, passiveParticle &singleParticle, label &sampleI, DynamicList< point > &samplingPts, DynamicList< label > &samplingCells, DynamicList< label > &samplingFaces, DynamicList< scalar > &samplingCurveDist) const
Sample till hits boundary. Called with singleParticle at position.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
TypeName("polyLine")
Runtime type information.
A Cloud of passive particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
polyLineSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const word &axis, const List< point > &samplePoints)
Construct from components.
void genSamples()
Uses calcSamples to obtain samples. Copies them into *this.
List< point > sampleCoords_
Sampling points.
const polyMesh & mesh() const
virtual ~polyLineSet()
Destructor.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...