Reading of the (now deprecated and infrequently used) Foam Trisurface Format. More...
Data Structures | |
class | ftrPatch |
Read compatibility for ftr patch definitions. More... | |
Public Member Functions | |
FTRsurfaceFormat (const fileName &) | |
Construct from file name. More... | |
virtual | ~FTRsurfaceFormat () |
Destructor. More... | |
virtual bool | read (const fileName &) |
Read from file. More... | |
![]() | |
UnsortedMeshedSurface () | |
Construct null. More... | |
UnsortedMeshedSurface (const Xfer< pointField > &, const Xfer< List< Face > > &, const Xfer< List< label > > &zoneIds, const Xfer< surfZoneIdentifierList > &) | |
Construct by transferring components. More... | |
UnsortedMeshedSurface (const Xfer< pointField > &, const Xfer< List< Face > > &, const labelUList &zoneSizes=labelUList(), const UList< word > &zoneNames=UList< word >()) | |
Construct by transferring points, faces. More... | |
UnsortedMeshedSurface (const UnsortedMeshedSurface< Face > &) | |
Construct as copy. More... | |
UnsortedMeshedSurface (const MeshedSurface< Face > &) | |
Construct from a meshedSurface. More... | |
UnsortedMeshedSurface (const Xfer< UnsortedMeshedSurface< Face > > &) | |
Construct by transferring the contents from a UnsortedMeshedSurface. More... | |
UnsortedMeshedSurface (const Xfer< MeshedSurface< Face > > &) | |
Construct by transferring the contents from a meshedSurface. More... | |
UnsortedMeshedSurface (const fileName &) | |
Construct from file name (uses extension to determine type) More... | |
UnsortedMeshedSurface (const fileName &, const word &) | |
Construct from file name (uses extension to determine type) More... | |
UnsortedMeshedSurface (const Time &, const word &surfName="") | |
Construct from objectRegistry and a named surface. More... | |
UnsortedMeshedSurface () | |
UnsortedMeshedSurface (const Xfer< pointField > &pointLst, const Xfer< List< Face > > &faceLst, const Xfer< List< label > > &zoneIds, const Xfer< surfZoneIdentifierList > &zoneTofc) | |
UnsortedMeshedSurface (const Xfer< pointField > &pointLst, const Xfer< List< Face > > &faceLst, const labelUList &zoneSizes, const UList< word > &zoneNames) | |
UnsortedMeshedSurface (const UnsortedMeshedSurface< Face > &surf) | |
UnsortedMeshedSurface (const MeshedSurface< Face > &surf) | |
UnsortedMeshedSurface (const Xfer< UnsortedMeshedSurface< Face > > &surf) | |
UnsortedMeshedSurface (const Xfer< MeshedSurface< Face > > &surf) | |
UnsortedMeshedSurface (const fileName &name, const word &ext) | |
UnsortedMeshedSurface (const fileName &name) | |
UnsortedMeshedSurface (const Time &t, const word &surfName) | |
void | setSize (const label) |
Reset size of face and zone list. More... | |
TypeName ("UnsortedMeshedSurface") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, UnsortedMeshedSurface, fileExtension,(const fileName &name),(name)) | |
virtual | ~UnsortedMeshedSurface () |
Destructor. More... | |
declareMemberFunctionSelectionTable (void, UnsortedMeshedSurface, write, fileExtension,(const fileName &name, const UnsortedMeshedSurface< Face > &surf),(name, surf)) | |
virtual void | write (const fileName &name) const |
Generic write routine. Chooses writer based on extension. More... | |
void | write (const Time &, const word &surfName="") const |
Write to database. More... | |
label | size () const |
The surface size is the number of faces. More... | |
const List< label > & | zoneIds () const |
Return const access to the zone ids. More... | |
const List< surfZoneIdentifier > & | zoneToc () const |
Return const access to the zone table-of-contents. More... | |
surfZoneList | sortedZones (labelList &faceMap) const |
Sort faces according to zoneIds. More... | |
void | setOneZone () |
Set zones to 0 and set a single zone. More... | |
void | setZones (const surfZoneList &) |
Set zone ids and zones. More... | |
void | setZones (const labelUList &sizes, const UList< word > &names) |
Set zone ids and zones. More... | |
void | setZones (const labelUList &sizes) |
Set zone ids and zones with default names. More... | |
virtual void | clear () |
Clear all storage. More... | |
UnsortedMeshedSurface | subsetMesh (const labelHashSet &include, labelList &pointMap, labelList &faceMap) const |
Return new surface. More... | |
UnsortedMeshedSurface | subsetMesh (const labelHashSet &include) const |
Return new surface. More... | |
virtual void | reset (const Xfer< pointField > &, const Xfer< List< Face > > &, const Xfer< List< label > > &zoneIds) |
Transfer components (points, faces, zone ids). More... | |
virtual void | reset (const Xfer< List< point > > &, const Xfer< List< Face > > &, const Xfer< List< label > > &zoneIds) |
Transfer components (points, faces, zone ids). More... | |
void | transfer (UnsortedMeshedSurface< Face > &) |
Transfer the contents of the argument and annul the argument. More... | |
void | transfer (MeshedSurface< Face > &) |
Transfer the contents of the argument and annul the argument. More... | |
Xfer< UnsortedMeshedSurface< Face > > | xfer () |
Transfer contents to the Xfer container. More... | |
bool | read (const fileName &, const word &ext) |
Read from file. Chooses reader based on explicit extension. More... | |
void | operator= (const UnsortedMeshedSurface< Face > &) |
operator MeshedSurfaceProxy< Face > () const | |
Conversion operator to MeshedSurfaceProxy. More... | |
Static Public Member Functions | |
static autoPtr< UnsortedMeshedSurface< Face > > | New (const fileName &name) |
Read file and return surface. More... | |
![]() | |
static bool | canReadType (const word &ext, const bool verbose=false) |
Can we read this file format? More... | |
static bool | canRead (const fileName &, const bool verbose=false) |
Can we read this file format? More... | |
static bool | canWriteType (const word &ext, const bool verbose=false) |
Can we write this file format? More... | |
static wordHashSet | readTypes () |
static wordHashSet | writeTypes () |
static autoPtr< UnsortedMeshedSurface > | New (const fileName &, const word &ext) |
Select constructed from filename (explicit extension) More... | |
static autoPtr< UnsortedMeshedSurface > | New (const fileName &) |
Select constructed from filename (implicit extension) More... | |
static void | write (const fileName &, const UnsortedMeshedSurface< Face > &) |
Write to file. More... | |
Private Member Functions | |
FTRsurfaceFormat (const FTRsurfaceFormat< Face > &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const FTRsurfaceFormat< Face > &) |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
![]() | |
typedef Face | FaceType |
Face type used. More... | |
![]() | |
List< label > & | storedZoneIds () |
Return non-const access to the zone Ids. More... | |
List< surfZoneIdentifier > & | storedZoneToc () |
Return non-const access to the zone table-of-contents. More... | |
virtual void | remapFaces (const labelUList &faceMap) |
Set new zones from faceMap. More... | |
Reading of the (now deprecated and infrequently used) Foam Trisurface Format.
Definition at line 57 of file FTRsurfaceFormat.H.
|
private |
Disallow default bitwise copy construct.
FTRsurfaceFormat | ( | const fileName & | filename | ) |
Construct from file name.
Definition at line 34 of file FTRsurfaceFormat.C.
References Foam::read().
|
inlinevirtual |
Destructor.
Definition at line 117 of file FTRsurfaceFormat.H.
|
private |
Disallow default bitwise assignment.
|
inlinestatic |
Read file and return surface.
Definition at line 107 of file FTRsurfaceFormat.H.
References Foam::name().
|
virtual |
Read from file.
Reimplemented from UnsortedMeshedSurface< Face >.
Definition at line 46 of file FTRsurfaceFormat.C.
References clear(), List::clear(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOstream::good(), Foam::name(), List::size(), and List::transfer().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.