35 #ifndef findCellParticle_H 36 #define findCellParticle_H 46 class findCellParticleCloud;
51 class findCellParticle;
53 Ostream&
operator<<(Ostream&,
const findCellParticle&);
100 cellToData_(cellToData),
127 const label tetFacei,
233 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 &)
const polyMesh & mesh() const
Return the mesh database.
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.
autoPtr< particle > clone() const
Construct and return a clone.
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 barycentric &coordinates, 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 & start() const
Point to track from.
Neighbour processor patch.
bool hitPatch(const polyPatch &, trackingData &td, const label patchi, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
A cloud is a collection of lagrangian particles.
Wedge front and back plane patch.
label data() const
Transported label.
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.
const point & end() const
Point to track to.
List< List< point > > & cellToEnd()
Ostream & operator<<(Ostream &, const ensightPart &)
Particle class that finds cells by tracking.
const barycentric & coordinates() const
Return current particle coordinates.
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.
vector position() const
Return current particle position.
trackingData(Cloud< findCellParticle > &cloud, labelListList &cellToData, List< List< point >> &cellToEnd)