Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FIREMeshReader Class Reference

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

Inheritance diagram for FIREMeshReader:
Inheritance graph
[legend]
Collaboration diagram for FIREMeshReader:
Collaboration graph
[legend]

Public Member Functions

 FIREMeshReader (const fileName &, const scalar scaleFactor=1.0)
 
virtual ~FIREMeshReader ()=default
 
virtual autoPtr< polyMeshmesh (const objectRegistry &)
 
- Public Member Functions inherited from meshReader
 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
 
- Protected Member Functions inherited from FIRECore
 FIRECore ()=default
 

Protected Attributes

labelList owner_
 
labelList neigh_
 
labelList faceZoneId_
 
wordList faceNames_
 
- Protected Attributes inherited from meshReader
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

- Public Types inherited from FIRECore
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 inherited from meshReader
static void warnDuplicates (const word &context, const wordList &)
 
- Static Public Member Functions inherited from FIRECore
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 Protected Member Functions inherited from FIRECore
static label readPoints (ISstream &, pointField &)
 
- Static Protected Attributes inherited from FIRECore
static const Enum< fileExt3dfile3dExtensions
 

Detailed Description

Read AVL/FIRE fpma, fpmb files.

Note
Does not handle compressed versions (fpmaz, fpmbz) of these files.
Source files

Definition at line 57 of file FIREMeshReader.H.

Constructor & Destructor Documentation

◆ FIREMeshReader() [1/2]

FIREMeshReader ( const FIREMeshReader )
protecteddelete

◆ FIREMeshReader() [2/2]

FIREMeshReader ( const fileName name,
const scalar  scaleFactor = 1.0 
)

Definition at line 455 of file FIREMeshReader.C.

◆ ~FIREMeshReader()

virtual ~FIREMeshReader ( )
virtualdefault

Member Function Documentation

◆ operator=()

void operator= ( const FIREMeshReader )
protecteddelete

◆ readGeometry()

bool readGeometry ( const scalar  scaleFactor = 1.0)
protectedvirtual

◆ readPoints()

void readPoints ( ISstream is,
const scalar  scaleFactor = 1.0 
)
protected

Definition at line 30 of file FIREMeshReader.C.

References Foam::endl(), Foam::Info, and n.

Here is the call graph for this function:

◆ readFaces()

void readFaces ( ISstream is)
protected

◆ readCells()

void readCells ( ISstream is)
protected

Definition at line 78 of file FIREMeshReader.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::Info, ISstream::name(), and Foam::Warning.

Here is the call graph for this function:

◆ readSelections()

void readSelections ( ISstream is)
protected

◆ reorganize()

void reorganize ( )
protected

Definition at line 196 of file FIREMeshReader.C.

References List::clear(), Foam::endl(), forAll, Foam::Info, Foam::inplaceReorder(), nPatches, and Foam::pos().

Here is the call graph for this function:

◆ addPatches()

void addPatches ( polyMesh mesh) const
protected

Definition at line 336 of file FIREMeshReader.C.

References Foam::endl(), forAll, Foam::Info, mesh, and word::null.

Here is the call graph for this function:

◆ mesh()

Foam::autoPtr< Foam::polyMesh > mesh ( const objectRegistry registry)
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.

Here is the call graph for this function:

Member Data Documentation

◆ owner_

labelList owner_
protected

Definition at line 67 of file FIREMeshReader.H.

◆ neigh_

labelList neigh_
protected

Definition at line 68 of file FIREMeshReader.H.

◆ faceZoneId_

labelList faceZoneId_
protected

Definition at line 70 of file FIREMeshReader.H.

◆ faceNames_

wordList faceNames_
protected

Definition at line 71 of file FIREMeshReader.H.


The documentation for this class was generated from the following files: