39 #ifndef Foam_streamLineParticle_H 40 #define Foam_streamLineParticle_H 53 class streamLineParticle;
54 class streamLineParticleCloud;
56 Ostream&
operator<<(Ostream&,
const streamLineParticle&);
96 const label nSubCycle,
97 const scalar trackLength,
141 const trackingData&
td,
157 const bool trackForward,
167 bool newFormat =
true 182 const polyMesh& mesh_;
const scalar trackLength_
void hitProcessorPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a processorPatch.
static void writeFields(const Cloud< streamLineParticle > &)
Write.
List< DynamicList< vectorList > > & allVectors_
void hitWedgePatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a wedge.
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_
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void hitCyclicACMIPatch(streamLineParticleCloud &, trackingData &, const vector &direction)
Overridable function to handle the particle hitting a.
autoPtr< streamLineParticle > operator()(Istream &is) const
bool hitPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a patch.
List< DynamicList< scalarList > > & allScalars_
trackingData(streamLineParticleCloud &cloud, const PtrList< interpolation< scalar >> &vsInterp, const PtrList< interpolation< vector >> &vvInterp, const interpolation< vector > &UInterp, const label nSubCycle, const scalar trackLength, DynamicList< List< point >> &allPositions, List< DynamicList< scalarList >> &allScalars, List< DynamicList< vectorList >> &allVectors)
Construct from components.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
void hitSymmetryPlanePatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a.
DynamicList< vectorList > & allPositions_
A cloud is a registry collection of lagrangian particles.
Particle class that samples fields as it passes through. Used in streamline calculation.
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.
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const PtrList< interpolation< scalar > > & vsInterp_
A Cloud of streamLine particles.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const polyMesh & mesh() const noexcept
Return the mesh database.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
virtual autoPtr< particle > clone() const
Return a clone.
bool move(streamLineParticleCloud &, trackingData &, const scalar)
Track all particles to their end point.
Abstract base class for volume field interpolation.
friend Ostream & operator<<(Ostream &, const streamLineParticle &)
streamLineParticle(const polyMesh &mesh, const vector &position, const label celli, const bool trackForward, const label lifeTime)
Construct from components.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
void hitCyclicAMIPatch(streamLineParticleCloud &, trackingData &, const vector &direction)
Overridable function to handle the particle hitting a.
const interpolation< vector > & UInterp_
void hitWallPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
vector position() const
Return current particle position.
iNew(const polyMesh &mesh)
void hitSymmetryPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a.
void hitCyclicPatch(streamLineParticleCloud &, trackingData &)
Overridable function to handle the particle hitting a cyclic.