Public Member Functions | Static Public Member Functions | List of all members
extendedFeatureEdgeMeshFormat Class Reference

Provide a means of reading extendedFeatureEdgeMesh as featureEdgeMesh. More...

Inheritance diagram for extendedFeatureEdgeMeshFormat:
Inheritance graph
[legend]
Collaboration diagram for extendedFeatureEdgeMeshFormat:
Collaboration graph
[legend]

Public Member Functions

 extendedFeatureEdgeMeshFormat (const fileName &)
 Construct from file name. More...
 
virtual ~extendedFeatureEdgeMeshFormat ()
 Destructor. More...
 
virtual bool read (const fileName &)
 Read from file. More...
 
- Public Member Functions inherited from edgeMesh
 TypeName ("edgeMesh")
 Runtime type information. More...
 
 edgeMesh ()
 Construct null. More...
 
 edgeMesh (const pointField &, const edgeList &)
 Construct from components. More...
 
 edgeMesh (const Xfer< pointField > &, const Xfer< edgeList > &)
 Construct by transferring components (points, edges). More...
 
 edgeMesh (const edgeMesh &)
 Construct as copy. More...
 
 edgeMesh (const fileName &)
 Construct from file name (uses extension to determine type) More...
 
 edgeMesh (const fileName &, const word &ext)
 Construct from file name (uses extension to determine type) More...
 
 edgeMesh (Istream &)
 Construct from Istream. More...
 
 declareRunTimeSelectionTable (autoPtr, edgeMesh, fileExtension,(const fileName &name),(name))
 
virtual ~edgeMesh ()
 Destructor. More...
 
 declareMemberFunctionSelectionTable (void, edgeMesh, write, fileExtension,(const fileName &name, const edgeMesh &mesh),(name, mesh))
 
void transfer (edgeMesh &)
 Transfer the contents of the argument and annul the argument. More...
 
Xfer< edgeMeshxfer ()
 Transfer contents to the Xfer container. More...
 
bool read (const fileName &, const word &ext)
 Read from file. Chooses reader based on explicit extension. More...
 
const pointFieldpoints () const
 Return points. More...
 
const edgeListedges () const
 Return edges. More...
 
const labelListListpointEdges () const
 Return edges. More...
 
label regions (labelList &edgeRegion) const
 Find connected regions. Set region number per edge. More...
 
virtual void clear ()
 Clear all storage. More...
 
virtual void reset (const Xfer< pointField > &points, const Xfer< edgeList > &edges)
 Reset primitive data (points, edges) More...
 
virtual void scalePoints (const scalar)
 Scale points. A non-positive factor is ignored. More...
 
virtual void mergePoints (const scalar mergeDist, labelList &)
 Merge common points (points within mergeDist). Return map from. More...
 
virtual void mergeEdges ()
 Merge duplicate edges. More...
 
virtual void writeStats (Ostream &) const
 
virtual void write (const fileName &name) const
 Generic write routine. Chooses writer based on extension. More...
 
void operator= (const edgeMesh &)
 
- Public Member Functions inherited from edgeMeshFormatsCore
 edgeMeshFormatsCore ()
 Construct null. More...
 
virtual ~edgeMeshFormatsCore ()
 Destructor. More...
 

Static Public Member Functions

static autoPtr< edgeMeshNew (const fileName &name)
 Read file and return surface. More...
 
- Static Public Member Functions inherited from edgeMesh
static bool canRead (const fileName &, const bool verbose=false)
 Can we read this file format? More...
 
static bool canReadType (const word &ext, 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 type? More...
 
static wordHashSet readTypes ()
 
static wordHashSet writeTypes ()
 
static autoPtr< edgeMeshNew (const fileName &, const word &ext)
 Select constructed from filename (explicit extension) More...
 
static autoPtr< edgeMeshNew (const fileName &)
 Select constructed from filename (implicit extension) More...
 
static void write (const fileName &, const edgeMesh &)
 Write to file. More...
 
- Static Public Member Functions inherited from edgeMeshFormatsCore
static bool checkSupport (const wordHashSet &available, const word &ext, const bool verbose, const word &functionName)
 

Additional Inherited Members

- Static Public Attributes inherited from edgeMeshFormatsCore
static word nativeExt
 The file extension corresponding to 'native' edge format. More...
 
- Protected Member Functions inherited from edgeMesh
pointFieldstoredPoints ()
 Non-const access to global points. More...
 
edgeListstoredEdges ()
 Non-const access to the edges. More...
 
- Static Protected Member Functions inherited from edgeMeshFormatsCore
static string getLineNoComment (IFstream &)
 Read non-comment line. More...
 

Detailed Description

Provide a means of reading extendedFeatureEdgeMesh as featureEdgeMesh.

Source files

Definition at line 50 of file extendedFeatureEdgeMeshFormat.H.

Constructor & Destructor Documentation

◆ extendedFeatureEdgeMeshFormat()

extendedFeatureEdgeMeshFormat ( const fileName filename)

Construct from file name.

Definition at line 33 of file extendedFeatureEdgeMeshFormat.C.

References Foam::blockMeshTools::read(), and extendedFeatureEdgeMeshFormat::read().

Here is the call graph for this function:

◆ ~extendedFeatureEdgeMeshFormat()

virtual ~extendedFeatureEdgeMeshFormat ( )
inlinevirtual

Destructor.

Definition at line 84 of file extendedFeatureEdgeMeshFormat.H.

References extendedFeatureEdgeMeshFormat::read().

Here is the call graph for this function:

Member Function Documentation

◆ New()

static autoPtr<edgeMesh> New ( const fileName name)
inlinestatic

Read file and return surface.

Definition at line 74 of file extendedFeatureEdgeMeshFormat.H.

◆ read()

bool read ( const fileName filename)
virtual

Read from file.

Reimplemented from edgeMesh.

Definition at line 44 of file extendedFeatureEdgeMeshFormat.C.

References clear(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOstream::good(), and Foam::blockMeshTools::read().

Referenced by extendedFeatureEdgeMeshFormat::extendedFeatureEdgeMeshFormat(), and extendedFeatureEdgeMeshFormat::~extendedFeatureEdgeMeshFormat().

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

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