A surfaceWriter for foamFiles. More...
Public Member Functions | |
TypeName ("foamFile") | |
Runtime type information. More... | |
foamFileSurfaceWriter () | |
Construct null. More... | |
virtual | ~foamFileSurfaceWriter () |
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... | |
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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
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... | |
Construct null.
Definition at line 86 of file foamFileSurfaceWriter.C.
|
virtual |
Destructor.
Definition at line 94 of file foamFileSurfaceWriter.C.
References foamFileSurfaceWriter::write().
TypeName | ( | "foamFile" | ) |
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 89 of file foamFileSurfaceWriter.H.
|
virtual |
Write single surface geometry to file.
Reimplemented from surfaceWriter.
Definition at line 101 of file foamFileSurfaceWriter.C.
References Foam::defineSurfaceWriterWriteFields(), Foam::endl(), forAll, Foam::Info, Foam::isDir(), Foam::mkDir(), List< T >::size(), and VectorSpace< Vector< scalar >, scalar, 3 >::zero.
Referenced by foamFileSurfaceWriter::~foamFileSurfaceWriter().
|
virtual |
Write scalarField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Reimplemented from surfaceWriter.
|
virtual |
Write vectorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Reimplemented from surfaceWriter.
|
virtual |
Write sphericalTensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Reimplemented from surfaceWriter.
|
virtual |
Write symmTensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Reimplemented from surfaceWriter.
|
virtual |
Write tensorField for a single surface to file.
One value per face or vertex (isNodeValues = true)
Reimplemented from surfaceWriter.