39 Istream(format, version, compression),
50 setState(is_.rdstate());
ISstream(istream &is, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Construct as wrapper around istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void setBad()
Set stream to be bad.
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))
int peek()
Raw, low-level peek function.
streamFormat
Enumeration for the format of data in the stream.
ISstream & get(char &)
Raw, low-level get character function.
compressionType
Enumeration for the format of data in the stream.
ISstream & putback(const char &)
Raw, low-level putback character function.
const dimensionedScalar c
Speed of light in a vacuum.
void setState(ios_base::iostate state)
Set stream state.
ISstream & getLine(string &)
Raw, low-level getline into a string function.