Go to the documentation of this file.
102 const label blockLabel,
109 const label patchLabel,
215 static void verbose(
const bool on=
true);
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
scalar scaleFactor_
The scaling factor to convert to metres.
PtrList< dictionary > patchDicts() const
Get patch information from the topology mesh.
bool readPatches(const dictionary &meshDescription, faceListList &tmpBlocksPatches, wordList &patchNames, wordList &patchTypes, wordList &nbrPatchNames)
const faceListList & patches() const
Return the patch face lists.
A class for handling words, derived from string.
bool readBoundary(const dictionary &meshDescription, wordList &patchNames, faceListList &tmpBlocksPatches, PtrList< dictionary > &patchDicts)
void checkBlockMesh(const polyMesh &) const
pointField blockPointField_
Point field defining the block mesh (corners)
const polyMesh & topology() const
Return the blockMesh topology as a polyMesh.
Mesh consisting of general polyhedral cells.
static void verbose(const bool on=true)
Enable/disable verbose information about the progress.
wordList patchTypes(nPatches)
void createCellShapes(cellShapeList &tmpBlockCells)
void writeTopology(Ostream &) const
Writes edges of blockMesh in OBJ format.
bool blockLabelsOK(const label blockLabel, const pointField &points, const cellShape &blockShape) const
label nCells_
The sum of all cells in each block.
void calcMergeInfoFast()
Determine the merge info and the final number of cells/points.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A patch is a list of labels that address the faces in the global face list.
const curvedEdgeList & edges() const
Return the curved edges.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
curvedEdgeList edges_
The list of curved edges.
void clearGeom()
Clear geometry (internal points, cells, boundaryPatches)
scalar scaleFactor() const
The scaling factor used to convert to metres.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void createPatches() const
An analytical geometric cellShape.
void createPoints() const
label numZonedBlocks() const
Number of blocks with specified zones.
const pointField & points() const
The points for the entire mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
wordList patchNames() const
Return patch names.
const pointField & blockPointField() const
Reference to point field defining the block mesh.
blockMesh(const blockMesh &)
As copy (not implemented)
labelList blockOffsets_
The point offset added to each block.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
labelList mergeList_
The merge points information.
const cellShapeList & cells() const
Return cell shapes list.
faceList createPatchFaces(const polyPatch &patchTopologyFaces) const
polyMesh * createTopology(const IOdictionary &, const word ®ionName)
static bool verboseOutput
Switch for verbose output.
void calcMergeInfo()
Determine the merge info and the final number of cells/points.
polyMesh * topologyPtr_
The blocks themselves (the topology) as a polyMesh.
bool patchLabelsOK(const label patchLabel, const pointField &points, const faceList &patchShapes) const
A multi-block mesh generator.