Go to the documentation of this file.
38 #ifndef findCellParticle_H
39 #define findCellParticle_H
50 class findCellParticleCloud;
51 class findCellParticle;
53 Ostream&
operator<<(Ostream&,
const findCellParticle&);
127 const label tetFacei,
150 bool newFormat =
true
Factory class to read-construct particles used for.
void hitProcessorPatch(Cloud< findCellParticle > &, trackingData &)
List< List< point > > & cellToEnd()
static void readFields(TrackCloudType &c)
Read the fields associated with the owner cloud.
point & start()
Point to track from.
void hitSymmetryPatch(Cloud< findCellParticle > &, trackingData &)
Overridable function to handle the particle hitting a.
label & data()
Transported label.
Mesh consisting of general polyhedral cells.
autoPtr< findCellParticle > operator()(Istream &is) const
const barycentric & coordinates() const
Return current particle coordinates.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
friend Ostream & operator<<(Ostream &, const findCellParticle &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool move(Cloud< findCellParticle > &, trackingData &, const scalar)
Track all particles to their end point.
iNew(const polyMesh &mesh)
trackingData(Cloud< findCellParticle > &cloud, labelListList &cellToData, List< List< point >> &cellToEnd)
vector position() const
Return current particle position.
const polyMesh & mesh() const
Return the mesh database.
labelListList & cellToData()
void hitWallPatch(Cloud< findCellParticle > &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
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.
Particle class that finds cells by tracking.
void hitCyclicAMIPatch(Cloud< findCellParticle > &, trackingData &, const vector &)
Overridable function to handle the particle hitting a cyclicAMI.
void hitSymmetryPlanePatch(Cloud< findCellParticle > &, trackingData &)
Overridable function to handle the particle hitting a.
void hitCyclicPatch(Cloud< findCellParticle > &, trackingData &)
Overridable function to handle the particle hitting a cyclic.
void hitWedgePatch(Cloud< findCellParticle > &, trackingData &)
Overridable function to handle the particle hitting a wedge.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
Base cloud calls templated on particle type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
point & end()
Point to track to.
void hitCyclicACMIPatch(Cloud< findCellParticle > &, trackingData &, const vector &)
Overridable function to handle the particle hitting a cyclicACMI.
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.
bool hitPatch(Cloud< findCellParticle > &, trackingData &)
Overridable function to handle the particle hitting a patch.
A template class to specify that a data type can be considered as being contiguous in memory.
Class used to pass tracking data to the trackToFace function.
const point & start() const
Point to track from.