Go to the documentation of this file.
112 static const Enum<mergeStrategy> strategyNames_;
118 const IOdictionary& meshDict_;
124 bool checkFaceCorrespondence_;
127 searchableSurfaces geometry_;
145 autoPtr<polyMesh> topologyPtr_;
168 template<
class Source>
169 void checkPatchLabels
171 const Source& source,
172 const word& patchName,
206 void calcGeometricalMerge();
210 void calcTopologicalMerge();
214 void createPoints()
const;
215 void createCells()
const;
216 void createPatches()
const;
223 void operator=(
const blockMesh&) =
delete;
271 bool valid() const noexcept;
322 bool verbose(const
bool on) noexcept;
vectorField pointField
pointField is a vectorField.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
PtrList< dictionary > patchDicts() const
Get patch information from the topology mesh.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool valid() const noexcept
True if the blockMesh topology exists.
const dictionary & meshDict() const
Access to input dictionary.
autoPtr< polyMesh > mesh(const IOobject &io) const
Create polyMesh, with cell zones.
const faceListList & patches() const
Return the patch face lists.
A class for handling words, derived from Foam::string.
Default (TOPOLOGY), not selectable.
ClassName("blockMesh")
Runtime type information.
static word defaultRegion
Return the default region name.
mergeStrategy
The block merging strategy.
PtrList< blockVertex > blockVertexList
A PtrList of blockVertex.
const searchableSurfaces & geometry() const
Optional searchable geometry to project face-points to.
"topology" merge by block topology (default)
const blockFaceList & faces() const
Return the curved faces.
const polyMesh & topology() const
Return the blockMesh topology as a polyMesh.
Mesh consisting of general polyhedral cells.
wordList patchTypes(nPatches)
PtrList< blockEdge > blockEdgeList
A PtrList of blockEdges.
bool verbose() const noexcept
Verbose output.
A patch is a list of labels that address the faces in the global face list.
const pointField & vertices() const
Reference to point field defining the blockMesh.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
scalar scaleFactor() const
The scaling factor used to convert to metres.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
"points" merge by point geometry
PtrList< block > blockList
The list of blocks is stored as a PtrList.
PtrList< blockFace > blockFaceList
A PtrList of blockFaces.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
label numZonedBlocks() const
Number of blocks with specified zones.
const pointField & points() const
The points for the entire mesh.
wordList patchNames() const
Return patch names.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
~blockMesh()=default
Destructor.
const blockEdgeList & edges() const
Return the curved edges.
const cellShapeList & cells() const
Return cell shapes list.
static bool verboseOutput
The default verbosity (true)
A multi-block mesh generator.