Hex block definition used in the cfx converter. More...
Public Member Functions | |
| hexBlock (const label nx, const label ny, const label nz) | |
| Construct from components. More... | |
| label | xDim () const |
| Number of points. More... | |
| label | yDim () const |
| label | zDim () const |
| label | nBlockPoints () const |
| label | nBlockCells () const |
| const pointField & | points () const |
| Return block points. More... | |
| labelListList | blockCells () const |
| Return block cells. More... | |
| faceList | patchFaces (label direc, const labelList &range) const |
| Return block patch faces given direction and range limits. More... | |
| void | readPoints (Istream &) |
| Read block points. More... | |
| hexBlock (const label nx, const label ny, const label nz) | |
| Construct from components. More... | |
| label | xDim () const |
| Number of points. More... | |
| label | yDim () const |
| label | zDim () const |
| label | nBlockPoints () const |
| label | nBlockCells () const |
| const pointField & | points () const |
| Return block points. More... | |
| labelListList | blockCells () const |
| Return block cells. More... | |
| faceList | patchFaces (label direc, const labelList &range) const |
| Return block patch faces given direction and range limits. More... | |
| void | readPoints (const bool readBlank, const scalar twoDThicknes, Istream &) |
| Read block points either with or without blanking after every block. More... | |
Hex block definition used in the cfx converter.
Definition at line 50 of file hexBlock.H.
|
inline |
Number of points.
Definition at line 96 of file hexBlock.H.
|
inline |
Definition at line 101 of file hexBlock.H.
|
inline |
Definition at line 106 of file hexBlock.H.
|
inline |
Definition at line 111 of file hexBlock.H.
|
inline |
Definition at line 116 of file hexBlock.H.
|
inline |
Return block points.
Definition at line 122 of file hexBlock.H.
References Foam::abort(), hexBlock::blockCells(), Foam::FatalError, FatalErrorInFunction, hexBlock::patchFaces(), range, and hexBlock::readPoints().

| labelListList blockCells | ( | ) | const |
Return block patch faces given direction and range limits.
From the cfx manual: direction 0 = solid (3-D patch), 1 = high i, 2 = high j, 3 = high k 4 = low i, 5 = low j, 6 = low k
Referenced by hexBlock::points().

| void readPoints | ( | Istream & | ) |
|
inline |
Number of points.
Definition at line 97 of file hexBlock.H.
|
inline |
Definition at line 102 of file hexBlock.H.
|
inline |
Definition at line 107 of file hexBlock.H.
|
inline |
Definition at line 112 of file hexBlock.H.
|
inline |
Definition at line 117 of file hexBlock.H.
|
inline |
Return block points.
Definition at line 123 of file hexBlock.H.
References Foam::abort(), hexBlock::blockCells(), Foam::FatalError, FatalErrorInFunction, hexBlock::patchFaces(), range, and hexBlock::readPoints().

| labelListList blockCells | ( | ) | const |
Return block cells.
Return block patch faces given direction and range limits.
From the cfx manual: direction 0 = solid (3-D patch), 1 = high i, 2 = high j, 3 = high k 4 = low i, 5 = low j, 6 = low k
| void readPoints | ( | const bool | readBlank, |
| const scalar | twoDThicknes, | ||
| Istream & | |||
| ) |
Read block points either with or without blanking after every block.
If twoDThickness > 0 reads (half) the points and extrudes the points in z direction.
1.8.11