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

MeshedSurfaceProxy< Face > Class Template Reference

A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats. More...

#include <surfMesh/MeshedSurfaceProxy.H>


Detailed Description

template<class Face>
class Foam::MeshedSurfaceProxy< Face >

A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.

Source files

Definition at line 64 of file MeshedSurfaceProxy.H.

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

List of all members.

Public Member Functions

 ClassName ("MeshedSurfaceProxy")
 Runtime type information.
 MeshedSurfaceProxy (const pointField &, const List< Face > &, const List< surfZone > &=List< surfZone >(), const List< label > &faceMap=List< label >())
 Construct from component references.
virtual  ~MeshedSurfaceProxy ()
 declareMemberFunctionSelectionTable (void, MeshedSurfaceProxy, write, fileExtension,(const fileName &name, const MeshedSurfaceProxy< Face > &surf),(name, surf))
const pointField &  points () const
 Return const access to the points.
const List< Face > &  faces () const
 Return const access to the faces.
const List< surfZone > &  surfZones () const
 Const access to the surface zones.
const List< label > &  faceMap () const
 Const access to the faceMap, zero-sized when unused.
bool  useFaceMap () const
 Use faceMap?
virtual void  write (const fileName &name) const
 Generic write routine. Chooses writer based on extension.
virtual void  write (const Time &, const word &surfName="") const
 Write to database.

Static Public Member Functions

static wordHashSet  writeTypes ()
 The file format types that can be written via MeshedSurfaceProxy.
static bool  canWriteType (const word &ext, const bool verbose=false)
 Can this file format type be written via MeshedSurfaceProxy?
static void  write (const fileName &, const MeshedSurfaceProxy< Face > &)
 Write to file.

Constructor & Destructor Documentation

MeshedSurfaceProxy ( const pointField &   pointLst,
const List< Face > &   faceLst,
const List< surfZone > &   zoneLst = List<surfZone>(),
const List< label > &   faceMap = List<label>()  
)

Construct from component references.

Definition at line 222 of file MeshedSurfaceProxy.C.

~MeshedSurfaceProxy (  ) [virtual]

Definition at line 239 of file MeshedSurfaceProxy.C.


Member Function Documentation

ClassName ( "MeshedSurfaceProxy< Face >"    )

Runtime type information.

Foam::wordHashSet writeTypes (  ) [static]

The file format types that can be written via MeshedSurfaceProxy.

Definition at line 36 of file MeshedSurfaceProxy.C.

bool canWriteType ( const word &   ext,
const bool   verbose = false  
) [static]

Can this file format type be written via MeshedSurfaceProxy?

Definition at line 44 of file MeshedSurfaceProxy.C.

declareMemberFunctionSelectionTable ( void   ,
MeshedSurfaceProxy< Face >   ,
write   ,
fileExtension   ,
(const fileName &name, const MeshedSurfaceProxy< Face > &surf)   ,
(name, surf)    
)
static void write ( const fileName &   ,
const MeshedSurfaceProxy< Face > &    
) [static]
virtual void write ( const fileName &   name  ) const [inline, virtual]

Generic write routine. Chooses writer based on extension.

Definition at line 168 of file MeshedSurfaceProxy.H.

References MeshedSurfaceProxy< Face >::write().

void write ( const Time &   t,
const word &   surfName = ""  
) const [virtual]

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