31 template<
class CloudType>
51 template<
class CloudType>
58 template<
class CloudType>
65 iter().writePosition(os);
75 template<
class CloudType>
89 "IOPosition<CloudType>::readData(Istream&, CloudType&)" 99 is.
readEndList(
"IOPosition<CloudType>::readData(Istream&, CloudType&)");
108 ) <<
"incorrect first token, '(', found " 133 ) <<
"incorrect first token, expected <int> or '(', found " 140 "void IOPosition<CloudType>::readData(Istream&, CloudType&)"
punctuationToken pToken() const
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
char readEndList(const char *funcName)
InfoProxy< token > info() const
Return info proxy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
void putBack(const token &)
Put back token.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label size() const
Return the number of particles in the cloud.
const dimensionedScalar c
Speed of light in a vacuum.
bool good() const
Return true if next operation might succeed.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
virtual bool write(const bool write=true) const
Write using setting from DB.
virtual bool writeData(Ostream &os) const
Pure virtual writaData function.
char readBeginList(const char *funcName)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
IOPosition(const CloudType &)
Construct from cloud.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Mesh consisting of general polyhedral cells.
virtual bool write(const bool write=true) const
Write using setting from DB.
const polyMesh & pMesh() const
Return the polyMesh reference.
virtual void readData(Istream &, CloudType &)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Templated base class for dsmc cloud.
bool isPunctuation() const