Go to the documentation of this file.
34 #ifndef writeMeshObject_H
35 #define writeMeshObject_H
44 template<
class Type,
class CheckType = Type>
50 const bool strictTypeChecking =
true,
51 const bool disableHeaderChecking =
false
67 if (io.typeHeaderOk<CheckType>(strictTypeChecking,
true,
false))
69 Info<<
" Reading " << io.headerClassName()
75 if (disableHeaderChecking)
77 oldTypeName = Type::typeName;
83 if (disableHeaderChecking)
85 const_cast<word&
>(Type::typeName) = oldTypeName;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for handling file names.
static word timeName(const scalar t, const int precision=precision_)
Ostream & endl(Ostream &os)
Add newline and flush stream.
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
bool writeMeshObject(const word &name, const fileName &meshDir, Time &runTime, const bool strictTypeChecking=true, const bool disableHeaderChecking=false)
static const word null
An empty word.