Nastran edge reader. More...
Public Member Functions | |
NASedgeFormat (const fileName &) | |
Construct from file name. More... | |
NASedgeFormat (const NASedgeFormat &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~NASedgeFormat () |
Destructor. More... | |
virtual bool | read (const fileName &) |
Read from a file. More... | |
void | operator= (const NASedgeFormat &)=delete |
Disallow default bitwise assignment. 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 (pointField &&, edgeList &&) | |
Construct by transferring components (points, edges). More... | |
edgeMesh (const edgeMesh &) | |
Copy constructor. More... | |
edgeMesh (edgeMesh &&) | |
Move constructor. 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... | |
bool | read (const fileName &, const word &ext) |
Read from file. Chooses reader based on explicit extension. More... | |
const pointField & | points () const |
Return points. More... | |
const edgeList & | edges () const |
Return edges. More... | |
const labelListList & | pointEdges () 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 (pointField &&points, 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 &) |
void | operator= (edgeMesh &&) |
Public Member Functions inherited from edgeMeshFormatsCore | |
edgeMeshFormatsCore () | |
Construct null. More... | |
virtual | ~edgeMeshFormatsCore () |
Destructor. More... | |
Public Member Functions inherited from NASCore | |
NASCore () | |
Construct null. More... | |
Static Public Member Functions | |
static autoPtr< edgeMesh > | New (const fileName &name) |
Read file and return edge mesh. 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< edgeMesh > | New (const fileName &, const word &ext) |
Select constructed from filename (explicit extension) More... | |
static autoPtr< edgeMesh > | New (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) |
Static Public Member Functions inherited from NASCore | |
static scalar | parseNASCoord (const string &) |
Do weird things to extract number. More... | |
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 | |
pointField & | storedPoints () |
Non-const access to global points. More... | |
edgeList & | storedEdges () |
Non-const access to the edges. More... | |
Static Protected Member Functions inherited from edgeMeshFormatsCore | |
static string | getLineNoComment (IFstream &) |
Read non-comment line. More... | |
NASedgeFormat | ( | const fileName & | filename | ) |
Construct from file name.
Definition at line 34 of file NASedgeFormat.C.
References Foam::blockMeshTools::read(), and NASedgeFormat::read().
Referenced by NASedgeFormat::New().
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 80 of file NASedgeFormat.H.
References NASedgeFormat::operator=(), and NASedgeFormat::read().
Read file and return edge mesh.
Definition at line 70 of file NASedgeFormat.H.
References NASedgeFormat::NASedgeFormat().
Read from a file.
Reimplemented from edgeMesh.
Definition at line 45 of file NASedgeFormat.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), clear(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clearStorage(), PackedList< nBits >::count(), Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, PackedList< nBits >::get(), ISstream::getLine(), IOstream::good(), IOstream::lineNumber(), IFstream::name(), Foam::nl, Foam::parseNASCoord(), points, Foam::readLabel(), PackedBoolList::set(), List< T >::setSize(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), List< T >::size(), FixedList< T, Size >::transfer(), x, and y.
Referenced by NASedgeFormat::NASedgeFormat(), and NASedgeFormat::~NASedgeFormat().
|
delete |
Disallow default bitwise assignment.
Referenced by NASedgeFormat::~NASedgeFormat().