36 #ifndef wallBoundedStreamLineParticle_H 37 #define wallBoundedStreamLineParticle_H 50 class wallBoundedStreamLineParticleCloud;
55 class wallBoundedStreamLineParticle;
57 Ostream&
operator<<(Ostream&,
const wallBoundedStreamLineParticle&);
76 Cloud<wallBoundedStreamLineParticle>
102 const bool trackForward,
103 const scalar trackLength,
122 trackForward_(trackForward),
123 trackLength_(trackLength),
125 allPositions_(allPositions),
126 allScalars_(allScalars),
127 allVectors_(allVectors)
172 const label tetFacei,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< DynamicList< vectorList > > & allVectors_
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static void writeFields(const Cloud< wallBoundedStreamLineParticle > &)
Write.
const PtrList< interpolation< vector > > & vvInterp_
Factory class to read-construct particles used for.
autoPtr< particle > clone() const
Construct and return a clone.
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.
bool move(trackingData &, const scalar trackTime)
Track all particles to their end point.
const vector & position() const
Return current particle position.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A cloud is a collection of lagrangian particles.
const polyMesh & mesh_
Reference to the polyMesh database.
DynamicList< vectorList > & allPositions_
const scalar trackLength_
Particle class that tracks on triangles of boundary faces. Use trackToEdge similar to trackToFace on ...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const PtrList< interpolation< scalar > > & vsInterp_
static void readFields(Cloud< wallBoundedStreamLineParticle > &)
Read.
label meshEdgeStart() const
-1 or label of mesh edge
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 &)
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)
const polyMesh & mesh() const
Return the mesh database.
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.
Class used to pass tracking data to the trackToFace function.
label diagEdge() const
-1 or diagonal edge
Class used to pass tracking data to the trackToEdge function.
Particle class that samples fields as it passes through. Used in streamline calculation.
List< DynamicList< scalarList > > & allScalars_