Specified point samples. Optionally ordered into a continuous path. Ordering is an optimisation; it enables tracking from one point to the next. If ordering is off, each point is searched for individually. More...


Public Member Functions | |
| TypeName ("points") | |
| Runtime type information. More... | |
| points (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~points () |
| Destructor. More... | |
Public Member Functions inherited from sampledSet | |
| TypeName ("sampledSet") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, sampledSet, word,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| sampledSet (const word &name, const polyMesh &mesh, const word &axis) | |
| Construct from components. More... | |
| sampledSet (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| autoPtr< sampledSet > | clone () const |
| Clone. More... | |
| virtual | ~sampledSet () |
| Destructor. More... | |
| const word & | name () const |
| Access the name. More... | |
| const polyMesh & | mesh () const |
| Access the mesh. More... | |
| const coordSet & | coords () const |
| Access the coordinate set. More... | |
| label | size () const |
| Return the size. More... | |
| const labelList & | segments () const |
| Return the size. More... | |
| const pointField & | positions () const |
| Access the positions. More... | |
| const labelList & | cells () const |
| Access the cells. More... | |
| const labelList & | faces () const |
| Access the faces. More... | |
| virtual void | movePoints () |
| Update for mesh point-motion. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Redistribute or update using the given distribution map. More... | |
| operator const coordSet & () const | |
| Cast to the coordinate set. More... | |
Static Public Member Functions | |
| static void | calcSamples (const polyMesh &mesh, const pointField &points, DynamicList< point > &samplingPositons, DynamicList< scalar > &samplingDistances, DynamicList< label > &samplingSegments, DynamicList< label > &samplingCells, DynamicList< label > &samplingFaces) |
| Calculate all the sampling points. More... | |
Static Public Member Functions inherited from sampledSet | |
| static autoPtr< sampledSet > | New (const word &name, const polyMesh &mesh, const dictionary &dict) |
| Return a reference to the selected sampledSet. More... | |
Specified point samples. Optionally ordered into a continuous path. Ordering is an optimisation; it enables tracking from one point to the next. If ordering is off, each point is searched for individually.
| Property | Description | Req'd? | Default |
|---|---|---|---|
points | The points to sample | yes | |
ordered | Are the points in order? | yes | |
axis | The coordinate axis that is written | yes |
Example specification:
{
type points;
points
(
(0.95 0 0.25)
(0.951251 0 0.250119)
(0.952468 0 0.250473)
(0.953618 0 0.251057)
(0.954669 0 0.251859)
(0.95559 0 0.252865)
(0.956353 0 0.254057)
(0.956931 0 0.255413)
(0.9573 0 0.256908)
(0.957441 0 0.258513)
);
ordered yes;
axis x;
}
| points | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
| TypeName | ( | "points" | ) |
Runtime type information.
|
static |
Calculate all the sampling points.
Definition at line 45 of file points.C.
References Cloud< ParticleType >::addParticle(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), b, Cloud< ParticleType >::clear(), meshSearch::findCell(), UILList< LListBase, T >::first(), Pair< Type >::first(), Foam::labelMax, Foam::mag(), sampledSet::mesh(), Cloud< ParticleType >::move(), UPstream::myProcNo(), meshSearch::New(), Foam::returnReduce(), Pair< Type >::second(), sampledSet::size(), List< T >::size(), and Foam::typeName().
