43 const word& fieldName,
48 std::ofstream pStream(fileName.c_str());
51 <<
"# vtk DataFile Version 2.0" <<
std::endl
61 pStream <<
"DATASET POLYDATA" <<
std::endl;
88 pStream <<
"POLYGONS " << fp.size() <<
' ' << nFaceVerts
114 <<
"CELL_DATA " << fp.size() << std::endl
118 pStream << fieldName <<
" 1 " << fp.size() <<
" int" <<
std::endl;