OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

STARCDsurfaceFormat< Face > Class Template Reference

Read/write the surface shells from pro-STAR vrt/cel files. More...

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

List of all members.


Public Member Functions

 STARCDsurfaceFormat (const fileName &)
 Construct from file name.
virtual ~STARCDsurfaceFormat ()
 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.

Detailed Description

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

Read/write the surface shells from pro-STAR vrt/cel files.

Note:
Uses the extension .inp (input) to denote the format.
See also:
Foam::meshReaders::STARCD
Source files

Definition at line 56 of file STARCDsurfaceFormat.H.


Constructor & Destructor Documentation

STARCDsurfaceFormat ( const fileName &  filename  )  [inline]

Construct from file name.

Definition at line 58 of file STARCDsurfaceFormat.C.

virtual ~STARCDsurfaceFormat (  )  [inline, virtual]

Destructor.

Definition at line 108 of file STARCDsurfaceFormat.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 98 of file STARCDsurfaceFormat.H.

void write ( const fileName &  filename,
const MeshedSurfaceProxy< Face > &  surf 
) [inline, static]

Write surface mesh components by proxy.

Definition at line 212 of file STARCDsurfaceFormat.C.

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

Read from file.

Reimplemented from MeshedSurface< Face >.

Definition at line 70 of file STARCDsurfaceFormat.C.

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

Write object.

Reimplemented from MeshedSurface< Face >.

Definition at line 121 of file STARCDsurfaceFormat.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd