30 template<
class CloudType>
50 template<
class CloudType>
57 template<
class CloudType>
64 iter().writePosition(os);
74 template<
class CloudType>
88 "IOPosition<CloudType>::readData(Istream&, CloudType&)" 98 is.
readEndList(
"IOPosition<CloudType>::readData(Istream&, CloudType&)");
107 ) <<
"incorrect first token, '(', found " 132 ) <<
"incorrect first token, expected <int> or '(', found " 139 "void IOPosition<CloudType>::readData(Istream&, CloudType&)"
punctuationToken pToken() const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
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)
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
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