36 #ifndef streamLineParticle_H 37 #define streamLineParticle_H 51 class streamLineParticle;
53 Ostream&
operator<<(Ostream&,
const streamLineParticle&);
101 const bool trackForward,
102 const label nSubCycle,
103 const scalar trackLength,
113 trackForward_(trackForward),
114 nSubCycle_(nSubCycle),
115 trackLength_(trackLength),
116 allPositions_(allPositions),
117 allScalars_(allScalars),
118 allVectors_(allVectors)
218 const scalar trackFraction,
Symmetry patch for non-planar or multi-plane patches.
const scalar trackLength_
static void writeFields(const Cloud< streamLineParticle > &)
Write.
bool move(trackingData &, const scalar)
Track all particles to their end point.
const polyMesh & mesh() const
Return the mesh database.
List< DynamicList< vectorList > > & allVectors_
void hitSymmetryPlanePatch(const symmetryPlanePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Factory class to read-construct particles used for parallel transfer.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const PtrList< interpolation< vector > > & vvInterp_
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void hitCyclicPatch(const cyclicPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a cyclic.
List< DynamicList< scalarList > > & allScalars_
bool hitPatch(const polyPatch &, trackingData &td, const label patchi, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
Neighbour processor patch.
autoPtr< particle > clone() const
Construct and return a clone.
void hitSymmetryPatch(const symmetryPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
DynamicList< vectorList > & allPositions_
A cloud is a collection of lagrangian particles.
Particle class that samples fields as it passes through. Used in streamline calculation.
Wedge front and back plane patch.
trackingData(Cloud< streamLineParticle > &cloud, const PtrList< interpolation< scalar >> &vsInterp, const PtrList< interpolation< vector >> &vvInterp, const label UIndex, const bool trackForward, const label nSubCycle, const scalar trackLength, DynamicList< List< point >> &allPositions, List< DynamicList< scalarList >> &allScalars, List< DynamicList< vectorList >> &allVectors)
Construct from components.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
static void readFields(Cloud< streamLineParticle > &)
Read.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const PtrList< interpolation< scalar > > & vsInterp_
streamLineParticle(const polyMesh &c, const vector &position, const label celli, const label lifeTime)
Construct from components.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const dimensionedScalar c
Speed of light in a vacuum.
Ostream & operator<<(Ostream &, const ensightPart &)
friend Ostream & operator<<(Ostream &, const streamLineParticle &)
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
void hitWedgePatch(const wedgePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a wedge.
vector position() const
Return current particle position.
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.