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