proxySurfaceWriter Class Reference

A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any fields. More...

Inheritance diagram for proxySurfaceWriter:
Collaboration diagram for proxySurfaceWriter:

Public Member Functions

 TypeName ("proxy")
 Runtime type information. More...
 
 proxySurfaceWriter (const word &ext)
 Construct for a given extension. More...
 
virtual ~proxySurfaceWriter ()
 Destructor. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const wordList &fieldNames, const bool writePointValues #define FieldTypeValuesConstArg(Type, nullArg)) const
 Write fields for a single surface to file. More...
 
- Public Member Functions inherited from surfaceWriter
 TypeName ("surfaceWriter")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, surfaceWriter, word,(const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression),(writeFormat, writeCompression))
 
 declareRunTimeSelectionTable (autoPtr, surfaceWriter, dict,(const dictionary &dict),(dict))
 
 surfaceWriter (const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression)
 Construct given write options. More...
 
 surfaceWriter (const dictionary &dict)
 Construct from dictionary. More...
 
virtual ~surfaceWriter ()
 Destructor. More...
 
void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces) const
 Write the surface geometry only. More...
 
template<class ... Args>
void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool writePointValues, const Args &... args) const
 Write fields for a single surface to file. For use in code where. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from surfaceWriter
static autoPtr< surfaceWriterNew (const word &writeType, const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression)
 Select given write options. More...
 
static autoPtr< surfaceWriterNew (const word &writeType, const dictionary &dict)
 Select given a dictionary. More...
 
- Protected Attributes inherited from surfaceWriter
IOstream::streamFormat writeFormat_
 Write format. More...
 
IOstream::compressionType writeCompression_
 Write compression. More...
 

Detailed Description

A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any fields.

Source files

Definition at line 49 of file proxySurfaceWriter.H.

Constructor & Destructor Documentation

◆ proxySurfaceWriter()

proxySurfaceWriter ( const word ext)

Construct for a given extension.

Definition at line 39 of file proxySurfaceWriter.C.

◆ ~proxySurfaceWriter()

~proxySurfaceWriter ( )
virtual

Destructor.

Definition at line 48 of file proxySurfaceWriter.C.

Member Function Documentation

◆ TypeName()

TypeName ( "proxy"  )

Runtime type information.

◆ write()

void write ( const fileName outputDir,
const fileName surfaceName,
const pointField points,
const faceList faces,
const wordList fieldNames,
const bool writePointValues #define   FieldTypeValuesConstArgType, nullArg 
) const
virtual

Write fields for a single surface to file.

Implements surfaceWriter.

Definition at line 54 of file proxySurfaceWriter.C.

References Foam::endl(), Foam::Info, Foam::isDir(), Foam::mkDir(), points, and MeshedSurfaceProxy< Face >::write().

Here is the call graph for this function:

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