Read AVL/FIRE fpma, fpmb files. More...


Public Member Functions | |
| FIREMeshReader (const fileName &, const scalar scaleFactor=1.0) | |
| Construct by reading file, optionally with scaling. More... | |
| virtual | ~FIREMeshReader ()=default |
| Destructor. More... | |
| virtual autoPtr< polyMesh > | mesh (const objectRegistry &) |
| Create and return polyMesh. More... | |
Public Member Functions inherited from meshReader | |
| meshReader (const fileName &, const scalar scaling=1.0) | |
| Construct from fileName. More... | |
| virtual | ~meshReader ()=default |
| Destructor. More... | |
| void | writeAux (const objectRegistry &) const |
| Write auxiliary information. More... | |
| void | writeMesh (const polyMesh &, IOstreamOption streamOpt=IOstreamOption(IOstreamOption::BINARY)) const |
| Write mesh. More... | |
Protected Member Functions | |
| FIREMeshReader (const FIREMeshReader &)=delete | |
| No copy construct. More... | |
| void | operator= (const FIREMeshReader &)=delete |
| No copy assignment. More... | |
| virtual bool | readGeometry (const scalar scaleFactor=1.0) |
| Read the mesh from the file(s) More... | |
| void | readPoints (ISstream &, const scalar scaleFactor=1.0) |
| Read points from file. More... | |
| void | readFaces (ISstream &) |
| Read points from file. More... | |
| void | readCells (ISstream &) |
| Read cell connectivities from file. More... | |
| void | readSelections (ISstream &) |
| Read cell/face selections from file. More... | |
| void | reorganize () |
| void | addPatches (polyMesh &) const |
Protected Member Functions inherited from FIRECore | |
| FIRECore ()=default | |
| Construct null. More... | |
Protected Attributes | |
| labelList | owner_ |
| labelList | neigh_ |
| labelList | faceZoneId_ |
| wordList | faceNames_ |
Protected Attributes inherited from meshReader | |
| fileName | geometryFile_ |
| Referenced filename. More... | |
| scalar | scaleFactor_ |
| Geometry scaling. More... | |
| pointField | points_ |
| Points supporting the mesh. More... | |
| labelList | origCellId_ |
| Lookup original Cell number for a given cell. More... | |
| List< List< cellFaceIdentifier > > | boundaryIds_ |
| Identify boundary faces by cells and their faces. More... | |
| wordList | patchTypes_ |
| Boundary patch types. More... | |
| wordList | patchNames_ |
| Boundary patch names. More... | |
| wordList | patchPhysicalTypes_ |
| Boundary patch physical types. More... | |
| labelList | patchStarts_ |
| Polyhedral mesh boundary patch start indices and dimensions. More... | |
| labelList | patchSizes_ |
| label | nInternalFaces_ |
| Number of internal faces for polyMesh. More... | |
| faceList | meshFaces_ |
| Global face list for polyMesh. More... | |
| faceListList | cellFaces_ |
| List of faces for every cell. More... | |
| faceList | baffleFaces_ |
| List of each baffle face. More... | |
| labelList | cellTableId_ |
| Cell table id for each cell. More... | |
| cellTable | cellTable_ |
| Cell table persistent data saved as a dictionary. More... | |
Additional Inherited Members | |
Public Types inherited from FIRECore | |
| enum | selectionType { cellSelection = 2, faceSelection = 3 } |
| Selection Types. More... | |
| enum | shapeType { fireLine = 1, fireTri = 2, fireQuad = 3, fireTet = 4, fireHex = 5, firePyr = 6, firePrism = 8 } |
| Shape-Type for FIRE (FLMA) files. More... | |
| enum | fileExt3d { POLY_ASCII, POLY_BINARY, POLY_ASCII_Z, POLY_BINARY_Z } |
| Enumeration defining the file extensions for 3D types. More... | |
| typedef int32_t | fireInt_t |
| Integer type (binary format) More... | |
| typedef double | fireReal_t |
| Float type (binary format) More... | |
Static Public Member Functions inherited from meshReader | |
| static void | warnDuplicates (const word &context, const wordList &) |
| Warn about repeated names. More... | |
Static Public Member Functions inherited from FIRECore | |
| static fileName | fireFileName (const fileName &baseName, const enum fileExt3d) |
| Resolve base file-name for the given file-type. More... | |
| static label | getFireLabel (ISstream &) |
| Get an integer (ascii or binary) More... | |
| static point | getFirePoint (ISstream &) |
| Get an point x/y/z (ascii or binary) More... | |
| static std::string | getFireString (ISstream &) |
| Extract a string (ascii or binary) More... | |
| static void | putFireLabel (OSstream &, const label) |
| Write an integer (ascii or binary) More... | |
| static void | putFireLabels (OSstream &, const labelUList &) |
| Write multiple integers (ascii or binary) More... | |
| static void | putFireLabels (OSstream &, const label count, const label start) |
| Write an on-the-fly list of integers (ascii or binary) More... | |
| static void | putFirePoint (OSstream &, const point &) |
| Write a point x/y/z (ascii or binary) More... | |
| static void | putFireString (OSstream &, const std::string &) |
| Write a string (ascii or binary) More... | |
Static Protected Member Functions inherited from FIRECore | |
| static label | readPoints (ISstream &, pointField &) |
| Read points. More... | |
Static Protected Attributes inherited from FIRECore | |
| static const Enum< fileExt3d > | file3dExtensions |
Read AVL/FIRE fpma, fpmb files.
Definition at line 57 of file FIREMeshReader.H.
|
protecteddelete |
No copy construct.
| FIREMeshReader | ( | const fileName & | name, |
| const scalar | scaleFactor = 1.0 |
||
| ) |
Construct by reading file, optionally with scaling.
Definition at line 461 of file FIREMeshReader.C.
|
virtualdefault |
Destructor.
|
protecteddelete |
No copy assignment.
|
protectedvirtual |
Read the mesh from the file(s)
Implements meshReader.
Definition at line 376 of file FIREMeshReader.C.
References Foam::abort(), IOstreamOption::ASCII, IOstreamOption::BINARY, Foam::FatalError, FatalErrorInFunction, FIRECore::file3dExtensions, Enum< EnumType >::found(), Foam::nl, FIRECore::POLY_ASCII, and FIRECore::POLY_BINARY.

|
protected |
Read points from file.
Definition at line 30 of file FIREMeshReader.C.
References Foam::endl(), Foam::Info, and n.

|
protected |
Read points from file.
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< T >::setSize().

|
protected |
Read cell connectivities from file.
Definition at line 78 of file FIREMeshReader.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::Info, ISstream::name(), and Foam::Warning.

|
protected |
Read cell/face selections from file.
Definition at line 129 of file FIREMeshReader.C.
References DynamicList< T, SizeMin >::append(), cellId, FIRECore::cellSelection, Foam::BitOps::count(), Foam::endl(), faceId(), FIRECore::faceSelection, Foam::Info, Foam::name(), and word::validate().

|
protected |
– neigh_.setSize(nInternalFaces_);
Definition at line 196 of file FIREMeshReader.C.
References Foam::endl(), forAll, Foam::Info, Foam::inplaceReorder(), nPatches, and Foam::pos().

|
protected |
Definition at line 338 of file FIREMeshReader.C.
References Foam::endl(), forAll, Foam::Info, mesh, and word::null.

|
virtual |
Create and return polyMesh.
Reimplemented from meshReader.
Definition at line 422 of file FIREMeshReader.C.
References IOobjectOption::AUTO_WRITE, polyMesh::defaultRegion, Foam::endl(), Foam::Info, mesh, meshPtr, autoPtr< T >::New(), and IOobjectOption::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.