Go to the documentation of this file.
38 #ifndef streamLineParticle_H
39 #define streamLineParticle_H
53 class streamLineParticle;
54 class streamLineParticleCloud;
56 Ostream&
operator<<(Ostream&,
const streamLineParticle&);
102 const label nSubCycle,
103 const scalar trackLength,
164 const bool trackForward,
174 bool newFormat =
true
streamLineParticle(const polyMesh &c, const vector &position, const label celli, const bool trackForward, const label lifeTime)
Construct from components.
void hitSymmetryPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a.
void hitProcessorPatch(streamLineParticleCloud &, trackingData &)
A Cloud of streamLine particles.
Particle class that samples fields as it passes through. Used in streamline calculation.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
static void writeFields(const Cloud< streamLineParticle > &)
Write.
void hitCyclicACMIPatch(streamLineParticleCloud &, trackingData &, const vector &direction)
Overridable function to handle the particle hitting a.
void hitWedgePatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a wedge.
List< DynamicList< scalarList > > & allScalars_
DynamicList< vectorList > & allPositions_
Mesh consisting of general polyhedral cells.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
friend Ostream & operator<<(Ostream &, const streamLineParticle &)
const scalar trackLength_
trackingData(streamLineParticleCloud &cloud, const PtrList< interpolation< scalar >> &vsInterp, const PtrList< interpolation< vector >> &vvInterp, const label UIndex, const label nSubCycle, const scalar trackLength, DynamicList< List< point >> &allPositions, List< DynamicList< scalarList >> &allScalars, List< DynamicList< vectorList >> &allVectors)
Construct from components.
bool move(streamLineParticleCloud &, trackingData &, const scalar)
Track all particles to their end point.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< particle > clone() const
Construct and return a clone.
iNew(const polyMesh &mesh)
vector position() const
Return current particle position.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const polyMesh & mesh() const
Return the mesh database.
List< DynamicList< vectorList > > & allVectors_
void hitWallPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
const PtrList< interpolation< scalar > > & vsInterp_
void hitSymmetryPlanePatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a.
Factory class to read-construct particles used for parallel transfer.
void hitCyclicAMIPatch(streamLineParticleCloud &, trackingData &, const vector &direction)
Overridable function to handle the particle hitting a.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
bool hitPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a patch.
autoPtr< streamLineParticle > operator()(Istream &is) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void hitCyclicPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a cyclic.
const PtrList< interpolation< vector > > & vvInterp_
const dimensionedScalar c
Speed of light in a vacuum.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static void readFields(Cloud< streamLineParticle > &)
Read.