A surfaceWriter for foamFiles. More...
#include <sampling/foamFileSurfaceWriter.H>
A surfaceWriter for foamFiles.
Definition at line 50 of file foamFileSurfaceWriter.H.
Public Member Functions | |
TypeName ("foamFile") | |
Runtime type information.
| |
foamFileSurfaceWriter () | |
Construct null.
| |
virtual | ~foamFileSurfaceWriter () |
virtual bool | separateFiles () |
Return true if the surface format supports separate files.
| |
virtual void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const bool verbose=false) const |
Write geometry to file.
| |
virtual void | write (const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const fileName &fieldName, const Field< Type > &values, const bool verbose=false) const |
Writes single surface to file.
|
Construct null.
Definition at line 34 of file foamFileSurfaceWriter.C.
~foamFileSurfaceWriter | ( | ) | [virtual]
|
Definition at line 43 of file foamFileSurfaceWriter.C.
TypeName | ( | "foamFile" | ) |
Runtime type information.
virtual bool separateFiles | ( | ) | [inline, virtual]
|
Return true if the surface format supports separate files.
Reimplemented from surfaceWriter< Type >.
Definition at line 75 of file foamFileSurfaceWriter.H.
void write | ( | const fileName & | outputDir, |
const fileName & | surfaceName, | ||
const pointField & | points, | ||
const faceList & | faces, | ||
const bool | verbose = false
|
||
) | const [virtual]
|
Write geometry to file.
Reimplemented from surfaceWriter< Type >.
Definition at line 51 of file foamFileSurfaceWriter.C.
References Foam::endl(), forAll, Foam::Info, Foam::isDir(), Foam::mkDir(), List< T >::size(), and Vector< scalar >::zero.
void write | ( | const fileName & | outputDir, |
const fileName & | surfaceName, | ||
const pointField & | points, | ||
const faceList & | faces, | ||
const fileName & | fieldName, | ||
const Field< Type > & | values, | ||
const bool | verbose = false
|
||
) | const [virtual]
|
Writes single surface to file.
Implements surfaceWriter< Type >.
Definition at line 92 of file foamFileSurfaceWriter.C.
References Foam::endl(), Foam::Info, Foam::isDir(), and Foam::mkDir().