virtual autoPtr< particle > clone() const
Construct and return a clone.
const barycentric & coordinates() const noexcept
Return current particle coordinates.
indexedParticle(const polyMesh &mesh, const vector &position, const label celli=-1, const label index=0)
Construct from a position and a cell.
particle(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from components.
const polyMesh & mesh() const noexcept
Return the mesh database.
static void readFields(TrackCloudType &c)
Read the fields associated with the owner cloud.
label index() const noexcept
Adds label index to base particle.
vector position() const
Return current particle position.