Provide a means of writing VTK legacy format. The output is never sorted by zone. More...
#include <surfMesh/VTKsurfaceFormat.H>
Provide a means of writing VTK legacy format. The output is never sorted by zone.
Definition at line 56 of file VTKsurfaceFormat.H.
Public Member Functions | |
VTKsurfaceFormat () | |
Construct null.
| |
virtual | ~VTKsurfaceFormat () |
virtual void | write (Ostream &os) const |
Write object.
| |
Static Public Member Functions | |
static void | write (const fileName &, const MeshedSurfaceProxy< Face > &) |
Write surface mesh components by proxy.
| |
static void | write (const fileName &, const UnsortedMeshedSurface< Face > &) |
Write UnsortedMeshedSurface, the output remains unsorted.
|
VTKsurfaceFormat | ( | ) |
Construct null.
Definition at line 53 of file VTKsurfaceFormat.C.
virtual ~VTKsurfaceFormat | ( | ) | [inline, virtual]
|
Definition at line 83 of file VTKsurfaceFormat.H.
void write | ( | const fileName & | filename, |
const MeshedSurfaceProxy< Face > & | surf | ||
) | [static]
|
Write surface mesh components by proxy.
Definition at line 61 of file VTKsurfaceFormat.C.
References Foam::exit(), f(), MeshedSurfaceProxy< Face >::faceMap(), MeshedSurfaceProxy< Face >::faces(), Foam::FatalError, FatalErrorIn, forAll, IOstream::good(), Foam::nl, MeshedSurfaceProxy< Face >::points(), List< T >::size(), MeshedSurfaceProxy< Face >::surfZones(), and MeshedSurfaceProxy< Face >::useFaceMap().
Referenced by VTKsurfaceFormat< Face >::write().
void write | ( | const fileName & | filename, |
const UnsortedMeshedSurface< Face > & | surf | ||
) | [static]
|
Write UnsortedMeshedSurface, the output remains unsorted.
Definition at line 136 of file VTKsurfaceFormat.C.
References Foam::exit(), f(), MeshedSurface< Face >::faces(), Foam::FatalError, FatalErrorIn, forAll, IOstream::good(), Foam::nl, PrimitivePatch< Face,::Foam::List, pointField, point >::points(), and UnsortedMeshedSurface< Face >::zoneIds().
virtual void write | ( | Ostream & | os ) | const [inline, virtual]
|
Write object.
Definition at line 105 of file VTKsurfaceFormat.H.
References VTKsurfaceFormat< Face >::write().