46 <<
"bad object " <<
name()
52 if (instance().empty())
55 <<
"instance undefined for object " <<
name()
64 && instance() != time().
system()
65 && instance() != time().caseSystem()
67 && instance() != time().caseConstant()
85 OFstream os(objectPath(), fmt, ver, cmp);
116 if (watchIndex_ != -1)
118 time().setUnmodified(watchIndex_);
129 time().writeFormat(),
131 time().writeCompression()
bool good() const
Return true if next operation might succeed.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define SeriousErrorInFunction
Report an error message using Foam::SeriousError.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
const Time & time() const
Return time.
streamFormat
Enumeration for the format of data in the stream.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
Write using given format, version and compression.
compressionType
Enumeration for the format of data in the stream.
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
const bool writeData(readBool(pdfDictionary.lookup("writeData")))
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
word name(const complex &)
Return a string representation of a complex.
static const versionNumber currentVersion
Current version number.
Constant dispersed-phase particle diameter model.
virtual bool write() const
Write using setting from DB.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
const fileName & instance() const
int system(const std::string &command)
Execute the specified command.
#define InfoInFunction
Report an information message using Foam::Info.