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

| 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
References range.
| void readPoints | ( | Istream & | ) |
Read block points.
|
inline |
Number of points.
Definition at line 113 of file hexBlock.H.
|
inline |
Definition at line 118 of file hexBlock.H.
|
inline |
Definition at line 123 of file hexBlock.H.
|
inline |
Definition at line 128 of file hexBlock.H.
|
inline |
Definition at line 133 of file hexBlock.H.
|
inline |
Return block points.
Definition at line 141 of file hexBlock.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

| 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
References range.
| 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.