35 #ifndef findCellParticle_H 36 #define findCellParticle_H 46 class findCellParticleCloud;
51 class findCellParticle;
53 Ostream&
operator<<(Ostream&,
const findCellParticle&);
97 cellToData_(cellToData),
124 const label tetFacei,
195 const scalar trackFraction,
Symmetry patch for non-planar or multi-plane patches.
void hitWedgePatch(const wedgePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a wedge.
friend Ostream & operator<<(Ostream &, const findCellParticle &)
bool contiguous< findCellParticle >()
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelListList & cellToData()
void hitSymmetryPatch(const symmetryPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
void hitCyclicPatch(const cyclicPolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a cyclic.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.
static void readFields(CloudType &c)
Read the fields associated with the owner cloud.
const point & end() const
Point to track to.
Neighbour processor patch.
label data() const
Transported label.
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.
A cloud is a collection of lagrangian particles.
const polyMesh & mesh_
Reference to the polyMesh database.
Wedge front and back plane patch.
void hitProcessorPatch(const processorPolyPatch &, trackingData &td)
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
void hitWallPatch(const wallPolyPatch &, trackingData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
Base cloud calls templated on particle type.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Database for solution data, solver performance and other reduced data.
List< List< point > > & cellToEnd()
Ostream & operator<<(Ostream &, const ensightPart &)
Particle class that finds cells by tracking.
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.
void hitSymmetryPlanePatch(const symmetryPlanePolyPatch &, trackingData &td)
Overridable function to handle the particle hitting a.
A patch is a list of labels that address the faces in the global face list.
Factory class to read-construct particles used for.
Class used to pass tracking data to the trackToFace function.
bool move(trackingData &, const scalar)
Track all particles to their end point.
trackingData(Cloud< findCellParticle > &cloud, labelListList &cellToData, List< List< point >> &cellToEnd)
autoPtr< particle > clone() const
Construct and return a clone.