Public Member Functions | Static Public Member Functions | List of all members
GTSsurfaceFormat< Face > Class Template Reference

Read/write GTS format. More...

Inheritance diagram for GTSsurfaceFormat< Face >:
Inheritance graph
[legend]
Collaboration diagram for GTSsurfaceFormat< Face >:
Collaboration graph
[legend]

Public Member Functions

 GTSsurfaceFormat (const fileName &filename)
 
virtual ~GTSsurfaceFormat ()=default
 
virtual bool read (const fileName &filename)
 
virtual void write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
- Public Member Functions inherited from UnsortedMeshedSurface< Face >
 UnsortedMeshedSurface ()
 
 UnsortedMeshedSurface (const UnsortedMeshedSurface< Face > &surf)
 
 UnsortedMeshedSurface (const MeshedSurface< Face > &surf)
 
 UnsortedMeshedSurface (UnsortedMeshedSurface< Face > &&surf)
 
 UnsortedMeshedSurface (MeshedSurface< Face > &&surf)
 
 UnsortedMeshedSurface (pointField &&pointLst, List< Face > &&faceLst, List< label > &&zoneIds, UList< surfZoneIdentifier > &tocInfo)
 
 UnsortedMeshedSurface (const fileName &name)
 
 UnsortedMeshedSurface (const fileName &name, const word &fileType)
 
 UnsortedMeshedSurface (Istream &is)
 
 UnsortedMeshedSurface (const Time &runTime)
 
 UnsortedMeshedSurface (const Time &runTime, const word &surfName)
 
 UnsortedMeshedSurface (const IOobject &io, const dictionary &dict, const bool isGlobal=true)
 
 UnsortedMeshedSurface ()
 
 UnsortedMeshedSurface (const UnsortedMeshedSurface< Face > &surf)
 
 UnsortedMeshedSurface (const MeshedSurface< Face > &surf)
 
 UnsortedMeshedSurface (UnsortedMeshedSurface< Face > &&surf)
 
 UnsortedMeshedSurface (MeshedSurface< Face > &&surf)
 
 UnsortedMeshedSurface (pointField &&pointLst, List< Face > &&faceLst, List< label > &&zoneIds, UList< surfZoneIdentifier > &tocInfo)
 
 UnsortedMeshedSurface (const fileName &name, const word &ext)
 
 UnsortedMeshedSurface (const fileName &name)
 
 UnsortedMeshedSurface (Istream &is)
 
 UnsortedMeshedSurface (const Time &runTime)
 
 UnsortedMeshedSurface (const Time &runTime, const word &surfName)
 
 UnsortedMeshedSurface (const IOobject &io, const dictionary &dict, const bool isGlobal)
 
void setSize (const label)
 
 TypeName ("UnsortedMeshedSurface")
 
 declareRunTimeSelectionTable (autoPtr, UnsortedMeshedSurface, fileExtension,(const fileName &name),(name))
 
virtual ~UnsortedMeshedSurface ()=default
 
 declareMemberFunctionSelectionTable (void, UnsortedMeshedSurface, write, fileExtension,(const fileName &name, const UnsortedMeshedSurface< Face > &surf, IOstreamOption streamOpt, const dictionary &options),(name, surf, streamOpt, options))
 
virtual void write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
void write (const Time &t, const word &surfName=word::null) const
 
label size () const
 
virtual const labelListzoneIds () const
 
const List< surfZoneIdentifier > & zoneToc () const
 
surfZoneList sortedZones (labelList &faceMap) const
 
void setOneZone ()
 
void setZones (const surfZoneList &zoneLst)
 
void setZones (const labelUList &sizes, const UList< word > &names)
 
void setZones (const labelUList &sizes)
 
virtual void clear ()
 
void subsetMeshMap (const BoolListType &include, labelList &pointMap, labelList &faceMap) const
 
UnsortedMeshedSurface subsetMesh (const UList< bool > &include, labelList &pointMap, labelList &faceMap) const
 
UnsortedMeshedSurface subsetMesh (const bitSet &include, labelList &pointMap, labelList &faceMap) const
 
UnsortedMeshedSurface subsetMesh (const UList< bool > &include) const
 
UnsortedMeshedSurface subsetMesh (const bitSet &include) const
 
void swap (MeshedSurface< Face > &surf)=delete
 
void swap (UnsortedMeshedSurface< Face > &surf)
 
void transfer (UnsortedMeshedSurface< Face > &surf)
 
void transfer (MeshedSurface< Face > &surf)
 
autoPtr< labelListreleaseZoneIds ()
 
bool read (const fileName &name, const word &fileType)
 
void operator= (const UnsortedMeshedSurface< Face > &surf)
 
void operator= (UnsortedMeshedSurface< Face > &&surf)
 
 operator MeshedSurfaceProxy< Face > () const
 

Static Public Member Functions

static void write (const fileName &filename, const MeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &=dictionary::null)
 
static void write (const fileName &filename, const UnsortedMeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &=dictionary::null)
 
- Static Public Member Functions inherited from UnsortedMeshedSurface< Face >
static wordHashSet readTypes ()
 
static wordHashSet writeTypes ()
 
static bool canReadType (const word &fileType, bool verbose=false)
 
static bool canWriteType (const word &fileType, bool verbose=false)
 
static bool canRead (const fileName &name, bool verbose=false)
 
static autoPtr< UnsortedMeshedSurfaceNew (const fileName &name, const word &fileType, bool mandatory=true)
 
static autoPtr< UnsortedMeshedSurfaceNew (const fileName &name)
 
static void write (const fileName &name, const UnsortedMeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 
static void write (const fileName &name, const word &fileType, const UnsortedMeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 

Additional Inherited Members

- Public Types inherited from UnsortedMeshedSurface< Face >
typedef Face face_type
 
typedef point point_type
 
- Protected Member Functions inherited from UnsortedMeshedSurface< Face >
labelListstoredZoneIds ()
 
List< surfZoneIdentifier > & storedZoneToc ()
 
virtual void remapFaces (const labelUList &faceMapNewToOld)
 

Detailed Description

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

Read/write GTS format.

The output is never sorted by zone and is only written if it consists entirely of triangles.

Output stream options:

Output dictionary options: ignored

Source files

Definition at line 61 of file GTSsurfaceFormat.H.

Constructor & Destructor Documentation

◆ GTSsurfaceFormat()

GTSsurfaceFormat ( const fileName filename)

Definition at line 66 of file GTSsurfaceFormat.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ ~GTSsurfaceFormat()

virtual ~GTSsurfaceFormat ( )
virtualdefault

Member Function Documentation

◆ write() [1/3]

void write ( const fileName filename,
const MeshedSurface< Face > &  surf,
IOstreamOption  streamOpt = IOstreamOption(),
const dictionary = dictionary::null 
)
static

◆ write() [2/3]

void write ( const fileName filename,
const UnsortedMeshedSurface< Face > &  surf,
IOstreamOption  streamOpt = IOstreamOption(),
const dictionary = dictionary::null 
)
static

◆ read()

bool read ( const fileName filename)
virtual

◆ write() [3/3]

virtual void write ( const fileName name,
IOstreamOption  streamOpt = IOstreamOption(),
const dictionary options = dictionary::null 
) const
inlinevirtual

Reimplemented from UnsortedMeshedSurface< Face >.

Definition at line 112 of file GTSsurfaceFormat.H.

References Foam::name(), and GTSsurfaceFormat< Face >::write().

Here is the call graph for this function:

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