Creates a single block of cells from point coordinates, numbers of cells in each direction and an expansion ratio.
More...
|
| TypeName ("block") |
| Runtime type information. More...
|
|
| declareRunTimeSelectionTable (autoPtr, block, Istream,(const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is),(dict, index, vertices, edges, faces, is)) |
|
| block (const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is) |
| Construct from components with Istream. More...
|
|
| block (const blockDescriptor &) |
| Construct from a block definition. More...
|
|
| block (const block &)=delete |
| Disallow default bitwise copy construction. More...
|
|
autoPtr< block > | clone () const |
| Clone. More...
|
|
virtual | ~block () |
| Destructor. More...
|
|
const pointField & | points () const |
| Return the points for filling the block. More...
|
|
List< FixedList< label, 8 > > | cells () const |
| Return the cells for filling the block. More...
|
|
const FixedList< List< FixedList< label, 4 > >, 6 > & | boundaryPatches () const |
| Return the boundary patch faces for the block. More...
|
|
void | operator= (const block &)=delete |
| Disallow default bitwise assignment. More...
|
|
| blockDescriptor (const cellShape &, const pointField &vertices, const blockEdgeList &, const blockFaceList &, const Vector< label > &density, const UList< gradingDescriptors > &expand, const word &zoneName="") |
| Construct from components. Optional cellSet/zone name. More...
|
|
| blockDescriptor (const dictionary &dict, const label index, const pointField &vertices, const blockEdgeList &, const blockFaceList &, Istream &) |
| Construct from Istream. More...
|
|
| blockDescriptor (const blockDescriptor &)=default |
| Copy construct. More...
|
|
const pointField & | vertices () const |
| Reference to point field defining the block mesh. More...
|
|
const blockFaceList & | faces () const |
| Return reference to the list of curved faces. More...
|
|
const cellShape & | blockShape () const |
| Return the block shape. More...
|
|
const Vector< label > & | density () const |
| Return the mesh density (number of cells) in the i,j,k directions. More...
|
|
const word & | zoneName () const |
| Return the (optional) zone name. More...
|
|
label | nPoints () const |
| Return the number of points. More...
|
|
label | nCells () const |
| Return the number of cells. More...
|
|
const FixedList< label, 6 > & | curvedFaces () const |
| Curved-face labels for each block-face (-1 for flat faces) More...
|
|
label | nCurvedFaces () const |
| Number of curved faces in this block. More...
|
|
const point & | blockPoint (const label i) const |
| Return block point for local label i. More...
|
|
label | pointLabel (const label i, const label j, const label k) const |
| Vertex label offset for a particular i,j,k position. More...
|
|
label | facePointLabel (const label facei, const label i, const label j) const |
| Face vertex label offset for a particular i,j,k position. More...
|
|
bool | vertex (const label i, const label j, const label k) const |
| Return true if point i,j,k addresses a block vertex. More...
|
|
bool | edge (const label i, const label j, const label k) const |
| Return true if point i,j,k addresses a block edge. More...
|
|
label | edgesPointsWeights (pointField(&edgePoints)[12], scalarList(&edgeWeights)[12]) const |
| Calculate the points and weights for all edges. More...
|
|
bool | flatFaceOrEdge (const label i, const label j, const label k) const |
| Return true if point i,j,k addresses a block flat face or edge. More...
|
|
FixedList< pointField, 6 > | facePoints (const pointField &points) const |
| Return the list of face-points for all of the faces of the block. More...
|
|
void | correctFacePoints (FixedList< pointField, 6 > &) const |
| Correct the location of the given face-points. More...
|
|
void | operator= (const blockDescriptor &)=delete |
| Disallow default bitwise assignment. More...
|
|
Creates a single block of cells from point coordinates, numbers of cells in each direction and an expansion ratio.
Note: The vertices and cells for filling the block are demand-driven.
- Source files
-
Definition at line 63 of file block.H.