Public Member Functions | List of all members
proxySurfaceWriter Class Reference

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

Inheritance diagram for proxySurfaceWriter:
Inheritance graph
[legend]
Collaboration diagram for proxySurfaceWriter:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("proxy")
 Runtime type information. More...
 
 proxySurfaceWriter (const word &ext)
 Construct for a given extension. More...
 
virtual ~proxySurfaceWriter ()
 Destructor. More...
 
virtual bool separateGeometry ()
 True if the surface format supports geometry in a separate file. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool verbose=false) const
 Write single surface geometry to file. More...
 
- Public Member Functions inherited from surfaceWriter
 TypeName ("surfaceWriter")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, surfaceWriter, word,(),())
 
 declareRunTimeSelectionTable (autoPtr, surfaceWriter, wordDict,(const dictionary &optDict),(optDict))
 
 surfaceWriter ()
 Construct null. More...
 
virtual ~surfaceWriter ()
 Destructor. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const word &fieldName, const Field< scalar > &values, const bool isNodeValues, const bool verbose=false) const
 Write scalarField for a single surface to file. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const word &fieldName, const Field< vector > &values, const bool isNodeValues, const bool verbose=false) const
 Write vectorField for a single surface to file. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const word &fieldName, const Field< sphericalTensor > &values, const bool isNodeValues, const bool verbose=false) const
 Write sphericalTensorField for a single surface to file. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const word &fieldName, const Field< symmTensor > &values, const bool isNodeValues, const bool verbose=false) const
 Write symmTensorField for a single surface to file. More...
 
virtual void write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const word &fieldName, const Field< tensor > &values, const bool isNodeValues, const bool verbose=false) const
 Write tensorField for a single surface to file. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from surfaceWriter
static autoPtr< surfaceWriterNew (const word &writeType)
 Return a reference to the selected surfaceWriter. More...
 
static autoPtr< surfaceWriterNew (const word &writeType, const dictionary &writeOptions)
 Return a reference to the selected surfaceWriter. 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 44 of file proxySurfaceWriter.C.

◆ ~proxySurfaceWriter()

~proxySurfaceWriter ( )
virtual

Destructor.

Definition at line 53 of file proxySurfaceWriter.C.

References proxySurfaceWriter::write().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "proxy"  )

Runtime type information.

◆ separateGeometry()

virtual bool separateGeometry ( )
inlinevirtual

True if the surface format supports geometry in a separate file.

False if geometry and field must be in a single file

Reimplemented from surfaceWriter.

Definition at line 80 of file proxySurfaceWriter.H.

◆ write()

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

Write single surface geometry to file.

Reimplemented from surfaceWriter.

Definition at line 60 of file proxySurfaceWriter.C.

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

Referenced by proxySurfaceWriter::~proxySurfaceWriter().

Here is the call graph for this function:
Here is the caller graph for this function:

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