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
213 bool move(streamLineParticleCloud&, trackingData&,
const scalar);
217 bool hitPatch(streamLineParticleCloud&, trackingData&);
237 streamLineParticleCloud&,
246 streamLineParticleCloud&,
256 void hitWallPatch(streamLineParticleCloud&, trackingData&);
262 static void readFields(Cloud<streamLineParticle>&);
265 static void writeFields(
const Cloud<streamLineParticle>&);
streamLineParticle(const polyMesh &c, const vector &position, const label celli, const bool trackForward, const label lifeTime)
void hitSymmetryPatch(streamLineParticleCloud &, trackingData &)
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 > &)
void hitCyclicACMIPatch(streamLineParticleCloud &, trackingData &, const vector &direction)
void hitWedgePatch(streamLineParticleCloud &, trackingData &)
List< DynamicList< scalarList > > & allScalars_
DynamicList< vectorList > & allPositions_
Mesh consisting of general polyhedral cells.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
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)
bool move(streamLineParticleCloud &, trackingData &, const scalar)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< particle > clone() const
iNew(const polyMesh &mesh)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const polyMesh & mesh() const
List< DynamicList< vectorList > > & allVectors_
void hitWallPatch(streamLineParticleCloud &, trackingData &)
const PtrList< interpolation< scalar > > & vsInterp_
void hitSymmetryPlanePatch(streamLineParticleCloud &, trackingData &)
void hitCyclicAMIPatch(streamLineParticleCloud &, trackingData &, const vector &direction)
Vector< scalar > vector
A scalar version of the templated Vector.
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 &)
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 &)
const PtrList< interpolation< vector > > & vvInterp_
const dimensionedScalar c
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static void readFields(Cloud< streamLineParticle > &)