Go to the documentation of this file.
39 for (label i=0; i <
n; ++i)
50 for (label i=0; i <
n; ++i)
61 for (label i=0; i <
n; ++i)
73 for (label i=0; i <
n; ++i)
94 const std::string& title,
102 template<Foam::vtk::fileTag ContentType>
106 const std::string& title
132 <<
' ' << (nLines + nConnectivity) <<
nl;
146 <<
' ' << (nPolys + nConnectivity) <<
nl;
157 <<
"FIELD FieldData " << nFields <<
nl;
181 <<
' ' << nCells <<
nl;
207 legacy::floatField<1>(fmt,
"TimeValue", 1);
208 fmt.
write(timeValue);
213 template<Foam::direction nComp>
223 << int(nComp) <<
' ' << nEntries <<
" double" <<
nl;
227 template<Foam::direction nComp>
237 << int(nComp) <<
' ' << nEntries <<
" float" <<
nl;
241 template<Foam::direction nComp>
251 << int(nComp) <<
' ' << nEntries <<
" int" <<
nl;
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
A class for handling words, derived from Foam::string.
const Foam::Enum< vtk::fileTag > contentNames
void beginPolys(std::ostream &os, label nPolys, label nConnectivity)
void beginPointData(vtk::formatter &fmt, label nPoints, label nFields)
void write< label >(vtk::formatter &fmt, const label &val, const label n)
void fieldData(vtk::formatter &fmt, label nFields)
void beginFieldData(vtk::formatter &fmt, label nFields)
void writeTimeValue(vtk::formatter &fmt, scalar timeValue)
void write< double >(vtk::formatter &fmt, const double &val, const label n)
void beginPoints(std::ostream &os, label nPoints)
void fileHeader(std::ostream &os, const std::string &title, bool binary)
OBJstream os(runTime.globalPath()/outputName)
const Foam::Enum< fileTag > fileTagNames
void write< float >(vtk::formatter &fmt, const float &val, const label n)
void beginCellData(vtk::formatter &fmt, label nCells, label nFields)
void beginLines(std::ostream &os, label nLines, label nConnectivity)
void floatField(vtk::formatter &fmt, const word &name, const label nEntries)
void intField(vtk::formatter &fmt, const word &name, const label nEntries)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
void doubleField(vtk::formatter &fmt, const word &name, const label nEntries)