OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

patchWriter Class Reference

Write patch fields. More...

Collaboration diagram for patchWriter:

List of all members.


Public Member Functions

 patchWriter (const vtkMesh &, const bool binary, const bool nearCellValue, const fileName &, const labelList &patchIDs)
 Construct from components.
std::ofstream & os ()
label nPoints () const
label nFaces () const
void writePatchIDs ()
 Write cellIDs.
template<class Type >
void write (const PtrList< GeometricField< Type, fvPatchField, volMesh > > &)
 Write volFields.
template<class Type >
void write (const PtrList< GeometricField< Type, pointPatchField, pointMesh > > &)
 Write pointFields.
template<class Type >
void write (const PrimitivePatchInterpolation< primitivePatch > &, const PtrList< GeometricField< Type, fvPatchField, volMesh > > &)
 Interpolate and write volFields.

Detailed Description

Write patch fields.

Source files

Definition at line 55 of file patchWriter.H.


Constructor & Destructor Documentation

patchWriter ( const vtkMesh &  ,
const bool  binary,
const bool  nearCellValue,
const fileName &  ,
const labelList &  patchIDs 
)

Construct from components.


Member Function Documentation

std::ofstream& os (  )  [inline]

Definition at line 90 of file patchWriter.H.

label nPoints (  )  const [inline]

Definition at line 95 of file patchWriter.H.

label nFaces (  )  const [inline]

Definition at line 100 of file patchWriter.H.

void writePatchIDs (  ) 

Write cellIDs.

void write ( const PtrList< GeometricField< Type, fvPatchField, volMesh > > &   )  [inline]

Write volFields.

void write ( const PtrList< GeometricField< Type, pointPatchField, pointMesh > > &   )  [inline]

Write pointFields.

void write ( const PrimitivePatchInterpolation< primitivePatch > &  ,
const PtrList< GeometricField< Type, fvPatchField, volMesh > > &   
) [inline]

Interpolate and write volFields.


The documentation for this class was generated from the following file:
  • applications/utilities/postProcessing/dataConversion/foamToVTK/patchWriter.H
Copyright © 2000-2009 OpenCFD Ltd