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 cellShape &bshape, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, const labelVector &density, const UList< gradingDescriptors > &expand=UList< gradingDescriptors >::null(), const word &zoneName="") |
| | Construct from components. Optional zone name. More...
|
| |
| | 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 &blockDesc) |
| | Construct from a block definition. More...
|
| |
| autoPtr< block > | clone () const |
| | Clone. More...
|
| |
| virtual | ~block ()=default |
| | Destructor. More...
|
| |
| const pointField & | points () const noexcept |
| | The points for filling the block. More...
|
| |
| const List< hexCell > & | cells () const |
| | The hex cells for filling the block. More...
|
| |
| const FixedList< List< FixedList< label, 4 > >, 6 > & | boundaryPatches () const noexcept |
| | The boundary patch faces for the block. More...
|
| |
| cellShapeList | shapes () const |
| | The (hex) cell shapes for filling the block. More...
|
| |
| | blockDescriptor (const blockDescriptor &)=default |
| | Copy construct. More...
|
| |
| void | operator= (const blockDescriptor &)=delete |
| | No copy assignment. More...
|
| |
| | blockDescriptor (const cellShape &bshape, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, const labelVector &density, const UList< gradingDescriptors > &expand=UList< gradingDescriptors >::null(), const word &zoneName=word::null) |
| | Construct from components. Optional zone name. More...
|
| |
| | blockDescriptor (const dictionary &dict, const label blockIndex, const pointField &vertices, const blockEdgeList &edges, const blockFaceList &faces, Istream &is) |
| | Construct from Istream. More...
|
| |
| const pointField & | vertices () const noexcept |
| | Reference to point field defining the block mesh. More...
|
| |
| const blockFaceList & | blockFaces () const noexcept |
| | Return reference to the list of curved faces. More...
|
| |
| const cellShape & | blockShape () const noexcept |
| | Return the block shape. More...
|
| |
| const labelVector & | density () const noexcept |
| | The mesh density (number of cells) in the i,j,k directions. More...
|
| |
| const List< gradingDescriptors > & | grading () const noexcept |
| | Expansion ratios in all directions. More...
|
| |
| const word & | zoneName () const noexcept |
| | Return the (optional) zone name. More...
|
| |
| const FixedList< label, 6 > & | curvedFaces () const noexcept |
| | Curved-face labels for each block-face (-1 for flat faces) More...
|
| |
| label | nCurvedFaces () const noexcept |
| | Number of curved faces in this block. More...
|
| |
| const point & | blockPoint (const label i) const |
| | Return block point for local label i. More...
|
| |
| label | facePointLabel (const direction facei, const label i, const label j) const |
| | Face vertex label offset for a particular i,j,k position on hex face (0-5) More...
|
| |
| bool | vertex (const label i, const label j, const label k) const |
| | True if point i,j,k addresses a block vertex. More...
|
| |
| bool | edge (const label i, const label j, const label k) const |
| | True if point i,j,k addresses a block edge. More...
|
| |
| int | edgesPointsWeights (pointField(&edgesPoints)[12], scalarList(&edgesWeights)[12]) const |
| | Calculate the points and weights for all edges. More...
|
| |
| bool | edgePointsWeights (const label edgei, pointField &edgePoints, scalarList &edgeWeights, const label nDiv, const gradingDescriptors &gd=gradingDescriptors()) const |
| | Calculate points and weights for specified edge, using the specified number of divisions and grading. More...
|
| |
| bool | edgePointsWeights (const label edgei, pointField &edgePoints, scalarList &edgeWeights) const |
| | Calculate points and weights for specified edge. 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...
|
| |
| InfoProxy< blockDescriptor > | info () const noexcept |
| | Return info proxy, used to print information to a stream. More...
|
| |
| | ijkMesh () |
| | Construct zero-sized. More...
|
| |
| | ijkMesh (const labelVector &ijk) |
| | Construct with addressing. More...
|
| |
| | ijkMesh (const label nx, const label ny, const label nz) |
| | Construct with addressing. More...
|
| |
| label | nPoints () const |
| | The number of mesh points (nx+1)*(ny+1)*(nz+1) in the i-j-k mesh. More...
|
| |
| label | nCells () const |
| | The number of mesh cells (nx*ny*nz) in the i-j-k mesh. More...
|
| |
| label | nFaces () const |
| | The total number of mesh faces in the i-j-k mesh. More...
|
| |
| label | nInternalFaces () const |
| | The number of internal faces in the i-j-k mesh. More...
|
| |
| label | nBoundaryFaces () const |
| | The number of boundary faces in the i-j-k mesh. More...
|
| |
| label | nBoundaryFaces (const direction shapeFacei) const |
| | The number of boundary faces on the box face. More...
|
| |
| label | cellLabel (const label i, const label j, const label k) const |
| | The linear cell index for an i-j-k position - same as index() More...
|
| |
| label | cellLabel (const labelVector &ijk) const |
| | The linear cell index for an i-j-k position - same as index() More...
|
| |
| label | pointLabel (const label i, const label j, const label k) const |
| | The linear point index for an i-j-k position. More...
|
| |
| label | pointLabel (const labelVector &ijk) const |
| | The linear point index for an i-j-k position. More...
|
| |
| hexCell | vertLabels (const label i, const label j, const label k) const |
| | The hex cell vertices for an i-j-k position. More...
|
| |
| hexCell | vertLabels (const labelVector &ijk) const |
| | The hex cell vertices for an i-j-k position. More...
|
| |
| | ijkAddressing () |
| | Construct zero-size addressing. More...
|
| |
| | ijkAddressing (const labelVector &ijk) |
| | Construct with addressing. More...
|
| |
| | ijkAddressing (const label ni, const label nj, const label nk) |
| | Construct with addressing components. More...
|
| |
| bool | empty () const |
| | Addressing is considered empty if any component is zero. More...
|
| |
| const labelVector & | sizes () const |
| | The (i,j,k) addressing dimensions. More...
|
| |
| labelVector & | sizes () |
| | Return the (i,j,k) dimensions for modification. More...
|
| |
| label | size () const |
| | Return the total i*j*k size. More...
|
| |
| const label & | size (const vector::components cmpt) const |
| | The addressing dimension in the given direction. More...
|
| |
| void | clear () |
| | Reset to (0,0,0) sizing. More...
|
| |
| void | reset (const label ni, const label nj, const label nk) |
| | Change the sizing parameters. More...
|
| |
| void | reset (const labelVector &newSizes) |
| | Change the sizing parameters. More...
|
| |
| label | index (const label i, const label j, const label k) const |
| | Linear addressing index (offset) for an (i,j,k) position. More...
|
| |
| label | index (const labelVector &ijk) const |
| | Linear addressing index (offset) for an (i,j,k) position. More...
|
| |
| labelVector | index (const label idx) const |
| | The (i,j,k) indexing from linear addressing. More...
|
| |
| void | checkIndex (const label i, const label j, const label k, const bool allowExtra=false) const |
| | Check indices are within ni,nj,nk range. More...
|
| |
| void | checkIndex (const labelVector &ijk, const bool allowExtra=false) const |
| | Check indices are within ni,nj,nk range. More...
|
| |
| void | checkSizes () const |
| | Check that all components of sizes() are non-negative. More...
|
| |
| void | checkSizes (const labelVector &other) const |
| | Check that all components of sizes() match. More...
|
| |
| void | checkSizes (const label nTotal) const |
| | Check that the total size matches. More...
|
| |
Creates a single block of cells from point coordinates, numbers of cells in each direction and an expansion ratio.
- Note
- The cells for filling the block are demand-driven.
- Source files
-
Definition at line 54 of file block.H.