Go to the documentation of this file.
32 #ifndef writeMeshObject_H
33 #define writeMeshObject_H
48 bool disableHeaderChecking =
false
72 if (disableHeaderChecking)
74 oldTypeName = T::typeName;
80 if (disableHeaderChecking)
82 const_cast<word&
>(T::typeName) = oldTypeName;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
A class for handling file names.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool headerOk()
Read and check header info.
const word & headerClassName() const
Return name of the class name read from header.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
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.