38#ifndef Foam_IOPosition_H
39#define Foam_IOPosition_H
53template<
class CloudType>
94 virtual bool write(
const bool writeOnProc =
true)
const;
Base cloud calls templated on particle type.
virtual bool writeData(Ostream &os) const
Pure virtual writeData function.
virtual void readData(Istream &, CloudType &)
IOPosition(const CloudType &c, cloud::geometryType geomType=cloud::geometryType::COORDINATES)
Construct from cloud.
virtual const word & type() const
Runtime type name information. Use cloud type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
geometryType
Cloud geometry type (internal or IO representations).
@ COORDINATES
barycentric coordinates
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
virtual bool readData(Istream &)
Virtual readData function.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
DSMCCloud< dsmcParcel > CloudType