Public Member Functions | Static Public Member Functions | List of all members
FLMAZsurfaceFormat< Face > Class Template Reference
Inheritance diagram for FLMAZsurfaceFormat< Face >:
Inheritance graph
[legend]
Collaboration diagram for FLMAZsurfaceFormat< Face >:
Collaboration graph
[legend]

Public Member Functions

 FLMAZsurfaceFormat ()=default
 
virtual ~FLMAZsurfaceFormat ()=default
 
virtual void write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
- Public Member Functions inherited from FLMAsurfaceFormat< Face >
 FLMAsurfaceFormat ()=default
 
virtual ~FLMAsurfaceFormat ()=default
 
- Public Member Functions inherited from MeshedSurface< Face >
 MeshedSurface ()
 
 MeshedSurface (const MeshedSurface &surf)
 
 MeshedSurface (const UnsortedMeshedSurface< Face > &surf)
 
 MeshedSurface (MeshedSurface &&surf)
 
 MeshedSurface (UnsortedMeshedSurface< Face > &&surf)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const labelUList &zoneSizes=labelUList(), const UList< word > &zoneNames=UList< word >())
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const labelUList &zoneSizes=labelUList(), const UList< word > &zoneNames=UList< word >())
 
 MeshedSurface (const polyBoundaryMesh &bMesh, const bool globalPoints=false)
 
 MeshedSurface (const surfMesh &mesh)
 
 MeshedSurface (const fileName &name)
 
 MeshedSurface (const fileName &name, const word &fileType)
 
 MeshedSurface (Istream &is)
 
 MeshedSurface (const Time &runTime)
 
 MeshedSurface (const Time &runTime, const word &surfName)
 
 MeshedSurface (const IOobject &io, const dictionary &dict, const bool isGlobal=true)
 
 MeshedSurface ()
 
 MeshedSurface (const MeshedSurface< Face > &surf)
 
 MeshedSurface (const UnsortedMeshedSurface< Face > &surf)
 
 MeshedSurface (MeshedSurface< Face > &&surf)
 
 MeshedSurface (UnsortedMeshedSurface< Face > &&surf)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const UList< surfZone > &zoneLst)
 
 MeshedSurface (const pointField &pointLst, const UList< Face > &faceLst, const labelUList &zoneSizes, const UList< word > &zoneNames)
 
 MeshedSurface (pointField &&pointLst, List< Face > &&faceLst, const labelUList &zoneSizes, const UList< word > &zoneNames)
 
 MeshedSurface (const surfMesh &mesh)
 
 MeshedSurface (const polyBoundaryMesh &bMesh, const bool useGlobalPoints)
 
 MeshedSurface (const fileName &name, const word &fileType)
 
 MeshedSurface (const fileName &name)
 
 MeshedSurface (Istream &is)
 
 MeshedSurface (const Time &runTime)
 
 MeshedSurface (const Time &runTime, const word &surfName)
 
 MeshedSurface (const IOobject &io, const dictionary &dict, const bool isGlobal)
 
bool read (const fileName &name, const word &fileType)
 
virtual bool read (const fileName &name)
 
virtual void write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
void write (const Time &runTime, const word &surfName=word::null) const
 
 ClassName ("MeshedSurface")
 
 declareRunTimeSelectionTable (autoPtr, MeshedSurface, fileExtension,(const fileName &name),(name))
 
virtual ~MeshedSurface ()
 
 declareMemberFunctionSelectionTable (void, UnsortedMeshedSurface, write, fileExtension,(const fileName &name, const MeshedSurface< Face > &surf, IOstreamOption streamOpt, const dictionary &options),(name, surf, streamOpt, options))
 
label size () const
 
const List< Face > & surfFaces () const
 
const labelListfaceIds () const
 
const surfZoneListsurfZones () const
 
const vectorFieldSf () const
 
const scalarFieldmagSf () const
 
const vectorFieldCf () const
 
virtual void clear ()
 
virtual void addZones (const UList< surfZone > &, const bool cullEmpty=false)
 
virtual void addZones (const labelUList &sizes, const UList< word > &names, const bool cullEmpty=false)
 
virtual void addZones (const labelUList &sizes, const bool cullEmpty=false)
 
bool addZonesToFaces ()
 
bool addZonesToFaces ()
 
bool addZonesToFaces ()
 
virtual void removeZones ()
 
virtual void movePoints (const pointField &newPoints)
 
virtual void scalePoints (const scalar scaleFactor)
 
virtual void cleanup (const bool verbose)
 
virtual void compactPoints (labelList &pointMap=const_cast< labelList & >(labelList::null()))
 
virtual bool stitchFaces (const scalar tol=SMALL, const bool verbose=false)
 
virtual bool checkFaces (const bool verbose=false)
 
virtual label nTriangles () const
 
virtual label nTriangles (labelList &faceMap) const
 
virtual label triangulate ()
 
virtual label triangulate (labelList &faceMap)
 
void subsetMeshMap (const BoolListType &include, labelList &pointMap, labelList &faceMap) const
 
MeshedSurface subsetMesh (const UList< bool > &include, labelList &pointMap, labelList &faceMap) const
 
MeshedSurface subsetMesh (const bitSet &include, labelList &pointMap, labelList &faceMap) const
 
MeshedSurface subsetMesh (const UList< bool > &include) const
 
MeshedSurface subsetMesh (const bitSet &include) const
 
MeshedSurface subsetMesh (const wordRes &includeNames, const wordRes &excludeNames=wordRes()) const
 
void swap (MeshedSurface< Face > &surf)
 
void transfer (pointField &pointLst, List< Face > &faceLst)
 
void transfer (MeshedSurface< Face > &surf)
 
void transfer (UnsortedMeshedSurface< Face > &surf)
 
autoPtr< MeshedSurface< Face > > releaseGeom ()
 
void swapFaces (List< Face > &faces)
 
void swapPoints (pointField &points)
 
void writeStats (Ostream &os) const
 
void operator= (const MeshedSurface< Face > &surf)
 
void operator= (MeshedSurface< Face > &&surf)
 
 operator MeshedSurfaceProxy< Face > () const
 

Static Public Member Functions

static void write (const fileName &filename, const MeshedSurfaceProxy< Face > &surf, IOstreamOption=IOstreamOption(), const dictionary &=dictionary::null)
 
- Static Public Member Functions inherited from FLMAsurfaceFormat< Face >
static void write (const fileName &filename, const MeshedSurfaceProxy< Face > &surf, IOstreamOption=IOstreamOption(), const dictionary &=dictionary::null)
 
- Static Public Member Functions inherited from MeshedSurface< Face >
static void write (const fileName &name, const MeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 
static void write (const fileName &name, const word &fileType, const MeshedSurface< Face > &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=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< MeshedSurfaceNew (const fileName &name, const word &fileType, bool mandatory=true)
 
static autoPtr< MeshedSurfaceNew (const fileName &name)
 
- Static Public Member Functions inherited from FIRECore
static fileName fireFileName (const fileName &baseName, const enum fileExt3d)
 
static label getFireLabel (ISstream &)
 
static point getFirePoint (ISstream &)
 
static std::string getFireString (ISstream &)
 
static void putFireLabel (OSstream &, const label)
 
static void putFireLabels (OSstream &, const labelUList &)
 
static void putFireLabels (OSstream &, const label count, const label start)
 
static void putFirePoint (OSstream &, const point &)
 
static void putFireString (OSstream &, const std::string &)
 

Additional Inherited Members

- Public Types inherited from MeshedSurface< Face >
typedef Face face_type
 
typedef point point_type
 
- Public Types inherited from FIRECore
enum  selectionType { cellSelection = 2, faceSelection = 3 }
 
enum  shapeType {
  fireLine = 1, fireTri = 2, fireQuad = 3, fireTet = 4,
  fireHex = 5, firePyr = 6, firePrism = 8
}
 
enum  fileExt3d { POLY_ASCII, POLY_BINARY, POLY_ASCII_Z, POLY_BINARY_Z }
 
typedef int32_t fireInt_t
 
typedef double fireReal_t
 
- Protected Member Functions inherited from MeshedSurface< Face >
void transcribe (MeshedSurface< face > &surf)
 
void transcribe (MeshedSurface< face > &surf)
 
void transcribe (MeshedSurface< face > &surf)
 
void transcribe (MeshedSurface< face > &surf)
 
void checkZones (const bool verbose=true)
 
pointFieldstoredPoints ()
 
List< Face > & storedFaces ()
 
labelListstoredFaceIds ()
 
surfZoneListstoredZones ()
 
void sortFacesAndStore (DynamicList< Face > &unsortedFaces, DynamicList< label > &zoneIds, DynamicList< label > &elemIds, bool sorted)
 
virtual void remapFaces (const labelUList &faceMapNewToOld)
 
- Protected Member Functions inherited from FIRECore
 FIRECore ()=default
 
- Static Protected Member Functions inherited from FLMAsurfaceFormat< Face >
static void write (OSstream &os, const MeshedSurfaceProxy< Face > &surf)
 
static void write (IOstreamOption::compressionType comp, const fileName &filename, const MeshedSurfaceProxy< Face > &surf)
 
- Static Protected Member Functions inherited from FIRECore
static label readPoints (ISstream &, pointField &)
 
- Static Protected Attributes inherited from FIRECore
static const Enum< fileExt3dfile3dExtensions
 

Detailed Description

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

Definition at line 137 of file FLMAsurfaceFormat.H.

Constructor & Destructor Documentation

◆ FLMAZsurfaceFormat()

FLMAZsurfaceFormat ( )
default

◆ ~FLMAZsurfaceFormat()

virtual ~FLMAZsurfaceFormat ( )
virtualdefault

Member Function Documentation

◆ write() [1/2]

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

Definition at line 347 of file FLMAsurfaceFormat.C.

References Foam::vtk::write().

Referenced by FLMAZsurfaceFormat< Face >::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [2/2]

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

Reimplemented from FLMAsurfaceFormat< Face >.

Definition at line 169 of file FLMAsurfaceFormat.H.

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

Here is the call graph for this function:

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