Provide a means of reading extendedFeatureEdgeMesh as featureEdgeMesh. More...
#include <extendedFeatureEdgeMeshFormat.H>


Public Member Functions | |
| extendedFeatureEdgeMeshFormat (const fileName &) | |
| Construct from file name. | |
| virtual | ~extendedFeatureEdgeMeshFormat ()=default |
| Destructor. | |
| virtual bool | read (const fileName &) |
| Read from file. | |
| Public Member Functions inherited from edgeMesh | |
| edgeMesh (const faMesh &mesh) | |
| Construct finite-area edge mesh faMesh reference. | |
| label | size () const noexcept |
| The geometric (internal) size - number of internal edges. | |
| const edgeVectorField & | C () const |
| Field of edge centres. | |
| TypeName ("edgeMesh") | |
| Runtime type information. | |
| edgeMesh () | |
| Default construct. | |
| edgeMesh (const edgeMesh &em) | |
| Copy construct. | |
| edgeMesh (edgeMesh &&em) | |
| Move construct. | |
| edgeMesh (const pointField &points, const edgeList &edges) | |
| Copy construct from components. | |
| edgeMesh (pointField &&pointLst, edgeList &&edgeLst) | |
| Move construct from components. | |
| edgeMesh (const fileName &name) | |
| Construct from file name (uses extension to determine type). | |
| edgeMesh (const fileName &name, const word &fileType) | |
| Construct from file name with specified type. | |
| declareRunTimeSelectionTable (autoPtr, edgeMesh, fileExtension,(const fileName &name),(name)) | |
| virtual | ~edgeMesh ()=default |
| Destructor. | |
| declareMemberFunctionSelectionTable (void, edgeMesh, write, fileExtension,(const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt, const dictionary &options),(name, mesh, streamOpt, options)) | |
| void | transfer (edgeMesh &mesh) |
| Transfer the contents of the argument and annul the argument. | |
| bool | read (const fileName &name, const word &fileType) |
| Read from file. Chooses reader based on explicit extension. | |
| const pointField & | points () const noexcept |
| Return points. | |
| const edgeList & | edges () const noexcept |
| Return edges. | |
| const labelListList & | pointEdges () const |
| Return edges. | |
| label | regions (labelList &edgeRegion) const |
| Find connected regions. Set region number per edge. | |
| virtual void | clear () |
| Clear all storage. | |
| virtual void | scalePoints (const scalar scaleFactor) |
| Scale points. A non-positive factor is ignored. | |
| virtual void | mergePoints (const scalar mergeDist) |
| Geometric merge points (points within mergeDist) prior to. | |
| virtual void | mergeEdges () |
| Merge duplicate edges and eliminate unused points. | |
| virtual void | writeStats (Ostream &) const |
| virtual void | write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const |
| Write to file, choosing writer based on the file extension. | |
| virtual void | write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const |
| Write to file with given format type. | |
| void | operator= (const edgeMesh &rhs) |
| Copy assignment. | |
| void | operator= (edgeMesh &&rhs) |
| Move assignment. | |
| Public Member Functions inherited from GeoMesh< faMesh > | |
| GeoMesh (const faMesh &mesh) | |
| Construct from mesh reference. | |
| bool | hasDb () const |
| Return true if thisDb() is a valid DB - here = false. | |
| const objectRegistry & | thisDb () const |
| Return the object registry. | |
| const faMesh & | operator() () const |
| Return reference to the underlying mesh. | |
| Public Member Functions inherited from edgeMeshFormatsCore | |
| edgeMeshFormatsCore ()=default | |
| Default construct. | |
| virtual | ~edgeMeshFormatsCore ()=default |
| Destructor. | |
Static Public Member Functions | |
| static autoPtr< edgeMesh > | New (const fileName &name) |
| Read file and return surface. | |
| Static Public Member Functions inherited from edgeMesh | |
| static label | size (const faMesh &mesh) noexcept |
| The geometric (internal) size - number of internal edges. | |
| static label | boundary_size (const faMesh &mesh) noexcept |
| The geometric boundary size - number of boundary edges. | |
| static wordHashSet | readTypes () |
| Summary of supported read file types. | |
| static wordHashSet | writeTypes () |
| Summary of supported write file types. | |
| static bool | canReadType (const word &fileType, bool verbose=false) |
| Can we read this file format? | |
| static bool | canWriteType (const word &fileType, bool verbose=false) |
| Can we write this file format type? | |
| static bool | canRead (const fileName &name, bool verbose=false) |
| Can we read this file format? | |
| static autoPtr< edgeMesh > | New (const fileName &name, const word &fileType) |
| Read construct from filename with given format. | |
| static autoPtr< edgeMesh > | New (const fileName &name) |
| Select constructed from filename (implicit extension). | |
| static void | write (const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) |
| Write to file (format implicit in the extension). | |
| static void | write (const fileName &name, const word &fileType, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) |
| Write to file, with given format. | |
| Static Public Member Functions inherited from edgeMeshFormatsCore | |
| static bool | checkSupport (const wordHashSet &available, const word &fileType, const bool verbose=false, const char *functionName=nullptr) |
| Verbose checking of fileType in the list of available types. | |
Additional Inherited Members | |
| Public Types inherited from GeoMesh< faMesh > | |
| typedef faMesh | Mesh |
| typedef faMesh::BoundaryMesh | BoundaryMesh |
| Static Public Attributes inherited from edgeMeshFormatsCore | |
| static word | nativeExt |
| The file extension corresponding to 'native' edge format. | |
| Protected Member Functions inherited from edgeMesh | |
| pointField & | storedPoints () noexcept |
| Non-const access to global points. | |
| edgeList & | storedEdges () noexcept |
| Non-const access to the edges. | |
| Static Protected Member Functions inherited from edgeMeshFormatsCore | |
| static string | getLineNoComment (ISstream &is, const char comment='#') |
| Read non-comment line. | |
| Protected Attributes inherited from GeoMesh< faMesh > | |
| const faMesh & | mesh_ |
| Reference to Mesh. | |
Provide a means of reading extendedFeatureEdgeMesh as featureEdgeMesh.
Definition at line 48 of file extendedFeatureEdgeMeshFormat.H.
| extendedFeatureEdgeMeshFormat | ( | const fileName & | filename | ) |
Construct from file name.
Definition at line 27 of file extendedFeatureEdgeMeshFormat.C.
References read().

|
virtualdefault |
Destructor.
Read file and return surface.
Definition at line 83 of file extendedFeatureEdgeMeshFormat.H.
References Foam::name(), and autoPtr< T >::NewFrom().

|
virtual |
Read from file.
Reimplemented from edgeMesh.
Definition at line 38 of file extendedFeatureEdgeMeshFormat.C.
References clear(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, IOstream::good(), edgeMeshFormat::read(), edgeMesh::storedEdges(), and edgeMesh::storedPoints().
Referenced by extendedFeatureEdgeMeshFormat().

