Go to the documentation of this file.
35 #ifndef findCellParticle_H
36 #define findCellParticle_H
46 class findCellParticleCloud;
116 const label tetFaceI,
177 bool move(trackingData&,
const scalar);
187 const scalar trackFraction,
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
Factory class to read-construct particles used for.
Wedge front and back plane patch.
void hitSymmetryPlanePatch(const symmetryPlanePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
List< List< point > > & cellToEnd()
Cloud< findCellParticle > & cloud()
Return a reference to the cloud.
point end_
End point to track to.
void hitCyclicPatch(const cyclicPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a cyclic.
This function object reads fields from the time directories and adds them to the mesh database for fu...
labelListList & cellToData_
Mesh consisting of general polyhedral cells.
autoPtr< findCellParticle > operator()(Istream &is) const
List< List< point > > & cellToEnd_
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
friend Ostream & operator<<(Ostream &, const findCellParticle &)
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.
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
iNew(const polyMesh &mesh)
Symmetry patch for non-planar or multi-plane patches.
Neighbour processor patch.
const polyMesh & mesh() const
Return the mesh database.
labelListList & cellToData()
trackingData(Cloud< findCellParticle > &cloud, labelListList &cellToData, List< List< point > > &cellToEnd)
Particle class that finds cells by tracking.
findCellParticle(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI, const point &end, const label data)
Construct from components.
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.
void hitSymmetryPatch(const symmetryPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool contiguous< findCellParticle >()
Base cloud calls templated on particle type.
bool hitPatch(const polyPatch &, trackingData &td, const label patchI, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
const vector & position() const
Return current particle position.
void hitWedgePatch(const wedgePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a wedge.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool move(trackingData &, const scalar)
Track all particles to their end point.
const point & end() const
Point to track to.
autoPtr< particle > clone() const
Construct and return a clone.
Database for solution data, solver performance and other reduced data.
label data() const
Transported label.
Class used to pass tracking data to the trackToFace function.