32 #ifndef writeMeshObject_H 33 #define writeMeshObject_H 42 template<
class Type,
class CheckType = Type>
48 bool disableHeaderChecking =
false 66 Info<<
" Reading " << io.headerClassName()
67 <<
" : " << name <<
endl;
72 if (disableHeaderChecking)
74 oldTypeName = Type::typeName;
80 if (disableHeaderChecking)
82 const_cast<word&
>(Type::typeName) = oldTypeName;
84 const_cast<word&
>(meshObject.type()) = io.headerClassName();
88 writeOk = meshObject.regIOobject::write();
A class for handling file names.
Templated form of IOobject providing type information for file reading and header type checking...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
A class for handling words, derived from string.
static const word null
An empty word.
bool writeMeshObject(const word &name, const fileName &meshDir, Time &runTime, bool disableHeaderChecking=false)
word name(const complex &)
Return a string representation of a complex.