Static Public Member Functions | Static Private Member Functions
writeFuns Class Reference

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

Static Public Member Functions

static void write (std::ostream &, const bool, DynamicList< floatScalar > &)
 Write floats ascii or binary. More...
 
static void write (std::ostream &, const bool, DynamicList< label > &)
 Write labels ascii or binary. More...
 
static void write (std::ostream &, const bool, List< floatScalar > &)
 Write floats ascii or binary. More...
 
static void write (std::ostream &, const bool, labelList &)
 Write labels ascii or binary. More...
 
static void insert (const point &, DynamicList< floatScalar > &dest)
 Append point to given DynamicList. More...
 
static void insert (const labelList &, DynamicList< label > &)
 Append elements of labelList to given DynamicList. More...
 
static void insert (const List< scalar > &, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList. More...
 
static void insert (const labelList &map, const List< scalar > &source, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList using map. More...
 
static void insert (const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats. More...
 
static void insert (const labelList &map, const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats using map. More...
 
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 isBinary, const std::string &title)
 
static void writeCellDataHeader (std::ostream &, const label nCells, const label nFields)
 
static void writePointDataHeader (std::ostream &, const label nPoints, const label nFields)
 
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. More...
 
template<class Type >
static void insert (const List< Type > &, DynamicList< floatScalar > &)
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const vtkMesh &)
 Write volField with cell values (including decomposed cells) More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const DimensionedField< Type, pointMesh > &, const vtkMesh &)
 Write interpolated field on points and original cell values on. More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const PtrList< DimensionedField< Type, volMesh > > &, const vtkMesh &)
 Write generic dimensioned internal fields. More...
 
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. More...
 
static void write (std::ostream &, const bool, List< doubleScalar > &)
 
static void write (std::ostream &, const bool, DynamicList< doubleScalar > &)
 
static void write (std::ostream &, const bool, labelList &)
 
static void write (std::ostream &, const bool, DynamicList< label > &)
 
static void writeHeader (std::ostream &, const bool isBinary, const std::string &title)
 
static void writeCellDataHeader (std::ostream &, const label nCells, const label nFields)
 
static void writePointDataHeader (std::ostream &, const label nPoints, const label nFields)
 
static void insert (const scalar, DynamicList< doubleScalar > &)
 
static void insert (const point &, DynamicList< doubleScalar > &)
 
static void insert (const sphericalTensor &, DynamicList< doubleScalar > &)
 
static void insert (const symmTensor &, DynamicList< doubleScalar > &)
 
static void insert (const tensor &, DynamicList< doubleScalar > &)
 
static void insert (const labelList &, DynamicList< label > &)
 Append elements to DynamicList. More...
 
template<class Type >
static void insert (const List< Type > &, DynamicList< doubleScalar > &)
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const vtkMesh &)
 Write volField with cell values (including decomposed cells) More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const DimensionedField< Type, pointMesh > &, const vtkMesh &)
 Write interpolated field on points and original cell values on. More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const PtrList< DimensionedField< Type, volMesh > > &, const vtkMesh &)
 Write generic dimensioned internal fields. More...
 
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. More...
 
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 isBinary, const std::string &title)
 
static void writeCellDataHeader (std::ostream &, const label nCells, const label nFields)
 
static void writePointDataHeader (std::ostream &, const label nPoints, const label nFields)
 
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. More...
 
template<class Type >
static void insert (const List< Type > &, DynamicList< floatScalar > &)
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const vtkMesh &)
 Write volField with cell values (including decomposed cells) More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const DimensionedField< Type, pointMesh > &, const vtkMesh &)
 Write interpolated field on points and original cell values on. More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const PtrList< DimensionedField< Type, volMesh > > &, const vtkMesh &)
 Write generic dimensioned internal fields. More...
 
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. More...
 
static void write (std::ostream &, const bool, List< doubleScalar > &)
 
static void write (std::ostream &, const bool, DynamicList< doubleScalar > &)
 
static void write (std::ostream &, const bool, labelList &)
 
static void write (std::ostream &, const bool, DynamicList< label > &)
 
static void writeHeader (std::ostream &, const bool isBinary, const std::string &title)
 
static void writeCellDataHeader (std::ostream &, const label nCells, const label nFields)
 
static void writePointDataHeader (std::ostream &, const label nPoints, const label nFields)
 
static void insert (const scalar, DynamicList< doubleScalar > &)
 
static void insert (const point &, DynamicList< doubleScalar > &)
 
static void insert (const sphericalTensor &, DynamicList< doubleScalar > &)
 
static void insert (const symmTensor &, DynamicList< doubleScalar > &)
 
static void insert (const tensor &, DynamicList< doubleScalar > &)
 
static void insert (const labelList &, DynamicList< label > &)
 Append elements to DynamicList. More...
 
template<class Type >
static void insert (const List< Type > &, DynamicList< doubleScalar > &)
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const vtkMesh &)
 Write volField with cell values (including decomposed cells) More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const DimensionedField< Type, volMesh > &, const DimensionedField< Type, pointMesh > &, const vtkMesh &)
 Write interpolated field on points and original cell values on. More...
 
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. More...
 
template<class Type >
static void write (std::ostream &, const bool binary, const PtrList< DimensionedField< Type, volMesh > > &, const vtkMesh &)
 Write generic dimensioned internal fields. More...
 
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. More...
 
static void write (std::ostream &, const bool, DynamicList< floatScalar > &)
 Write floats ascii or binary. More...
 
static void write (std::ostream &, const bool, DynamicList< label > &)
 Write labels ascii or binary. More...
 
static void write (std::ostream &, const bool, List< floatScalar > &)
 Write floats ascii or binary. More...
 
static void write (std::ostream &, const bool, labelList &)
 Write labels ascii or binary. More...
 
static void insert (const point &, DynamicList< floatScalar > &dest)
 Append point to given DynamicList. More...
 
static void insert (const labelList &, DynamicList< label > &)
 Append elements of labelList to given DynamicList. More...
 
static void insert (const List< scalar > &, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList. More...
 
static void insert (const labelList &map, const List< scalar > &source, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList using map. More...
 
static void insert (const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats. More...
 
static void insert (const labelList &map, const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats using map. More...
 
static void write (std::ostream &, const bool, DynamicList< floatScalar > &)
 Write floats ascii or binary. More...
 
static void write (std::ostream &, const bool, DynamicList< label > &)
 Write labels ascii or binary. More...
 
static void write (std::ostream &, const bool, List< floatScalar > &)
 Write floats ascii or binary. More...
 
static void write (std::ostream &, const bool, labelList &)
 Write labels ascii or binary. More...
 
static void insert (const point &, DynamicList< floatScalar > &dest)
 Append point to given DynamicList. More...
 
static void insert (const labelList &, DynamicList< label > &)
 Append elements of labelList to given DynamicList. More...
 
static void insert (const List< scalar > &, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList. More...
 
static void insert (const labelList &map, const List< scalar > &source, DynamicList< floatScalar > &)
 Append elements of scalarList to given DynamicList using map. More...
 
static void insert (const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats. More...
 
static void insert (const labelList &map, const List< point > &source, DynamicList< floatScalar > &)
 Append points to given DynamicList of floats using map. More...
 

Static Private Member Functions

static void swapWord (int32_t &word32)
 Swap halves of word. More...
 
static void swapWords (const label nWords, int32_t *words32)
 Swap halves of word. More...
 
static void swapWord (label &word32)
 
static void swapWords (const label nWords, label *words32)
 
static void swapWord (label &word32)
 
static void swapWords (const label nWords, label *words32)
 
static void swapWord (label &word32)
 
static void swapWords (const label nWords, label *words32)
 
static void swapWord (label &word32)
 
static void swapWords (const label nWords, label *words32)
 
static void swapWord (int32_t &word32)
 Swap halves of word. More...
 
static void swapWords (const label nWords, int32_t *words32)
 Swap halves of word. More...
 
static void swapWord (int32_t &word32)
 Swap halves of word. More...
 
static void swapWords (const label nWords, int32_t *words32)
 Swap halves of word. More...
 

Detailed Description

Various functions for collecting and writing binary data.

The LITTLE_ENDIAN is based on 32bit words. It is not clear how 64bit labels should be handled, currently they are split into two 32bit words and swapWord applied to these two.

writeFuns should be a namespace rather than a class.

Source files

Source files

Source files

Source files

Source files

The LITTLE_ENDIAN is based on 32bit words. It is not clear how 64bit labels should be handled, currently they are split into two 32bit words and swapWord applied to these two.

writeFuns should be a namespace rather than a class.

Source files

The LITTLE_ENDIAN is based on 32bit words. It is not clear how 64bit labels should be handled, currently they are split into two 32bit words and swapWord applied to these two.

writeFuns should be a namespace rather than a class.

Source files

Definition at line 58 of file writeFuns.H.

Member Function Documentation

◆ swapWord() [1/7]

void swapWord ( int32_t &  word32)
staticprivate

Swap halves of word.

Definition at line 46 of file writeFuns.C.

◆ swapWords() [1/7]

void swapWords ( const label  nWords,
int32_t *  words32 
)
staticprivate

Swap halves of word.

Definition at line 60 of file writeFuns.C.

◆ write() [1/52]

void write ( std::ostream &  os,
const bool  binary,
DynamicList< floatScalar > &  fField 
)
static

Write floats ascii or binary.

If binary optionally in-place swaps argument

Definition at line 107 of file writeFuns.C.

References fld(), DynamicList::shrink(), and write().

Referenced by lagrangianWriter::writeIOField(), patchWriter::writePatchIDs(), and Foam::writeSurfFields().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [2/52]

void write ( std::ostream &  os,
const bool  binary,
DynamicList< label > &  elems 
)
static

Write labels ascii or binary.

If binary optionally in-place swaps argument

Definition at line 176 of file writeFuns.C.

References Foam::fixed(), fld(), DynamicList::shrink(), and write().

Here is the call graph for this function:

◆ write() [3/52]

void write ( std::ostream &  os,
const bool  binary,
List< floatScalar > &  fField 
)
static

Write floats ascii or binary.

If binary optionally in-place swaps argument

Definition at line 70 of file writeFuns.C.

References Foam::endl(), forAll, and List::size().

Here is the call graph for this function:

◆ write() [4/52]

void write ( std::ostream &  os,
const bool  binary,
labelList elems 
)
static

Write labels ascii or binary.

If binary optionally in-place swaps argument

Definition at line 135 of file writeFuns.C.

References Foam::endl(), Foam::fixed(), forAll, and List::size().

Here is the call graph for this function:

◆ insert() [1/46]

void insert ( const point pt,
DynamicList< floatScalar > &  dest 
)
static

Append point to given DynamicList.

Definition at line 170 of file writeFuns.C.

References DynamicList::append(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().

Referenced by lagrangianWriter::writeIOField(), patchWriter::writePatchIDs(), and Foam::writeSurfFields().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insert() [2/46]

void insert ( const labelList src,
DynamicList< label > &  dest 
)
static

Append elements of labelList to given DynamicList.

Definition at line 286 of file writeFuns.C.

References DynamicList::append().

Here is the call graph for this function:

◆ insert() [3/46]

void insert ( const List< scalar > &  source,
DynamicList< floatScalar > &  dest 
)
static

Append elements of scalarList to given DynamicList.

Definition at line 188 of file writeFuns.C.

References DynamicList::append(), and forAll.

Here is the call graph for this function:

◆ insert() [4/46]

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

Append elements of scalarList to given DynamicList using map.

Definition at line 201 of file writeFuns.C.

References DynamicList::append(), and forAll.

Here is the call graph for this function:

◆ insert() [5/46]

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

Append points to given DynamicList of floats.

Definition at line 215 of file writeFuns.C.

References forAll, and insert().

Here is the call graph for this function:

◆ insert() [6/46]

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

Append points to given DynamicList of floats using map.

Definition at line 227 of file writeFuns.C.

References forAll, and insert().

Here is the call graph for this function:

◆ swapWord() [2/7]

void swapWord ( label word32)
staticprivate

Definition at line 56 of file writeFuns.C.

◆ swapWords() [2/7]

void swapWords ( const label  nWords,
label words32 
)
staticprivate

Definition at line 70 of file writeFuns.C.

◆ write() [5/52]

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

◆ write() [6/52]

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

◆ write() [7/52]

static void write ( std::ostream &  ,
const bool  ,
labelList  
)
static

◆ write() [8/52]

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

◆ writeHeader() [1/4]

void writeHeader ( std::ostream &  os,
const bool  isBinary,
const std::string &  title 
)
static

Definition at line 190 of file writeFuns.C.

References Foam::endl().

Referenced by Foam::writeSurfFields().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeCellDataHeader() [1/4]

void writeCellDataHeader ( std::ostream &  os,
const label  nCells,
const label  nFields 
)
static

Definition at line 211 of file writeFuns.C.

References Foam::endl().

Here is the call graph for this function:

◆ writePointDataHeader() [1/4]

void writePointDataHeader ( std::ostream &  os,
const label  nPoints,
const label  nFields 
)
static

Definition at line 223 of file writeFuns.C.

References Foam::endl(), and nPoints.

Here is the call graph for this function:

◆ insert() [7/46]

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

◆ insert() [8/46]

static void insert ( const point ,
DynamicList< floatScalar > &   
)
static

◆ insert() [9/46]

static void insert ( const sphericalTensor ,
DynamicList< floatScalar > &   
)
static

◆ insert() [10/46]

static void insert ( const symmTensor ,
DynamicList< floatScalar > &   
)
static

◆ insert() [11/46]

static void insert ( const tensor ,
DynamicList< floatScalar > &   
)
static

◆ insert() [12/46]

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

Append elements to DynamicList.

◆ insert() [13/46]

static void insert ( const List< Type > &  ,
DynamicList< floatScalar > &   
)
static

◆ write() [9/52]

void write ( std::ostream &  os,
const bool  binary,
const DimensionedField< Type, volMesh > &  vvf,
const vtkMesh vMesh 
)
static

Write volField with cell values (including decomposed cells)

Definition at line 64 of file writeFunsTemplates.C.

References Foam::endl(), forAll, insert(), mesh, vtkMesh::mesh(), List::size(), vtkTopo::superCells(), vtkMesh::topo(), and write().

Here is the call graph for this function:

◆ write() [10/52]

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

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

for decomposed cell centres.

Definition at line 96 of file writeFunsTemplates.C.

References vtkTopo::addPointCellLabels(), Foam::endl(), forAll, insert(), Foam::interpolatePointToCell(), mesh, vtkMesh::mesh(), List::size(), vtkMesh::topo(), and writeFuns::write().

Referenced by writeFuns::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [11/52]

void write ( std::ostream &  os,
const bool  binary,
const DimensionedField< Type, volMesh > &  vvf,
const DimensionedField< Type, pointMesh > &  pvf,
const vtkMesh vMesh 
)
static

Write interpolated field on points and original cell values on.

decomposed cell centres.

Definition at line 128 of file writeFunsTemplates.C.

References vtkTopo::addPointCellLabels(), Foam::endl(), forAll, insert(), mesh, vtkMesh::mesh(), List::size(), vtkMesh::topo(), and write().

Here is the call graph for this function:

◆ write() [12/52]

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

Write generic GeometricFields.

Definition at line 161 of file writeFunsTemplates.C.

References dimensionedInternalField(), forAll, and write().

Here is the call graph for this function:

◆ write() [13/52]

void write ( std::ostream &  os,
const bool  binary,
const PtrList< DimensionedField< Type, volMesh > > &  flds,
const vtkMesh vMesh 
)
static

Write generic dimensioned internal fields.

Definition at line 177 of file writeFunsTemplates.C.

References forAll, and write().

Here is the call graph for this function:

◆ write() [14/52]

void write ( std::ostream &  os,
const bool  binary,
const volPointInterpolation pInterp,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &  flds,
const vtkMesh vMesh 
)
static

Interpolate and write volFields.

Definition at line 193 of file writeFunsTemplates.C.

References forAll, volPointInterpolation::interpolate(), and write().

Here is the call graph for this function:

◆ swapWord() [3/7]

static void swapWord ( label word32)
staticprivate

◆ swapWords() [3/7]

static void swapWords ( const label  nWords,
label words32 
)
staticprivate

◆ write() [15/52]

void write ( std::ostream &  os,
const bool  binary,
List< doubleScalar > &  fField 
)
static

Definition at line 80 of file writeFuns.C.

References Foam::endl(), Foam::fixed(), forAll, and List::size().

Here is the call graph for this function:

◆ write() [16/52]

void write ( std::ostream &  os,
const bool  binary,
DynamicList< doubleScalar > &  fField 
)
static

Definition at line 121 of file writeFuns.C.

References Foam::fixed(), fld(), DynamicList::shrink(), and write().

Here is the call graph for this function:

◆ write() [17/52]

static void write ( std::ostream &  ,
const bool  ,
labelList  
)
static

◆ write() [18/52]

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

◆ writeHeader() [2/4]

static void writeHeader ( std::ostream &  ,
const bool  isBinary,
const std::string &  title 
)
static

◆ writeCellDataHeader() [2/4]

static void writeCellDataHeader ( std::ostream &  ,
const label  nCells,
const label  nFields 
)
static

◆ writePointDataHeader() [2/4]

static void writePointDataHeader ( std::ostream &  ,
const label  nPoints,
const label  nFields 
)
static

◆ insert() [14/46]

void insert ( const scalar  src,
DynamicList< doubleScalar > &  dest 
)
static

Definition at line 234 of file writeFuns.C.

References DynamicList::append().

Here is the call graph for this function:

◆ insert() [15/46]

void insert ( const point src,
DynamicList< doubleScalar > &  dest 
)
static

Definition at line 240 of file writeFuns.C.

References DynamicList::append(), and VectorSpace< Vector< scalar >, scalar, 3 >::nComponents.

Here is the call graph for this function:

◆ insert() [16/46]

void insert ( const sphericalTensor src,
DynamicList< doubleScalar > &  dest 
)
static

Definition at line 250 of file writeFuns.C.

References DynamicList::append(), and VectorSpace< SphericalTensor< Cmpt >, Cmpt, 1 >::nComponents.

Here is the call graph for this function:

◆ insert() [17/46]

void insert ( const symmTensor src,
DynamicList< doubleScalar > &  dest 
)
static

◆ insert() [18/46]

void insert ( const tensor src,
DynamicList< doubleScalar > &  dest 
)
static

Definition at line 277 of file writeFuns.C.

References DynamicList::append().

Here is the call graph for this function:

◆ insert() [19/46]

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

Append elements to DynamicList.

◆ insert() [20/46]

void insert ( const List< Type > &  source,
DynamicList< doubleScalar > &  dest 
)
static

Definition at line 34 of file writeFunsTemplates.C.

References forAll, and insert().

Here is the call graph for this function:

◆ write() [19/52]

static void write ( std::ostream &  ,
const bool  binary,
const DimensionedField< Type, volMesh > &  ,
const vtkMesh  
)
static

Write volField with cell values (including decomposed cells)

◆ write() [20/52]

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.

◆ write() [21/52]

static void write ( std::ostream &  ,
const bool  binary,
const DimensionedField< Type, volMesh > &  ,
const DimensionedField< Type, pointMesh > &  ,
const vtkMesh  
)
static

Write interpolated field on points and original cell values on.

decomposed cell centres.

◆ write() [22/52]

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

Write generic GeometricFields.

◆ write() [23/52]

static void write ( std::ostream &  ,
const bool  binary,
const PtrList< DimensionedField< Type, volMesh > > &  ,
const vtkMesh  
)
static

Write generic dimensioned internal fields.

◆ write() [24/52]

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

Interpolate and write volFields.

◆ swapWord() [4/7]

static void swapWord ( label word32)
staticprivate

◆ swapWords() [4/7]

static void swapWords ( const label  nWords,
label words32 
)
staticprivate

◆ write() [25/52]

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

◆ write() [26/52]

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

◆ write() [27/52]

static void write ( std::ostream &  ,
const bool  ,
labelList  
)
static

◆ write() [28/52]

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

◆ writeHeader() [3/4]

static void writeHeader ( std::ostream &  ,
const bool  isBinary,
const std::string &  title 
)
static

◆ writeCellDataHeader() [3/4]

static void writeCellDataHeader ( std::ostream &  ,
const label  nCells,
const label  nFields 
)
static

◆ writePointDataHeader() [3/4]

static void writePointDataHeader ( std::ostream &  ,
const label  nPoints,
const label  nFields 
)
static

◆ insert() [21/46]

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

◆ insert() [22/46]

static void insert ( const point ,
DynamicList< floatScalar > &   
)
static

◆ insert() [23/46]

static void insert ( const sphericalTensor ,
DynamicList< floatScalar > &   
)
static

◆ insert() [24/46]

static void insert ( const symmTensor ,
DynamicList< floatScalar > &   
)
static

◆ insert() [25/46]

static void insert ( const tensor ,
DynamicList< floatScalar > &   
)
static

◆ insert() [26/46]

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

Append elements to DynamicList.

◆ insert() [27/46]

static void insert ( const List< Type > &  ,
DynamicList< floatScalar > &   
)
static

◆ write() [29/52]

static void write ( std::ostream &  ,
const bool  binary,
const DimensionedField< Type, volMesh > &  ,
const vtkMesh  
)
static

Write volField with cell values (including decomposed cells)

◆ write() [30/52]

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.

◆ write() [31/52]

static void write ( std::ostream &  ,
const bool  binary,
const DimensionedField< Type, volMesh > &  ,
const DimensionedField< Type, pointMesh > &  ,
const vtkMesh  
)
static

Write interpolated field on points and original cell values on.

decomposed cell centres.

◆ write() [32/52]

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

Write generic GeometricFields.

◆ write() [33/52]

static void write ( std::ostream &  ,
const bool  binary,
const PtrList< DimensionedField< Type, volMesh > > &  ,
const vtkMesh  
)
static

Write generic dimensioned internal fields.

◆ write() [34/52]

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

Interpolate and write volFields.

◆ swapWord() [5/7]

static void swapWord ( label word32)
staticprivate

◆ swapWords() [5/7]

static void swapWords ( const label  nWords,
label words32 
)
staticprivate

◆ write() [35/52]

static void write ( std::ostream &  ,
const bool  ,
List< doubleScalar > &   
)
static

◆ write() [36/52]

static void write ( std::ostream &  ,
const bool  ,
DynamicList< doubleScalar > &   
)
static

◆ write() [37/52]

static void write ( std::ostream &  ,
const bool  ,
labelList  
)
static

◆ write() [38/52]

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

◆ writeHeader() [4/4]

static void writeHeader ( std::ostream &  ,
const bool  isBinary,
const std::string &  title 
)
static

◆ writeCellDataHeader() [4/4]

static void writeCellDataHeader ( std::ostream &  ,
const label  nCells,
const label  nFields 
)
static

◆ writePointDataHeader() [4/4]

static void writePointDataHeader ( std::ostream &  ,
const label  nPoints,
const label  nFields 
)
static

◆ insert() [28/46]

static void insert ( const  scalar,
DynamicList< doubleScalar > &   
)
static

◆ insert() [29/46]

static void insert ( const point ,
DynamicList< doubleScalar > &   
)
static

◆ insert() [30/46]

static void insert ( const sphericalTensor ,
DynamicList< doubleScalar > &   
)
static

◆ insert() [31/46]

static void insert ( const symmTensor ,
DynamicList< doubleScalar > &   
)
static

◆ insert() [32/46]

static void insert ( const tensor ,
DynamicList< doubleScalar > &   
)
static

◆ insert() [33/46]

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

Append elements to DynamicList.

◆ insert() [34/46]

static void insert ( const List< Type > &  ,
DynamicList< doubleScalar > &   
)
static

◆ write() [39/52]

static void write ( std::ostream &  ,
const bool  binary,
const DimensionedField< Type, volMesh > &  ,
const vtkMesh  
)
static

Write volField with cell values (including decomposed cells)

◆ write() [40/52]

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.

◆ write() [41/52]

static void write ( std::ostream &  ,
const bool  binary,
const DimensionedField< Type, volMesh > &  ,
const DimensionedField< Type, pointMesh > &  ,
const vtkMesh  
)
static

Write interpolated field on points and original cell values on.

decomposed cell centres.

◆ write() [42/52]

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

Write generic GeometricFields.

◆ write() [43/52]

static void write ( std::ostream &  ,
const bool  binary,
const PtrList< DimensionedField< Type, volMesh > > &  ,
const vtkMesh  
)
static

Write generic dimensioned internal fields.

◆ write() [44/52]

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

Interpolate and write volFields.

◆ swapWord() [6/7]

static void swapWord ( int32_t &  word32)
staticprivate

Swap halves of word.

◆ swapWords() [6/7]

static void swapWords ( const label  nWords,
int32_t *  words32 
)
staticprivate

Swap halves of word.

◆ write() [45/52]

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

Write floats ascii or binary.

If binary optionally in-place swaps argument

◆ write() [46/52]

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

Write labels ascii or binary.

If binary optionally in-place swaps argument

◆ write() [47/52]

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

Write floats ascii or binary.

If binary optionally in-place swaps argument

◆ write() [48/52]

static void write ( std::ostream &  ,
const bool  ,
labelList  
)
static

Write labels ascii or binary.

If binary optionally in-place swaps argument

◆ insert() [35/46]

static void insert ( const point ,
DynamicList< floatScalar > &  dest 
)
static

Append point to given DynamicList.

◆ insert() [36/46]

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

Append elements of labelList to given DynamicList.

◆ insert() [37/46]

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

Append elements of scalarList to given DynamicList.

◆ insert() [38/46]

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

Append elements of scalarList to given DynamicList using map.

◆ insert() [39/46]

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

Append points to given DynamicList of floats.

◆ insert() [40/46]

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

Append points to given DynamicList of floats using map.

◆ swapWord() [7/7]

static void swapWord ( int32_t &  word32)
staticprivate

Swap halves of word.

◆ swapWords() [7/7]

static void swapWords ( const label  nWords,
int32_t *  words32 
)
staticprivate

Swap halves of word.

◆ write() [49/52]

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

Write floats ascii or binary.

If binary optionally in-place swaps argument

◆ write() [50/52]

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

Write labels ascii or binary.

If binary optionally in-place swaps argument

◆ write() [51/52]

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

Write floats ascii or binary.

If binary optionally in-place swaps argument

◆ write() [52/52]

static void write ( std::ostream &  ,
const bool  ,
labelList  
)
static

Write labels ascii or binary.

If binary optionally in-place swaps argument

◆ insert() [41/46]

static void insert ( const point ,
DynamicList< floatScalar > &  dest 
)
static

Append point to given DynamicList.

◆ insert() [42/46]

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

Append elements of labelList to given DynamicList.

◆ insert() [43/46]

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

Append elements of scalarList to given DynamicList.

◆ insert() [44/46]

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

Append elements of scalarList to given DynamicList using map.

◆ insert() [45/46]

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

Append points to given DynamicList of floats.

◆ insert() [46/46]

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

Append points to given DynamicList of floats using map.


The documentation for this class was generated from the following files: