FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

writeFuns Class Reference

Various functions for collecting and writing binary data. More...


Detailed Description

Various functions for collecting and writing binary data.

Source files

Source files

Definition at line 56 of file writeFuns.H.

List of all members.

Static Public Member Functions

static void  write (std::ostream &, const bool, DynamicList< floatScalar > &)
 Write ascii or binary. If binary optionally in-place swaps argument.
static void  write (std::ostream &, const bool, DynamicList< label > &)
static void  write (std::ostream &, const bool, List< floatScalar > &)
 Write ascii or binary. If binary optionally in-place swaps argument.
static void  write (std::ostream &, const bool, labelList &)
static void  insert (const point &, DynamicList< floatScalar > &dest)
 Append point to DynamicList.
static void  insert (const labelList &, DynamicList< label > &)
 Append elements of labelList to DynamicList.
static void  insert (const List< scalar > &, DynamicList< floatScalar > &)
 Append elements of scalarList to DynamicList.
static void  insert (const labelList &map, const List< scalar > &source, DynamicList< floatScalar > &)
 Append elements of scalarList to DynamicList using map.
static void  insert (const List< point > &source, DynamicList< floatScalar > &)
 Append points to DynamicList of floats.
static void  insert (const labelList &map, const List< point > &source, DynamicList< floatScalar > &)
 As above but using map.
static void  write (std::ostream &, const bool, List< floatScalar > &)
static void  write (std::ostream &, const bool, DynamicList< floatScalar > &)
static void  write (std::ostream &, const bool, labelList &)
static void  write (std::ostream &, const bool, DynamicList< label > &)
static void  writeHeader (std::ostream &, const bool, const string &)
static void  writeCellDataHeader (std::ostream &, const label, const label)
static void  writePointDataHeader (std::ostream &, const label, const label)
static void  insert (const scalar &, DynamicList< floatScalar > &)
static void  insert (const point &, DynamicList< floatScalar > &)
static void  insert (const sphericalTensor &, DynamicList< floatScalar > &)
static void  insert (const symmTensor &, DynamicList< floatScalar > &)
static void  insert (const tensor &, DynamicList< floatScalar > &)
static void  insert (const labelList &, DynamicList< label > &)
 Append elements to DynamicList.
template<class Type >
static void  insert (const List< Type > &, DynamicList< floatScalar > &)
template<class Type >
static void  write (std::ostream &, const bool binary, const GeometricField< Type, fvPatchField, volMesh > &, const vtkMesh &)
 Write volField with cell values (including decomposed cells)
template<class Type >
static void  write (std::ostream &, const bool binary, const GeometricField< Type, pointPatchField, pointMesh > &, const vtkMesh &)
 Write pointField on all mesh points. Interpolate to cell centre.
template<class Type >
static void  write (std::ostream &, const bool binary, const GeometricField< Type, fvPatchField, volMesh > &, const GeometricField< Type, pointPatchField, pointMesh > &, const vtkMesh &)
 Write interpolated field on points and original cell values on.
template<class Type , template< class > class PatchField, class GeoMesh >
static void  write (std::ostream &, const bool binary, const PtrList< GeometricField< Type, PatchField, GeoMesh > > &, const vtkMesh &)
 Write generic GeometricFields.
template<class Type >
static void  write (std::ostream &, const bool binary, const volPointInterpolation &, const PtrList< GeometricField< Type, fvPatchField, volMesh > > &, const vtkMesh &)
 Interpolate and write volFields.

Member Function Documentation

static void write ( std::ostream &   ,
const   bool,
DynamicList< floatScalar > &    
) [static]

Write ascii or binary. If binary optionally in-place swaps argument.

static void write ( std::ostream &   ,
const   bool,
DynamicList< label > &    
) [static]
static void write ( std::ostream &   ,
const   bool,
List< floatScalar > &    
) [static]

Write ascii or binary. If binary optionally in-place swaps argument.

static void write ( std::ostream &   ,
const   bool,
labelList &    
) [static]
static void insert ( const point &   ,
DynamicList< floatScalar > &   dest  
) [static]

Append point to DynamicList.

static void insert ( const labelList &   ,
DynamicList< label > &    
) [static]

Append elements of labelList to DynamicList.

static void insert ( const List< scalar > &   ,
DynamicList< floatScalar > &    
) [static]

Append elements of scalarList to DynamicList.

static void insert ( const labelList &   map,
const List< scalar > &   source,
DynamicList< floatScalar > &    
) [static]

Append elements of scalarList to DynamicList using map.

static void insert ( const List< point > &   source,
DynamicList< floatScalar > &    
) [static]

Append points to DynamicList of floats.

static void insert ( const labelList &   map,
const List< point > &   source,
DynamicList< floatScalar > &    
) [static]

As above but using map.

static void write ( std::ostream &   ,
const   bool,
List< floatScalar > &    
) [static]
static void write ( std::ostream &   ,
const   bool,
DynamicList< floatScalar > &    
) [static]
static void write ( std::ostream &   ,
const   bool,
labelList &    
) [static]
static void write ( std::ostream &   ,
const   bool,
DynamicList< label > &    
) [static]
static void writeHeader ( std::ostream &   ,
const   bool,
const string &    
) [static]
static void writeCellDataHeader ( std::ostream &   ,
const   label,
const   label  
) [static]
static void writePointDataHeader ( std::ostream &   ,
const   label,
const   label  
) [static]
static void insert ( const scalar &   ,
DynamicList< floatScalar > &    
) [static]
static void insert ( const point &   ,
DynamicList< floatScalar > &    
) [static]
static void insert ( const sphericalTensor &   ,
DynamicList< floatScalar > &    
) [static]
static void insert ( const symmTensor &   ,
DynamicList< floatScalar > &    
) [static]
static void insert ( const tensor &   ,
DynamicList< floatScalar > &    
) [static]
static void insert ( const labelList &   ,
DynamicList< label > &    
) [static]

Append elements to DynamicList.

static void insert ( const List< Type > &   ,
DynamicList< floatScalar > &    
) [static]
static void write ( std::ostream &   ,
const bool   binary,
const GeometricField< Type, fvPatchField, volMesh > &   ,
const vtkMesh &    
) [static]

Write volField with cell values (including decomposed cells)

static void write ( std::ostream &   ,
const bool   binary,
const GeometricField< Type, pointPatchField, pointMesh > &   ,
const vtkMesh &    
) [static]

Write pointField on all mesh points. Interpolate to cell centre.

for decomposed cell centres.

static void write ( std::ostream &   ,
const bool   binary,
const GeometricField< Type, fvPatchField, volMesh > &   ,
const GeometricField< Type, pointPatchField, pointMesh > &   ,
const vtkMesh &    
) [static]

Write interpolated field on points and original cell values on.

decomposed cell centres.

static void write ( std::ostream &   ,
const bool   binary,
const PtrList< GeometricField< Type, PatchField, GeoMesh > > &   ,
const vtkMesh &    
) [static]

Write generic GeometricFields.

static void write ( std::ostream &   ,
const bool   binary,
const volPointInterpolation &   ,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &   ,
const vtkMesh &    
) [static]

Interpolate and write volFields.


The documentation for this class was generated from the following files:
  • applications/utilities/mesh/manipulation/setSet/writeFuns.H
  • applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.H