32 #ifndef writeMeshObject_H 33 #define writeMeshObject_H 48 bool disableHeaderChecking =
false 66 Info<<
" Reading " << io.headerClassName()
67 <<
" : " << name <<
endl;
72 if (disableHeaderChecking)
74 oldTypeName = T::typeName;
80 if (disableHeaderChecking)
82 const_cast<word&
>(T::typeName) = oldTypeName;
84 const_cast<word&
>(meshObject.type()) = io.headerClassName();
88 writeOk = meshObject.regIOobject::write();
A class for handling file names.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
bool writeMeshObject(const word &name, const fileName &meshDir, Time &runTime, bool disableHeaderChecking=false)
static const word null
An empty word.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...