36 #ifndef wallBoundedStreamLineParticle_H 37 #define wallBoundedStreamLineParticle_H 50 class wallBoundedStreamLineParticleCloud;
68 Cloud<wallBoundedStreamLineParticle>
94 const bool trackForward,
95 const scalar trackLength,
114 trackForward_(trackForward),
115 trackLength_(trackLength),
117 allPositions_(allPositions),
118 allScalars_(allScalars),
119 allVectors_(allVectors)
164 const label tetFaceI,
Factory class to read-construct particles used for.
label meshEdgeStart() const
-1 or label of mesh edge
label diagEdge() const
-1 or diagonal edge
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
trackingData(Cloud< wallBoundedStreamLineParticle > &cloud, const PtrList< interpolation< scalar > > &vsInterp, const PtrList< interpolation< vector > > &vvInterp, const label UIndex, const bool trackForward, const scalar trackLength, const PackedBoolList &isWallPatch, DynamicList< List< point > > &allPositions, List< DynamicList< scalarList > > &allScalars, List< DynamicList< vectorList > > &allVectors)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Particle class that samples fields as it passes through. Used in streamline calculation.
wallBoundedStreamLineParticle(const polyMesh &c, const vector &position, const label cellI, const label tetFaceI, const label tetPtI, const label meshEdgeStart, const label diagEdge, const label lifeTime)
Construct from components.
Class used to pass tracking data to the trackToEdge function.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
autoPtr< particle > clone() const
Construct and return a clone.
List< DynamicList< scalarList > > & allScalars_
static void readFields(Cloud< wallBoundedStreamLineParticle > &)
Read.
static void writeFields(const Cloud< wallBoundedStreamLineParticle > &)
Write.
const vector & position() const
Return current particle position.
DynamicList< vectorList > & allPositions_
const polyMesh & mesh_
Reference to the polyMesh database.
const polyMesh & mesh() const
Return the mesh database.
A cloud is a collection of lagrangian particles.
Mesh consisting of general polyhedral cells.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
const PtrList< interpolation< scalar > > & vsInterp_
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionedScalar c
Speed of light in a vacuum.
Class used to pass tracking data to the trackToFace function.
Particle class that tracks on triangles of boundary faces. Use trackToEdge similar to trackToFace on ...
bool move(trackingData &, const scalar trackTime)
Track all particles to their end point.
This function object reads fields from the time directories and adds them to the mesh database for fu...
const scalar trackLength_
const PtrList< interpolation< vector > > & vvInterp_
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
List< DynamicList< vectorList > > & allVectors_