Nastran edge reader. More...
Public Member Functions | |
NASedgeFormat (const fileName &filename) | |
virtual | ~NASedgeFormat ()=default |
virtual bool | read (const fileName &filename) |
![]() | |
edgeMesh (const faMesh &mesh) | |
label | size () const |
const edgeVectorField & | C () 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 pointField & | points () const noexcept |
const edgeList & | edges () const noexcept |
const labelListList & | pointEdges () 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) |
![]() | |
GeoMesh (const faMesh &mesh) | |
bool | hasDb () const |
const objectRegistry & | thisDb () const |
const faMesh & | operator() () const |
![]() | |
NASCore ()=default | |
Static Public Member Functions | |
static autoPtr< edgeMesh > | New (const fileName &name) |
![]() | |
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< edgeMesh > | New (const fileName &name, const word &fileType) |
static autoPtr< edgeMesh > | New (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 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 Ostream & | writeKeyword (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 | |
![]() | |
typedef faMesh | Mesh |
typedef faMesh ::BoundaryMesh | BoundaryMesh |
![]() | |
enum | fieldFormat { SHORT, LONG, FREE } |
enum | loadFormat { PLOAD2, PLOAD4 } |
![]() | |
static const Enum< fieldFormat > | fieldFormatNames |
static const Enum< loadFormat > | loadFormatNames |
![]() | |
pointField & | storedPoints () noexcept |
edgeList & | storedEdges () noexcept |
![]() | |
const faMesh & | mesh_ |
Nastran edge reader.
GRID 28 10.20269-.030265-2.358-8
Definition at line 57 of file NASedgeFormat.H.
|
explicit |
Definition at line 29 of file NASedgeFormat.C.
References NASedgeFormat::read().
|
virtualdefault |
Definition at line 81 of file NASedgeFormat.H.
References Foam::name().
Reimplemented from edgeMesh.
Definition at line 38 of file NASedgeFormat.C.
References bitSet::all(), DynamicList::append(), Foam::constant::physicoChemical::b, clear(), DynamicList::clearStorage(), Foam::constant::electromagnetic::e, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, ISstream::getLine(), IOstream::good(), IOstream::lineNumber(), IFstream::name(), Foam::nl, points, Foam::readLabel(), bitSet::set(), DynamicList::shrink(), word::validate(), x, and y.
Referenced by NASedgeFormat::NASedgeFormat().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.