Go to the documentation of this file.
54 forAll(sampleCoords_, sampleI)
56 label cellI = searchEngine().
findCell(sampleCoords_[sampleI]);
60 samplingPts.
append(sampleCoords_[sampleI]);
61 samplingCells.
append(cellI);
63 samplingSegments.
append(0);
64 samplingCurveDist.
append(1.0 * sampleI);
92 samplingCurveDist.
shrink();
Holds list of sampling points which is filled at construction time. Various implementations of this b...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search.
virtual ~triSurfaceMeshPointSet()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
void calcSamples(DynamicList< point > &samplingPts, DynamicList< label > &samplingCells, DynamicList< label > &samplingFaces, DynamicList< label > &samplingSegments, DynamicList< scalar > &samplingCurveDist) const
Samples all points in sampleCoords.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
triSurfaceMeshPointSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict)
Construct from dictionary.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
IOoject and searching on triSurface.
Mesh consisting of general polyhedral cells.
virtual point getRefPoint(const List< point > &) const
Get reference point.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void genSamples()
Uses calcSamples to obtain samples. Copies them into *this.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & shrink()
Shrink the allocated space to the number of elements used.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
virtual tmp< pointField > points() const
Get the points that define the surface.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
bool foundObject(const word &name) const
Is the named Type found?
void setSamples(const List< point > &samplingPts, const labelList &samplingCells, const labelList &samplingFaces, const labelList &samplingSegments, const scalarList &samplingCurveDist)
Sets sample data.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label findCell(const point &location, const label seedCellI=-1, const bool useTreeSearch=true) const
Find cell containing location.
const word & constant() const
Return constant name.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
void size(const label)
Override size to be inconsistent with allocated storage.
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.