19 refPtr<polyMesh>
topoMeshPtr(blocks.topology(
true));
24 OFstream
os(
runTime.path()/
"blockTopology.obj");
26 Info<<
"Writing block structure in obj format: " 27 <<
os.name().name() <<
endl;
31 os <<
"v " <<
p.x() <<
' ' <<
p.y() <<
' ' <<
p.z() <<
nl;
36 os <<
"l " <<
e.start() + 1 <<
' ' <<
e.end() + 1 <<
nl;
42 OFstream
os(
runTime.path()/
"blockCentres.obj");
44 Info<<
"Writing block centres in obj format: " 45 <<
os.name().name() <<
endl;
49 os <<
"v " <<
p.x() <<
' ' <<
p.y() <<
' ' <<
p.z() <<
nl;
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionedScalar e
Elementary charge.
OBJstream os(runTime.globalPath()/outputName)
vector point
Point is a vector.
const polyMesh & topoMesh
messageStream Info
Information stream (stdout output on master, null elsewhere)
refPtr< polyMesh > topoMeshPtr(blocks.topology(true))