Read/write the surface shells from pro-STAR vrt/cel files. More...
#include <surfMesh/STARCDsurfaceFormat.H>
Read/write the surface shells from pro-STAR vrt/cel files.
Definition at line 61 of file STARCDsurfaceFormat.H.
Inheritance diagram for STARCDsurfaceFormat< Face >:
Collaboration diagram for STARCDsurfaceFormat< Face >: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.
| |
| STARCDsurfaceFormat | ( | const fileName & | filename ) |
Construct from file name.
Definition at line 66 of file STARCDsurfaceFormat.C.
| virtual ~STARCDsurfaceFormat | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 113 of file STARCDsurfaceFormat.H.
| static autoPtr<MeshedSurface<Face> > New | ( | const fileName & | name ) | [inline, static]
|
Read file and return surface.
Reimplemented from MeshedSurface< Face >.
Definition at line 103 of file STARCDsurfaceFormat.H.
References Foam::name().
| void write | ( | const fileName & | filename, |
| const MeshedSurfaceProxy< Face > & | surf | ||
| ) | [static]
|
Write surface mesh components by proxy.
Definition at line 220 of file STARCDsurfaceFormat.C.
References MeshedSurfaceProxy< Face >::faceMap(), MeshedSurfaceProxy< Face >::faces(), forAll, fileName::lessExt(), MeshedSurfaceProxy< Face >::points(), List< T >::size(), MeshedSurfaceProxy< Face >::surfZones(), and MeshedSurfaceProxy< Face >::useFaceMap().
Referenced by STARCDsurfaceFormat< Face >::write().
| bool read | ( | const fileName & | filename ) | [virtual]
|
Read from file.
Reimplemented from MeshedSurface< Face >.
Definition at line 78 of file STARCDsurfaceFormat.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), List< T >::clear(), clear(), HashTable< T, Key, Hash >::end(), Foam::exit(), f(), Foam::FatalError, FatalErrorIn, HashTable< T, Key, Hash >::find(), forAll, IOstream::good(), HashTable< T, Key, Hash >::insert(), fileName::lessExt(), Foam::name(), IFstream::name(), face::nTriangles(), points, DynamicList< T, SizeInc, SizeMult, SizeDiv >::reserve(), List< T >::size(), face::triangles(), and DynamicList< T, SizeInc, SizeMult, SizeDiv >::xfer().
| virtual void write | ( | const fileName & | name ) | const [inline, virtual]
|
Write object.
Reimplemented from MeshedSurface< Face >.
Definition at line 126 of file STARCDsurfaceFormat.H.
References STARCDsurfaceFormat< Face >::write().