Face-intersections along a line. More...


Public Member Functions | |
| TypeName ("lineFace") | |
| Runtime type information. More... | |
| lineFace (const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~lineFace () |
| 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 meshSearch &searchEngine, const dictionary &dict),(name, mesh, searchEngine, dict)) | |
| sampledSet (const word &name, const polyMesh &mesh, const meshSearch &searchEngine, const word &axis) | |
| Construct from components. More... | |
| sampledSet (const word &name, const polyMesh &mesh, const meshSearch &searchEngine, 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 meshSearch & | searchEngine () const |
| Access the search engine. 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... | |
Public Member Functions inherited from coordSet | |
| coordSet () | |
| Construct null. More... | |
| coordSet (const labelList &segments, const word &positionName=word::null, const pointField &positions=pointField::null(), const word &distanceName=word::null, const scalarField &distances=scalarField::null(), const word &axis=axisTypeNames_[axisType::DEFAULT]) | |
| Construct from components. More... | |
| coordSet (const bool contiguous, const word &positionName, const pointField &positions, const word &axis=axisTypeNames_[axisType::DEFAULT]) | |
| Construct from positions. More... | |
| coordSet (const bool contiguous, const word &distanceName, const scalarField &distances, const word &axis=axisTypeNames_[axisType::DEFAULT]) | |
| Construct from distances. More... | |
| label | size () const |
| Return the size. More... | |
| const labelList & | segments () const |
| Return the segments. More... | |
| word | axis () const |
| Return the axis name. More... | |
| bool | hasScalarAxis () const |
| Is the coordinate axis a scalar? More... | |
| bool | hasPointAxis () const |
| Is the coordinate axis a point? More... | |
| scalar | scalarCoord (const label index) const |
| Get scalar coordinate (axis is x, y, z or distance) More... | |
| tmp< scalarField > | scalarCoords () const |
| Get scalar coordinates (axis is x, y, z or distance) More... | |
| word | scalarName () const |
| Return the name of the scalar coordinates. More... | |
| point | pointCoord (const label index) const |
| Get vector coordinate (axis is xyz) More... | |
| tmp< pointField > | pointCoords () const |
| Get vector coordinate (axis is xyz) More... | |
| const pointField & | positions () const |
| Get the positions. More... | |
| word | pointName () const |
| Return the name of the point coordinates. More... | |
| labelList | vertices () const |
| Return a list of isolated vertices. These are the points that are. More... | |
| labelPairList | edges () const |
| Return a list of edges. These are adjacent pairs of points which. More... | |
| labelListList | lines () const |
| Return a list of lines. These are lists of points which are in the. More... | |
| Tuple2< coordSet, labelList > | gather () const |
| Combine coordinate sets onto the master. Return both the combined. More... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | gather (const Field< Type > &values, const labelList &order) |
Static Public Member Functions | |
| static void | calcSamples (const polyMesh &mesh, const meshSearch &searchEngine, const vector &start, const vector &end, const label storeFaces, const bool storeCells, DynamicList< point > &samplingPositions, 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 meshSearch &searchEngine, const dictionary &dict) |
| Return a reference to the selected sampledSet. More... | |
Static Public Member Functions inherited from coordSet | |
| template<class Type > | |
| static tmp< Field< Type > > | gather (const Field< Type > &values, const labelList &order) |
| Combine a field using the ordering obtained from the coordinate set. More... | |
Additional Inherited Members | |
Public Types inherited from coordSet | |
| enum class | axisType { XYZ , X , Y , Z , DISTANCE , DEFAULT } |
| Enumeration defining the output format for coordinates. More... | |
Static Public Attributes inherited from coordSet | |
| static const NamedEnum< axisType, 6 > | axisTypeNames_ |
| String representation of axis enums. More... | |
Protected Member Functions inherited from sampledSet | |
| void | setSamples (const List< point > &samplingPositions, const labelList &samplingSegments, const labelList &samplingCells, const labelList &samplingFaces) |
| Sets sample data. More... | |
| void | setSamples (const List< point > &samplingPositions, const List< scalar > &samplingDistances, const labelList &samplingSegments, const labelList &samplingCells, const labelList &samplingFaces) |
| Sets sample data. More... | |
Protected Attributes inherited from sampledSet | |
| labelList | cells_ |
| Cell numbers. More... | |
| labelList | faces_ |
| Face numbers (-1 if not known) More... | |
Protected Attributes inherited from coordSet | |
| labelList | segments_ |
| Connected segments. More... | |
| word | positionName_ |
| Name of the positions. More... | |
| autoPtr< pointField > | positions_ |
| Point positions. More... | |
| word | distanceName_ |
| Name of the distances. More... | |
| autoPtr< scalarField > | distances_ |
| Scalar distances. More... | |
| axisType | axis_ |
| Axis. More... | |
Face-intersections along a line.
| Property | Description | Req'd? | Default |
|---|---|---|---|
start | The start point of the line | yes | |
end | The end point of the line | yes | |
axis | The coordinate axis that is written | yes |
Example specification:
{
type lineFace;
start (0.6 0.6 0.5);
end (0.6 -0.3 -0.1);
axis x;
}Definition at line 89 of file lineFace.H.
| lineFace | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const meshSearch & | searchEngine, | ||
| const dictionary & | dict | ||
| ) |
Construct from dictionary.
Definition at line 333 of file lineFace.C.
|
virtual |
Destructor.
Definition at line 351 of file lineFace.C.
| TypeName | ( | "lineFace" | ) |
Runtime type information.
|
static |
Calculate all the sampling points.
Definition at line 48 of file lineFace.C.
References Cloud< ParticleType >::addParticle(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), List< T >::append(), b, Cloud< ParticleType >::clear(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), List< T >::clear(), meshSearch::findCell(), UILList< LListBase, T >::first(), Pair< Type >::first(), forAll, Pstream::gatherList(), meshSearch::intersections(), Foam::mag(), sampledSet::mesh(), Cloud< ParticleType >::move(), UPstream::myProcNo(), n, UPstream::nProcs(), particle::onFace(), p, particle::position(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::resize(), Foam::returnReduce(), Foam::reverse(), Pstream::scatterList(), sampledSet::searchEngine(), Pair< Type >::second(), Cloud< ParticleType >::size(), List< T >::size(), and particle::trackToFace().
