FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

GTSsurfaceFormat< Face > Class Template Reference

Provide a means of reading/writing GTS format. The output is never sorted by zone and is only written if it consists entirely of triangles. More...

#include <surfMesh/GTSsurfaceFormat.H>


Detailed Description

template<class Face>
class Foam::fileFormats::GTSsurfaceFormat< Face >

Provide a means of reading/writing GTS format. The output is never sorted by zone and is only written if it consists entirely of triangles.

Source files

Definition at line 56 of file GTSsurfaceFormat.H.

Inheritance diagram for GTSsurfaceFormat< Face >:
Collaboration diagram for GTSsurfaceFormat< Face >:

List of all members.

Public Member Functions

 GTSsurfaceFormat (const fileName &)
 Construct from file name.
virtual  ~GTSsurfaceFormat ()
 Destructor.
virtual bool  read (const fileName &)
 Read from file.
virtual void  write (const fileName &name) const
 Write object.

Static Public Member Functions

static autoPtr
< UnsortedMeshedSurface< Face > >  
New (const fileName &name)
 Read file and return surface.
static void  write (const fileName &, const MeshedSurface< Face > &)
 Write MeshedSurface.
static void  write (const fileName &, const UnsortedMeshedSurface< Face > &)
 Write UnsortedMeshedSurface, the output remains unsorted.

Constructor & Destructor Documentation

GTSsurfaceFormat ( const fileName &   filename  )

Construct from file name.

Definition at line 38 of file GTSsurfaceFormat.C.

virtual ~GTSsurfaceFormat (  ) [inline, virtual]

Destructor.

Definition at line 90 of file GTSsurfaceFormat.H.


Member Function Documentation

static autoPtr<UnsortedMeshedSurface<Face> > New ( const fileName &   name  ) [inline, static]

Read file and return surface.

Reimplemented from UnsortedMeshedSurface< Face >.

Definition at line 80 of file GTSsurfaceFormat.H.

References Foam::name().

bool read ( const fileName &   filename  ) [virtual]
virtual void write ( const fileName &   name  ) const [inline, virtual]

Write object.

Reimplemented from UnsortedMeshedSurface< Face >.

Definition at line 106 of file GTSsurfaceFormat.H.

References GTSsurfaceFormat< Face >::write().


The documentation for this class was generated from the following files: