Core routines used when reading/writing AVL/FIRE files. More...
Public Types | |
enum | selectionType { cellSelection = 2, faceSelection = 3 } |
enum | shapeType { fireLine = 1, fireTri = 2, fireQuad = 3, fireTet = 4, fireHex = 5, firePyr = 6, firePrism = 8 } |
enum | fileExt3d { POLY_ASCII, POLY_BINARY, POLY_ASCII_Z, POLY_BINARY_Z } |
typedef int32_t | fireInt_t |
typedef double | fireReal_t |
Static Public Member Functions | |
static fileName | fireFileName (const fileName &baseName, const enum fileExt3d) |
static label | getFireLabel (ISstream &) |
static point | getFirePoint (ISstream &) |
static std::string | getFireString (ISstream &) |
static void | putFireLabel (OSstream &, const label) |
static void | putFireLabels (OSstream &, const labelUList &) |
static void | putFireLabels (OSstream &, const label count, const label start) |
static void | putFirePoint (OSstream &, const point &) |
static void | putFireString (OSstream &, const std::string &) |
Protected Member Functions | |
FIRECore ()=default | |
Static Protected Member Functions | |
static label | readPoints (ISstream &, pointField &) |
Static Protected Attributes | |
static const Enum< fileExt3d > | file3dExtensions |
Core routines used when reading/writing AVL/FIRE files.
Definition at line 56 of file FIRECore.H.
typedef int32_t fireInt_t |
Definition at line 92 of file FIRECore.H.
typedef double fireReal_t |
Definition at line 95 of file FIRECore.H.
enum selectionType |
Enumerator | |
---|---|
cellSelection | |
faceSelection |
Definition at line 63 of file FIRECore.H.
enum shapeType |
Enumerator | |
---|---|
fireLine | |
fireTri | |
fireQuad | |
fireTet | |
fireHex | |
firePyr | |
firePrism |
Definition at line 70 of file FIRECore.H.
enum fileExt3d |
Enumerator | |
---|---|
POLY_ASCII | |
POLY_BINARY | |
POLY_ASCII_Z | |
POLY_BINARY_Z |
Definition at line 82 of file FIRECore.H.
|
protecteddefault |
|
staticprotected |
Definition at line 41 of file FIRECore.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, n, ISstream::name(), and points.
|
static |
Definition at line 72 of file FIRECore.C.
Referenced by FIREMeshWriter::write().
|
static |
Definition at line 81 of file FIRECore.C.
References IOstreamOption::BINARY, IOstreamOption::format(), Foam::readLabel(), and ISstream::stdStream().
Referenced by FIREMeshReader::readFaces().
|
static |
Definition at line 102 of file FIRECore.C.
References IOstreamOption::BINARY, IOstreamOption::format(), ISstream::stdStream(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
static |
Definition at line 131 of file FIRECore.C.
References IOstreamOption::BINARY, IOstreamOption::format(), ISstream::getLine(), Foam::pos(), s, and ISstream::stdStream().
|
static |
Definition at line 195 of file FIRECore.C.
References IOstreamOption::BINARY, and os().
|
static |
Definition at line 218 of file FIRECore.C.
References IOstreamOption::BINARY, forAll, os(), and UList::size().
|
static |
Definition at line 257 of file FIRECore.C.
References IOstreamOption::BINARY, Foam::BitOps::count(), and os().
Definition at line 298 of file FIRECore.C.
References IOstreamOption::BINARY, os(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
static |
Definition at line 327 of file FIRECore.C.
References IOstreamOption::BINARY, and os().
|
staticprotected |
Definition at line 102 of file FIRECore.H.
Referenced by FIREMeshReader::readGeometry(), and FIREMeshWriter::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.