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

Nastran edge reader. More...

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

Public Member Functions

 NASedgeFormat (const fileName &filename)
 
virtual ~NASedgeFormat ()=default
 
virtual bool read (const fileName &filename)
 
- Public Member Functions inherited from edgeMesh
 edgeMesh (const faMesh &mesh)
 
label size () const
 
const edgeVectorFieldC () const
 
 TypeName ("edgeMesh")
 
 edgeMesh ()
 
 edgeMesh (const edgeMesh &em)
 
 edgeMesh (edgeMesh &&em)
 
 edgeMesh (const pointField &points, const edgeList &edges)
 
 edgeMesh (pointField &&pointLst, edgeList &&edgeLst)
 
 edgeMesh (const fileName &name)
 
 edgeMesh (const fileName &name, const word &fileType)
 
 declareRunTimeSelectionTable (autoPtr, edgeMesh, fileExtension,(const fileName &name),(name))
 
virtual ~edgeMesh ()=default
 
 declareMemberFunctionSelectionTable (void, edgeMesh, write, fileExtension,(const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt, const dictionary &options),(name, mesh, streamOpt, options))
 
void transfer (edgeMesh &mesh)
 
bool read (const fileName &name, const word &fileType)
 
const pointFieldpoints () const noexcept
 
const edgeListedges () const noexcept
 
const labelListListpointEdges () const
 
label regions (labelList &edgeRegion) const
 
virtual void clear ()
 
virtual void scalePoints (const scalar scaleFactor)
 
virtual void mergePoints (const scalar mergeDist)
 
virtual void mergeEdges ()
 
virtual void writeStats (Ostream &) const
 
virtual void write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
virtual void write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const
 
void operator= (const edgeMesh &rhs)
 
void operator= (edgeMesh &&rhs)
 
- Public Member Functions inherited from GeoMesh< faMesh >
 GeoMesh (const faMesh &mesh)
 
bool hasDb () const
 
const objectRegistrythisDb () const
 
const faMeshoperator() () const
 
- Public Member Functions inherited from NASCore
 NASCore ()=default
 

Static Public Member Functions

static autoPtr< edgeMeshNew (const fileName &name)
 
- Static Public Member Functions inherited from edgeMesh
static label size (const Mesh &mesh)
 
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< edgeMeshNew (const fileName &name, const word &fileType)
 
static autoPtr< edgeMeshNew (const fileName &name)
 
static void write (const fileName &name, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 
static void write (const fileName &name, const word &fileType, const edgeMesh &mesh, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null)
 
- Static Public Member Functions inherited from NASCore
static scalar readNasScalar (const std::string &str)
 
static std::string nextNasField (const std::string &str, std::string::size_type &pos, std::string::size_type len)
 
static void setPrecision (Ostream &os, const fieldFormat format)
 
static OstreamwriteKeyword (Ostream &os, const word &keyword, const fieldFormat format)
 
static label faceDecomposition (const UList< point > &points, const UList< face > &faces, labelList &decompOffsets, DynamicList< face > &decompFaces)
 

Additional Inherited Members

- Public Types inherited from GeoMesh< faMesh >
typedef faMesh Mesh
 
typedef faMesh ::BoundaryMesh BoundaryMesh
 
- Public Types inherited from NASCore
enum  fieldFormat { SHORT, LONG, FREE }
 
enum  loadFormat { PLOAD2, PLOAD4 }
 
- Static Public Attributes inherited from NASCore
static const Enum< fieldFormatfieldFormatNames
 
static const Enum< loadFormatloadFormatNames
 
- Protected Member Functions inherited from edgeMesh
pointFieldstoredPoints () noexcept
 
edgeListstoredEdges () noexcept
 
- Protected Attributes inherited from GeoMesh< faMesh >
const faMeshmesh_
 

Detailed Description

Nastran edge reader.

Source files

Definition at line 57 of file NASedgeFormat.H.

Constructor & Destructor Documentation

◆ NASedgeFormat()

NASedgeFormat ( const fileName filename)
explicit

Definition at line 29 of file NASedgeFormat.C.

References NASedgeFormat::read().

Here is the call graph for this function:

◆ ~NASedgeFormat()

virtual ~NASedgeFormat ( )
virtualdefault

Member Function Documentation

◆ New()

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

Definition at line 81 of file NASedgeFormat.H.

References Foam::name().

Here is the call graph for this function:

◆ read()

bool read ( const fileName filename)
virtual

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