18 if (UPstream::master())
24 OFstream
os(
mesh.time().globalPath()/
"checkMesh.dict");
30 mesh.time().globalPath()/
"checkMesh.dict",
36 Info<<
"Writing mesh data to " <<
os.name() <<
nl <<
endl;
40 mesh.data().meshDict().write(
os,
false);
42 IOobject::writeEndDivider(
os);
48 OFstream
os(
mesh.time().globalPath()/
"checkMesh.json");
50 Info<<
"Writing mesh data to " <<
os.name() <<
nl <<
endl;
52 JSONformatter json(
os);
54 json.writeDict(
mesh.data().meshDict());
const Enum< writeChecksFormatType > writeChecksFormatTypeNames
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
writeChecksFormatType writeChecksFormat(writeChecksFormatType::none)
OBJstream os(runTime.globalPath()/outputName)
messageStream Info
Information stream (stdout output on master, null elsewhere)