26 #include "writePointSet.H" 35 const primitiveMesh& mesh,
37 const fileName& fileName
40 std::ofstream pStream(fileName.c_str());
43 <<
"# vtk DataFile Version 2.0" << std::endl
53 pStream <<
"DATASET POLYDATA" <<
std::endl;
71 DynamicList<floatScalar> ptField(3*
pointLabels.size());
labelList pointLabels(nPoints, -1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writePointSet(const bool binary, const primitiveMesh &mesh, const topoSet &set, const fileName &fileName)
Write pointSet to vtk polydata file.
void insert(const scalar, DynamicList< floatScalar > &)
Append scalar to given DynamicList.
vectorField pointField
pointField is a vectorField.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
List< label > labelList
A List of labels.