Core routines used when reading/writing NASTRAN files. More...
Public Types | |
enum | fieldFormat { SHORT, LONG, FREE } |
enum | loadFormat { PLOAD2, PLOAD4 } |
Public Member Functions | |
NASCore ()=default | |
Static Public Member Functions | |
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) |
Static Public Attributes | |
static const Enum< fieldFormat > | fieldFormatNames |
static const Enum< loadFormat > | loadFormatNames |
Core routines used when reading/writing NASTRAN files.
enum fieldFormat |
enum loadFormat |
|
default |
|
static |
Definition at line 53 of file NASCore.C.
References Foam::parsing::errorNames, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::parsing::GENERAL, Foam::isspace(), Foam::pow(), and Foam::readInt().
|
static |
Definition at line 100 of file NASCore.C.
References stdFoam::end(), and Foam::pos().
|
static |
Definition at line 124 of file NASCore.C.
References format(), os(), and Foam::scientific().
Referenced by nastranWriter::write().
|
static |
Definition at line 158 of file NASCore.C.
References format(), os(), and Foam::setw().
Referenced by nastranSetWriter< Type >::write().
|
static |
Definition at line 194 of file NASCore.C.
References DynamicList::clear(), f(), n, points, List::resize(), and UList::size().
|
static |
|
static |
Definition at line 77 of file NASCore.H.
Referenced by nastranWriter::nastranWriter().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.