Read AVL/FIRE fpma, fpmb files. More...
Public Member Functions | |
FIREMeshReader (const fileName &, const scalar scaleFactor=1.0) | |
virtual | ~FIREMeshReader ()=default |
virtual autoPtr< polyMesh > | mesh (const objectRegistry &) |
![]() | |
meshReader (const fileName &, const scalar scaling=1.0) | |
virtual | ~meshReader ()=default |
void | writeAux (const objectRegistry &) const |
void | writeMesh (const polyMesh &, IOstreamOption streamOpt=IOstreamOption(IOstreamOption::BINARY)) const |
Protected Member Functions | |
FIREMeshReader (const FIREMeshReader &)=delete | |
void | operator= (const FIREMeshReader &)=delete |
virtual bool | readGeometry (const scalar scaleFactor=1.0) |
void | readPoints (ISstream &, const scalar scaleFactor=1.0) |
void | readFaces (ISstream &) |
void | readCells (ISstream &) |
void | readSelections (ISstream &) |
void | reorganize () |
void | addPatches (polyMesh &) const |
![]() | |
FIRECore ()=default | |
Protected Attributes | |
labelList | owner_ |
labelList | neigh_ |
labelList | faceZoneId_ |
wordList | faceNames_ |
![]() | |
fileName | geometryFile_ |
scalar | scaleFactor_ |
pointField | points_ |
labelList | origCellId_ |
List< List< cellFaceIdentifier > > | boundaryIds_ |
wordList | patchTypes_ |
wordList | patchNames_ |
wordList | patchPhysicalTypes_ |
labelList | patchStarts_ |
labelList | patchSizes_ |
label | nInternalFaces_ |
faceList | meshFaces_ |
faceListList | cellFaces_ |
faceList | baffleFaces_ |
labelList | cellTableId_ |
cellTable | cellTable_ |
Additional Inherited Members | |
![]() | |
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 void | warnDuplicates (const word &context, const wordList &) |
![]() | |
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 &) |
![]() | |
static label | readPoints (ISstream &, pointField &) |
![]() | |
static const Enum< fileExt3d > | file3dExtensions |
Read AVL/FIRE fpma, fpmb files.
Definition at line 57 of file FIREMeshReader.H.
|
protecteddelete |
FIREMeshReader | ( | const fileName & | name, |
const scalar | scaleFactor = 1.0 |
||
) |
Definition at line 455 of file FIREMeshReader.C.
|
virtualdefault |
|
protecteddelete |
|
protectedvirtual |
Implements meshReader.
Definition at line 370 of file FIREMeshReader.C.
References Foam::abort(), IOstreamOption::ASCII, IOstreamOption::BINARY, Foam::FatalError, FatalErrorInFunction, FIRECore::file3dExtensions, Enum::found(), Foam::nl, FIRECore::POLY_ASCII, and FIRECore::POLY_BINARY.
|
protected |
Definition at line 30 of file FIREMeshReader.C.
References Foam::endl(), Foam::Info, and n.
|
protected |
Definition at line 46 of file FIREMeshReader.C.
References Foam::abort(), Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, forAll, FIRECore::getFireLabel(), Foam::Info, meshReader::meshFaces_, ISstream::name(), and List::setSize().
|
protected |
Definition at line 78 of file FIREMeshReader.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::Info, ISstream::name(), and Foam::Warning.
|
protected |
Definition at line 129 of file FIREMeshReader.C.
References DynamicList::append(), cellId, FIRECore::cellSelection, Foam::BitOps::count(), Foam::endl(), faceId(), FIRECore::faceSelection, Foam::Info, Foam::name(), and word::validate().
|
protected |
Definition at line 196 of file FIREMeshReader.C.
References List::clear(), Foam::endl(), forAll, Foam::Info, Foam::inplaceReorder(), nPatches, and Foam::pos().
|
protected |
Definition at line 336 of file FIREMeshReader.C.
References Foam::endl(), forAll, Foam::Info, mesh, and word::null.
|
virtual |
Reimplemented from meshReader.
Definition at line 416 of file FIREMeshReader.C.
References IOobject::AUTO_WRITE, polyMesh::defaultRegion, Foam::endl(), Foam::Info, mesh, meshPtr, autoPtr::New(), and IOobject::NO_READ.
|
protected |
Definition at line 67 of file FIREMeshReader.H.
|
protected |
Definition at line 68 of file FIREMeshReader.H.
|
protected |
Definition at line 70 of file FIREMeshReader.H.
|
protected |
Definition at line 71 of file FIREMeshReader.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.