autoPtr< passiveParticle > operator()(Istream &is) const
const barycentric & coordinates() const noexcept
Return current particle coordinates.
virtual autoPtr< particle > clone() const
Return a clone.
Factory class to read-construct particles (for parallel transfer)
iNew(const polyMesh &mesh)
particle(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from components.
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
const polyMesh & mesh() const noexcept
Return the mesh database.
static void readFields(TrackCloudType &c)
Read the fields associated with the owner cloud.
vector position() const
Return current particle position.
passiveParticle(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from components.