All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tecplotWriter Class Reference

Write binary tecplot files using tecio. More...

Public Member Functions

 tecplotWriter (const Time &)
 Construct from components. More...
 
void writeInit (const word &name, const string &varNames, const fileName &, INTEGER4 tecplotFileType) const
 
void writePolyhedralZone (const word &zoneName, const INTEGER4 strandID, const fvMesh &mesh, const List< INTEGER4 > &varLocArray, INTEGER4 nFaceNodes) const
 Write mesh as polyhedral zone. More...
 
void writePolygonalZone (const word &zoneName, const INTEGER4 strandID, const indirectPrimitivePatch &pp, const List< INTEGER4 > &varLocArray) const
 Write surface as polygonal zone. More...
 
void writeOrderedZone (const word &zoneName, INTEGER4 strandID, const label n, const List< INTEGER4 > &varLocArray) const
 Write unordered data (or rather 1D ordered) More...
 
void writeConnectivity (const fvMesh &mesh) const
 Write mesh. More...
 
void writeConnectivity (const indirectPrimitivePatch &pp) const
 Write surface. More...
 
void writeEnd () const
 
template<class Type >
void writeField (const Field< Type > &fld) const
 Write generic Field. More...
 
template<class Type >
tmp< Field< Type > > getPatchField (const bool nearCellValue, const GeometricField< Type, fvPatchField, volMesh > &vfld, const label patchi) const
 Get either fvPatchField or patchInternalField. More...
 
template<class Type >
tmp< Field< Type > > getFaceField (const GeometricField< Type, fvsPatchField, surfaceMesh > &, const labelList &faceLabels) const
 Get mixed field: fvsPatchField for boundary faces and. More...
 

Static Public Member Functions

template<class GeoField >
static wordList getNames (const PtrList< GeoField > &)
 
template<class Type >
static void getTecplotNames (const wordList &names, const INTEGER4 loc, string &varNames, DynamicList< INTEGER4 > &varLocation)
 
template<class GeoField >
static void getTecplotNames (const PtrList< GeoField > &flds, const INTEGER4 loc, string &varNames, DynamicList< INTEGER4 > &varLocation)
 

Detailed Description

Write binary tecplot files using tecio.

Source files

Definition at line 57 of file tecplotWriter.H.

Constructor & Destructor Documentation

◆ tecplotWriter()

tecplotWriter ( const Time )

Construct from components.

Member Function Documentation

◆ writeInit()

void writeInit ( const word name,
const string varNames,
const fileName ,
INTEGER4  tecplotFileType 
) const

◆ writePolyhedralZone()

void writePolyhedralZone ( const word zoneName,
const INTEGER4  strandID,
const fvMesh mesh,
const List< INTEGER4 > &  varLocArray,
INTEGER4  nFaceNodes 
) const

Write mesh as polyhedral zone.

◆ writePolygonalZone()

void writePolygonalZone ( const word zoneName,
const INTEGER4  strandID,
const indirectPrimitivePatch pp,
const List< INTEGER4 > &  varLocArray 
) const

Write surface as polygonal zone.

◆ writeOrderedZone()

void writeOrderedZone ( const word zoneName,
INTEGER4  strandID,
const label  n,
const List< INTEGER4 > &  varLocArray 
) const

Write unordered data (or rather 1D ordered)

◆ writeConnectivity() [1/2]

void writeConnectivity ( const fvMesh mesh) const

Write mesh.

◆ writeConnectivity() [2/2]

void writeConnectivity ( const indirectPrimitivePatch pp) const

Write surface.

◆ writeEnd()

void writeEnd ( ) const

◆ writeField()

void writeField ( const Field< Type > &  fld) const

Write generic Field.

◆ getPatchField()

tmp<Field<Type> > getPatchField ( const bool  nearCellValue,
const GeometricField< Type, fvPatchField, volMesh > &  vfld,
const label  patchi 
) const

Get either fvPatchField or patchInternalField.

◆ getFaceField()

tmp<Field<Type> > getFaceField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  ,
const labelList faceLabels 
) const

Get mixed field: fvsPatchField for boundary faces and.

internalField for internal faces.

◆ getNames()

static wordList getNames ( const PtrList< GeoField > &  )
static

◆ getTecplotNames() [1/2]

static void getTecplotNames ( const wordList names,
const INTEGER4  loc,
string varNames,
DynamicList< INTEGER4 > &  varLocation 
)
static

◆ getTecplotNames() [2/2]

static void getTecplotNames ( const PtrList< GeoField > &  flds,
const INTEGER4  loc,
string varNames,
DynamicList< INTEGER4 > &  varLocation 
)
static

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