Go to the documentation of this file.
30 template<
class CloudType>
50 template<
class CloudType>
64 template<
class CloudType>
71 iter().writePosition(os);
81 template<
class CloudType>
86 Istream& is = readStream(checkClass ? typeName :
"");
95 is.
readBeginList(
"IOPosition<CloudType>::readData(CloudType, bool)");
104 is.
readEndList(
"IOPosition<CloudType>::readData(CloudType, bool)");
113 ) <<
"incorrect first token, '(', found "
138 ) <<
"incorrect first token, expected <int> or '(', found "
145 "void IOPosition<CloudType>::readData(CloudType&, bool)"
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual bool write() const
virtual bool writeData(Ostream &os) const
char readBeginList(const char *funcName)
char readEndList(const char *funcName)
virtual bool write() const
Write using setting from DB.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A token holds items read from Istream.
Mesh consisting of general polyhedral cells.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
IOPosition(const CloudType &)
Construct from cloud.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void readData(CloudType &c, bool checkClass)
InfoProxy< token > info() const
Return info proxy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Templated base class for dsmc cloud.
punctuationToken pToken() const
virtual bool check(const char *operation) const
Check IOstream status for given operation.
ParticleType particleType
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))
errorManipArg< error, int > exit(error &err, const int errNo=1)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void putBack(const token &)
Put back token.
const dimensionedScalar c
Speed of light in a vacuum.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.
bool isPunctuation() const