Base class for surface writers. More...
Public Member Functions | |
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 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 =0 |
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 bool verbose=false) const =0 |
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 =0 |
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 =0 |
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 =0 |
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 =0 |
Write tensorField for a single surface to file. More... | |
Static Public Member Functions | |
static autoPtr< surfaceWriter > | New (const word &writeType) |
Return a reference to the selected surfaceWriter. More... | |
static autoPtr< surfaceWriter > | New (const word &writeType, const dictionary &writeOptions) |
Return a reference to the selected surfaceWriter. More... | |
surfaceWriter | ( | ) |
Construct null.
Definition at line 93 of file surfaceWriter.C.
|
virtual |
Destructor.
Definition at line 99 of file surfaceWriter.C.
TypeName | ( | "surfaceWriter" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
surfaceWriter | , | ||
word | , | ||
() | , | ||
() | |||
) |
declareRunTimeSelectionTable | ( | autoPtr | , |
surfaceWriter | , | ||
wordDict | , | ||
(const dictionary &optDict) | , | ||
(optDict) | |||
) |
|
static |
Return a reference to the selected surfaceWriter.
Definition at line 44 of file surfaceWriter.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and MeshedSurfaceProxy< Face >::writeTypes().
Referenced by surfaceFieldValue::initialise(), surfaceWriter::New(), and sampledSurfaces::read().
|
static |
Return a reference to the selected surfaceWriter.
Select with extra write option
Definition at line 75 of file surfaceWriter.C.
References surfaceWriter::New().
|
inlinevirtual |
True if the surface format supports geometry in a separate file.
False if geometry and field must be in a single file
Reimplemented in nastranSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, and proxySurfaceWriter.
Definition at line 112 of file surfaceWriter.H.
|
pure virtual |
Write single surface geometry to file.
Implemented in nastranSurfaceWriter, rawSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, vtkSurfaceWriter, proxySurfaceWriter, and noSurfaceWriter.
|
pure virtual |
Write scalarField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implemented in nastranSurfaceWriter, rawSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, vtkSurfaceWriter, proxySurfaceWriter, and noSurfaceWriter.
|
pure virtual |
Write vectorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implemented in nastranSurfaceWriter, rawSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, vtkSurfaceWriter, proxySurfaceWriter, and noSurfaceWriter.
|
pure virtual |
Write sphericalTensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implemented in nastranSurfaceWriter, rawSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, vtkSurfaceWriter, proxySurfaceWriter, and noSurfaceWriter.
|
pure virtual |
Write symmTensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implemented in nastranSurfaceWriter, rawSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, vtkSurfaceWriter, proxySurfaceWriter, and noSurfaceWriter.
|
pure virtual |
Write tensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Implemented in nastranSurfaceWriter, rawSurfaceWriter, starcdSurfaceWriter, ensightSurfaceWriter, foamSurfaceWriter, vtkSurfaceWriter, proxySurfaceWriter, and noSurfaceWriter.