Go to the documentation of this file.
36 #ifndef trackedParticle_H
37 #define trackedParticle_H
47 class trackedParticleCloud;
117 const label tetFaceI,
212 bool move(trackingData&,
const scalar);
222 const scalar trackFraction,
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Class used to pass tracking data to the trackToFace function.
iNew(const polyMesh &mesh)
bool hitPatch(const polyPatch &, trackingData &td, const label patchI, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
List< PackedBoolList > & featureEdgeVisited_
Wedge front and back plane patch.
label i_
Passive label (used to store feature edge mesh)
autoPtr< particle > clone() const
Construct and return a clone.
bool move(trackingData &, const scalar)
Track all particles to their end point.
Cloud< trackedParticle > & cloud()
Return a reference to the cloud.
label k_
Passive label (used to store feature edge label)
This function object reads fields from the time directories and adds them to the mesh database for fu...
Mesh consisting of general polyhedral cells.
label j_
Passive label (used to store feature edge point)
void hitSymmetryPatch(const symmetryPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
label & k()
Transported label.
label k() const
Transported label.
void hitCyclicPatch(const cyclicPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a cyclic.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label i() const
Transported label.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
point & end()
Point to track to.
Symmetry patch for non-planar or multi-plane patches.
Factory class to read-construct particles used for.
Neighbour processor patch.
const polyMesh & mesh() const
Return the mesh database.
trackingData(Cloud< trackedParticle > &cloud, labelList &maxLevel, List< PackedBoolList > &featureEdgeVisited)
label & i()
Transported label.
friend Ostream & operator<<(Ostream &, const trackedParticle &)
trackedParticle(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI, const point &end, const label level, const label i, const label j, const label k)
Construct from components.
autoPtr< trackedParticle > operator()(Istream &is) const
label & j()
Transported label.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
label j() const
Transported label.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base cloud calls templated on particle type.
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
const vector & position() const
Return current particle position.
void hitWedgePatch(const wedgePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a wedge.
Particle class that marks cells it passes through. Used to mark cells visited by feature edges.
void hitSymmetryPlanePatch(const symmetryPlanePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
point end_
End point to track to.
void correctAfterParallelTransfer(const label, trackingData &)
Convert processor patch addressing to the global equivalents.
bool contiguous< trackedParticle >()
label level_
Level of this particle.