vtkWriteOps.H File Reference
Include dependency graph for vtkWriteOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::vtkWriteOps
 

Functions

void swapWord (label &word32)
 Swap halves of word. More...
 
void swapWords (const label nWords, label *words32)
 Swap halves of word. More...
 
label cast (const label &x)
 Cast an integer to the corresponding VTK write type. Does nothing. More...
 
floatScalar cast (const floatScalar &x)
 Cast a float to the corresponding VTK write type. Does nothing. More...
 
template<class Scalar >
floatScalar cast (const Scalar &x)
 Cast a scalar to the corresponding VTK write type. Clips to. More...
 
void writeHeader (std::ostream &, const bool isBinary, const std::string &title)
 Write header. More...
 
void writeCellDataHeader (std::ostream &, const label nCells, const label nFields)
 Write cell data header. More...
 
void writePointDataHeader (std::ostream &, const label nPoints, const label nFields)
 Write point data header. More...
 
void write (std::ostream &os, const bool binary, List< floatScalar > &fField)
 Write floats ascii or binary. More...
 
void write (std::ostream &, const bool, DynamicList< floatScalar > &)
 Write floats ascii or binary. More...
 
void write (std::ostream &, const bool, labelList &)
 Write floats ascii or binary. More...
 
void write (std::ostream &, const bool, DynamicList< label > &)
 Write floats ascii or binary. More...
 
void insert (const scalar, DynamicList< floatScalar > &)
 Append scalar to given DynamicList. More...
 
void insert (const point &, DynamicList< floatScalar > &)
 Append point to given DynamicList. More...
 
void insert (const sphericalTensor &, DynamicList< floatScalar > &)
 Append sphericalTensor to given DynamicList. More...
 
void insert (const symmTensor &, DynamicList< floatScalar > &)
 Append symmTensor to given DynamicList. More...
 
void insert (const tensor &, DynamicList< floatScalar > &)
 Append tensor to given DynamicList. More...
 
void insert (const labelList &, DynamicList< label > &)
 Append elements to DynamicList. More...
 
template<class Type >
void insert (const List< Type > &, DynamicList< floatScalar > &)
 Append elements to DynamicList. More...
 
void insert (const labelList &map, const List< scalar > &source, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList using map. More...
 
void insert (const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats. More...
 
void insert (const labelList &map, const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats using map. More...
 

Detailed Description

Original source file vtkWriteOps.H

Definition in file vtkWriteOps.H.