Read/write GTS format. More...
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 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< UnsortedMeshedSurface > | New (const fileName &name, const word &fileType, bool mandatory=true) |
static autoPtr< UnsortedMeshedSurface > | New (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 | |
![]() | |
typedef Face | face_type |
typedef point | point_type |
![]() | |
labelList & | storedZoneIds () |
List< surfZoneIdentifier > & | storedZoneToc () |
virtual void | remapFaces (const labelUList &faceMapNewToOld) |
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
Definition at line 61 of file GTSsurfaceFormat.H.
GTSsurfaceFormat | ( | const fileName & | filename | ) |
Definition at line 66 of file GTSsurfaceFormat.C.
References Foam::blockMeshTools::read().
|
virtualdefault |
|
static |
Definition at line 243 of file GTSsurfaceFormat.C.
References Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOstreamOption::format(), Foam::nl, os(), UList::size(), MeshedSurface::size(), MeshedSurface::surfFaces(), and MeshedSurface::surfZones().
Referenced by GTSsurfaceFormat< Face >::write().
|
static |
Definition at line 335 of file GTSsurfaceFormat.C.
References Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOstreamOption::format(), Foam::nl, os(), UList::size(), UnsortedMeshedSurface::size(), UnsortedMeshedSurface::zoneIds(), and UnsortedMeshedSurface::zoneToc().
Reimplemented from UnsortedMeshedSurface< Face >.
Definition at line 78 of file GTSsurfaceFormat.C.
References IOstream::bad(), clear(), edge::commonVertex(), stdFoam::end(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOstream::good(), Foam::nl, nPoints, edge::otherVertex(), x, and y.
|
inlinevirtual |
Reimplemented from UnsortedMeshedSurface< Face >.
Definition at line 112 of file GTSsurfaceFormat.H.
References Foam::name(), and GTSsurfaceFormat< Face >::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.