indexedParticle(const indexedParticle &p)
Construct as a copy.
Adds label index to base particle.
const polyMesh & mesh() const
Return the mesh database.
indexedParticle(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI, const label index=0)
Construct from components.
particle(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from components.
const vector & position() const
Return current particle position.
virtual autoPtr< particle > clone() const
Construct and return a clone.