64 handed blockHandedness_;
73 hexBlock(
const hexBlock&) =
delete;
76 void operator=(
const hexBlock&) =
delete;
79 inline label vtxLabel(label i, label j, label
k)
const;
116 return (xDim_ + 1)*(yDim_ + 1)*(zDim_ + 1);
121 return xDim_*yDim_*zDim_;
127 if (blockHandedness_ == noPoints)
130 <<
"points not read in yet"
153 const bool readBlank,
154 const scalar twoDThicknes,
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
hexBlock(const label nx, const label ny, const label nz)
Construct from components.
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.
label xDim() const
Number of points.
label nBlockPoints() const
labelListList blockCells() const
Return block cells.
void readPoints(Istream &)
Read block points.
const pointField & points() const
Return block points.
label nBlockCells() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
vectorField pointField
pointField is a vectorField.
errorManip< error > abort(error &err)