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

TRIsurfaceFormat< Face > Class Template Reference

Provide a means of reading/writing .tri format. More...

#include <surfMesh/TRIsurfaceFormat.H>


Detailed Description

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

Provide a means of reading/writing .tri format.

Note:
For efficiency, the zones are sorted before creating the faces. The class is thus derived from MeshedSurface.
Source files

Definition at line 59 of file TRIsurfaceFormat.H.

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

List of all members.

Public Member Functions

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

Static Public Member Functions

static autoPtr< MeshedSurface
< Face > >  
New (const fileName &name)
 Read file and return surface.
static void  write (const fileName &, const MeshedSurfaceProxy< Face > &)
 Write surface mesh components by proxy.
static void  write (const fileName &, const UnsortedMeshedSurface< Face > &)
 Write UnsortedMeshedSurface,.

Constructor & Destructor Documentation

TRIsurfaceFormat ( const fileName &   filename  )

Construct from file name.

Definition at line 63 of file TRIsurfaceFormat.C.

virtual ~TRIsurfaceFormat (  ) [inline, virtual]

Destructor.

Definition at line 101 of file TRIsurfaceFormat.H.


Member Function Documentation

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

Read file and return surface.

Reimplemented from MeshedSurface< Face >.

Definition at line 91 of file TRIsurfaceFormat.H.

References Foam::name().

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

Write object.

Reimplemented from MeshedSurface< Face >.

Definition at line 118 of file TRIsurfaceFormat.H.

References TRIsurfaceFormat< Face >::write().


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