Go to the documentation of this file.
39 #ifndef wallBoundedStreamLineParticle_H
40 #define wallBoundedStreamLineParticle_H
53 class wallBoundedStreamLineParticleCloud;
58 class wallBoundedStreamLineParticle;
60 Ostream&
operator<<(Ostream&,
const wallBoundedStreamLineParticle&);
95 template <
class TrackCloudType>
98 TrackCloudType&
cloud,
102 const scalar trackLength,
103 const bitSet& isWallPatch,
172 const label tetFacei,
176 const bool trackForward,
186 bool newFormat =
true
229 template<
class TrackCloudType>
232 TrackCloudType& cloud,
234 const scalar trackTime
241 static void readFields(Cloud<wallBoundedStreamLineParticle>&);
246 const Cloud<wallBoundedStreamLineParticle>&
252 friend Ostream&
operator<<
autoPtr< particle > clone() const
wallBoundedStreamLineParticle(const polyMesh &c, const point &position, const label celli, const label tetFacei, const label tetPti, const label meshEdgeStart, const label diagEdge, const bool trackForward, const label lifeTime)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
DynamicList< point > sampledPositions_
List< DynamicList< scalarList > > & allScalars_
iNew(const polyMesh &mesh)
Mesh consisting of general polyhedral cells.
vector sample(trackingData &td)
virtual ~trackingData()=default
List< DynamicList< vectorList > > & allVectors_
DynamicList< vectorList > & allPositions_
Ostream & operator<<(Ostream &, const boundaryPatch &p)
label meshEdgeStart() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Particle class that tracks on triangles of boundary faces. Use trackToEdge similar to trackToFace on ...
Particle class that samples fields as it passes through. Used in streamline calculation.
const PtrList< interpolation< vector > > & vvInterp_
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const polyMesh & mesh() const
static void writeFields(const Cloud< wallBoundedStreamLineParticle > &)
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
List< DynamicList< vector > > sampledVectors_
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
static void readFields(Cloud< wallBoundedStreamLineParticle > &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
trackingData(TrackCloudType &cloud, const PtrList< interpolation< scalar >> &vsInterp, const PtrList< interpolation< vector >> &vvInterp, const label UIndex, const scalar trackLength, const bitSet &isWallPatch, DynamicList< List< point >> &allPositions, List< DynamicList< scalarList >> &allScalars, List< DynamicList< vectorList >> &allVectors)
const scalar trackLength_
const PtrList< interpolation< scalar > > & vsInterp_
const dimensionedScalar c
vector interpolateFields(const trackingData &td, const point &position, const label celli, const label facei)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
List< DynamicList< scalar > > sampledScalars_