130 (name, mesh, searchEngine, dict)
146 searchEngine_(searchEngine)
219 return searchEngine_;
Various (local, not parallel) searches on polyMesh; uses (demand driven) octree to search...
const polyMesh & mesh() const
Access the mesh.
word axis() const
Return the axis name.
iNew(const polyMesh &mesh, const meshSearch &searchEngine)
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< sampledSet > New(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict)
Return a reference to the selected sampledSet.
void setSamples(const List< point > &samplingPositions, const labelList &samplingSegments, const labelList &samplingCells, const labelList &samplingFaces)
Sets sample data.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const pointField & positions() const
Access the positions.
virtual ~sampledSet()
Destructor.
autoPtr< pointField > positions_
Point positions.
const labelList & faces() const
Access the faces.
Holds list of sampling positions.
autoPtr< sampledSet > operator()(Istream &is) const
Holds list of sampling points which is filled at construction time. Various implementations of this b...
A class for handling words, derived from string.
TypeName("sampledSet")
Runtime type information.
Class used for the read-construction of.
declareRunTimeSelectionTable(autoPtr, sampledSet, word,(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict),(name, mesh, searchEngine, dict))
const word & name() const
Access the name.
sampledSet(const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const word &axis)
Construct from components.
const meshSearch & searchEngine() const
Access the search engine.
autoPtr< sampledSet > clone() const
Clone.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
labelList cells_
Cell numbers.
Mesh consisting of general polyhedral cells.
Macros to ease declaration of run-time selection tables.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const labelList & cells() const
Access the cells.
labelList faces_
Face numbers (-1 if not known)