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

foamFileSurfaceWriter< Type > Class Template Reference

A surfaceWriter for foamFiles. More...

#include <sampling/foamFileSurfaceWriter.H>


Detailed Description

template<class Type>
class Foam::foamFileSurfaceWriter< Type >

A surfaceWriter for foamFiles.

Source files

Definition at line 50 of file foamFileSurfaceWriter.H.

Inheritance diagram for foamFileSurfaceWriter< Type >:
Collaboration diagram for foamFileSurfaceWriter< Type >:

List of all members.

Public Member Functions

 TypeName ("foamFile")
 Runtime type information.
 foamFileSurfaceWriter ()
 Construct null.
virtual  ~foamFileSurfaceWriter ()
virtual bool  separateFiles ()
 Return true if the surface format supports separate files.
virtual void  write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool verbose=false) const
 Write geometry to file.
virtual void  write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const fileName &fieldName, const Field< Type > &values, const bool verbose=false) const
 Writes single surface to file.

Constructor & Destructor Documentation

Construct null.

Definition at line 34 of file foamFileSurfaceWriter.C.

~foamFileSurfaceWriter (  ) [virtual]

Definition at line 43 of file foamFileSurfaceWriter.C.


Member Function Documentation

TypeName ( "foamFile"    )

Runtime type information.

virtual bool separateFiles (  ) [inline, virtual]

Return true if the surface format supports separate files.

Reimplemented from surfaceWriter< Type >.

Definition at line 75 of file foamFileSurfaceWriter.H.

void write ( const fileName &   outputDir,
const fileName &   surfaceName,
const pointField &   points,
const faceList &   faces,
const bool   verbose = false  
) const [virtual]

Write geometry to file.

Reimplemented from surfaceWriter< Type >.

Definition at line 51 of file foamFileSurfaceWriter.C.

References Foam::endl(), forAll, Foam::Info, Foam::isDir(), Foam::mkDir(), List< T >::size(), and Vector< scalar >::zero.

void write ( const fileName &   outputDir,
const fileName &   surfaceName,
const pointField &   points,
const faceList &   faces,
const fileName &   fieldName,
const Field< Type > &   values,
const bool   verbose = false  
) const [virtual]

Writes single surface to file.

Implements surfaceWriter< Type >.

Definition at line 92 of file foamFileSurfaceWriter.C.

References Foam::endl(), Foam::Info, Foam::isDir(), and Foam::mkDir().


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