Go to the documentation of this file.
18 const word
dictName(
"faMeshDefinition");
57 <<
"Using the old faMeshDefinition location: "
59 <<
" instead of default location: "
81 if (!
meshDictIO.typeHeaderOk<IOdictionary>(
true))
88 Info<<
"Creating faMesh from definition: "
bool exists(const fileName &name, const bool checkGzip=true, const bool followLink=true)
Does the name exist (as DIRECTORY or FILE) in the file system?
const word dictName("faMeshDefinition")
Ostream & endl(Ostream &os)
Add newline and flush stream.
autoPtr< IOdictionary > meshDictPtr
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
IOdictionary & meshDefDict
messageStream Info
Information stream (stdout output on master, null elsewhere)
IOobject meshDictIO(dictPath, runTime, IOobject::MUST_READ, IOobject::NO_WRITE, false, true)
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const word & executable() const noexcept
Name of executable without the path.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
Foam::argList args(argc, argv)
bool isDir(const fileName &name, const bool followLink=true)
Does the name exist as a DIRECTORY in the file system?