A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any fields. More...
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 |
Write single surface geometry to file. 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 |
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 |
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 |
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 |
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 |
Write tensorField 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),(writeFormat)) | |
declareRunTimeSelectionTable (autoPtr, surfaceWriter, wordDict,(const dictionary &optDict),(optDict)) | |
surfaceWriter (const IOstream::streamFormat writeFormat) | |
Construct given write format. More... | |
surfaceWriter (const dictionary &optDict) | |
Construct with output options. More... | |
virtual | ~surfaceWriter () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from surfaceWriter | |
static autoPtr< surfaceWriter > | New (const word &writeType, const IOstream::streamFormat writeFormat) |
Return a reference to the selected surfaceWriter. More... | |
static autoPtr< surfaceWriter > | New (const word &writeType, const dictionary &optDict) |
Return a reference to the selected surfaceWriter. More... | |
Protected Attributes inherited from surfaceWriter | |
IOstream::streamFormat | writeFormat_ |
Write format. More... | |
A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, but which does not support any fields.
Definition at line 49 of file proxySurfaceWriter.H.
proxySurfaceWriter | ( | const word & | ext | ) |
Construct for a given extension.
Definition at line 40 of file proxySurfaceWriter.C.
|
virtual |
Destructor.
Definition at line 49 of file proxySurfaceWriter.C.
References proxySurfaceWriter::write().
TypeName | ( | "proxy" | ) |
Runtime type information.
|
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.
|
virtual |
Write single surface geometry to file.
Implements surfaceWriter.
Definition at line 56 of file proxySurfaceWriter.C.
References Foam::endl(), Foam::Info, Foam::isDir(), Foam::mkDir(), and points.
Referenced by proxySurfaceWriter::write(), and proxySurfaceWriter::~proxySurfaceWriter().
|
inlinevirtual |
Write scalarField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implements surfaceWriter.
Definition at line 98 of file proxySurfaceWriter.H.
References proxySurfaceWriter::write().
|
inlinevirtual |
Write vectorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implements surfaceWriter.
Definition at line 112 of file proxySurfaceWriter.H.
References proxySurfaceWriter::write().
|
inlinevirtual |
Write sphericalTensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implements surfaceWriter.
Definition at line 126 of file proxySurfaceWriter.H.
References proxySurfaceWriter::write().
|
inlinevirtual |
Write symmTensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implements surfaceWriter.
Definition at line 140 of file proxySurfaceWriter.H.
References proxySurfaceWriter::write().
|
inlinevirtual |
Write tensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implements surfaceWriter.
Definition at line 154 of file proxySurfaceWriter.H.