FreeFOAM The Cross-Platform CFD Toolkit
patchWriter Class Reference

Write patch fields. More...


Detailed Description

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.

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 95 of file patchWriter.H.

label nPoints ( ) const
inline

Definition at line 100 of file patchWriter.H.

label nFaces ( ) const
inline

Definition at line 105 of file patchWriter.H.

void writePatchIDs ( )

Write cellIDs.

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

Write volFields.

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

Write pointFields.

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

Interpolate and write volFields.


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