38 os <<
"# vtk DataFile Version 2.0" <<
nl
39 <<
"surface written " << clock::dateTime().c_str() <<
nl
42 <<
"DATASET POLYDATA" <<
nl;
45 os <<
"POINTS " << pointLst.
size() <<
" float" <<
nl;
48 const point& pt = pointLst[ptI];
50 os << pt.
x() <<
' ' << pt.
y() <<
' ' << pt.
z() <<
nl;
64 nFaces += zoneLst[zoneI].
size();
69 <<
"CELL_DATA " << nFaces <<
nl
70 <<
"FIELD attributes 1" <<
nl
71 <<
"zone 1 " << nFaces <<
" float" <<
nl;
76 forAll(zoneLst[zoneI], localFaceI)
104 <<
"CELL_DATA " << zoneIds.
size() <<
nl
105 <<
"FIELD attributes 1" <<
nl
106 <<
"zone 1 " << zoneIds.
size() <<
" float" <<
nl;
121 os << zoneIds[faceI] + 1;