119 static const Enum<mergeStrategy> strategyNames_;
125 enum transformTypes :
unsigned 140 const IOdictionary& meshDict_;
146 bool checkFaceCorrespondence_;
152 unsigned transformType_;
155 searchableSurfaces geometry_;
234 bool checkDegenerate()
const;
240 void calcGeometricalMerge();
244 void calcTopologicalMerge();
248 void createPoints()
const;
249 void createCells()
const;
250 void createPatches()
const;
257 void operator=(
const blockMesh&) =
delete;
358 refPtr<polyMesh>
topology(
bool applyTransform) const;
390 autoPtr<polyMesh>
mesh(const IOobject&
io) const;
wordList patchNames() const
Return the patch names.
List< faceList > faceListList
List of faceList.
~blockMesh()=default
Destructor.
const pointField & vertices() const noexcept
Reference to point field defining the blocks, these points are unscaled and non-transformed.
static bool verboseOutput
The default verbosity (true)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const blockEdgeList & edges() const noexcept
The curved edges.
PtrList< blockFace > blockFaceList
A PtrList of blockFaces.
wordList patchTypes(nPatches)
const faceListList & patches() const
Return the patch face lists.
List< cellShape > cellShapeList
List of cellShape.
scalar scaleFactor() const
Old (v2106 and earlier) uniform scaling factor.
bool good() const noexcept
True if the blockMesh topology exists.
tmp< pointField > globalPosition(const pointField &localPoints) const
Apply coordinate transforms and scaling.
"topology" merge by block topology (default)
const searchableSurfaces & geometry() const noexcept
Optional searchable geometry to project face-points to.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A Cartesian coordinate system.
PtrList< block > blockList
The list of blocks is stored as a PtrList.
vectorField pointField
pointField is a vectorField.
A multi-block mesh generator.
mergeStrategy
The block merging strategy.
A class for handling words, derived from Foam::string.
const pointField & points() const
The points for the entire mesh. These points are scaled and transformed.
constexpr PtrList() noexcept
Default construct.
static word defaultRegion
Return the default region name.
Default (TOPOLOGY), not selectable.
Container for searchableSurfaces. The collection is specified as a dictionary. For example...
const polyMesh & topology() const
The blockMesh topology as a polyMesh unscaled and non-transformed.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
"points" merge by point geometry
PtrList< blockVertex > blockVertexList
A PtrList of blockVertex.
const dictionary & meshDict() const noexcept
Access to input dictionary.
List< word > wordList
List of word.
const cellShapeList & cells() const
Return cell shapes list.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
PtrList< blockEdge > blockEdgeList
A PtrList of blockEdges.
bool valid() const noexcept
Same as good()
bool hasPointTransforms() const noexcept
True if scaling and/or transformations are needed.
autoPtr< polyMesh > mesh(const IOobject &io) const
Create polyMesh, with cell zones.
bool inplacePointTransforms(pointField &pts) const
Apply coordinate transforms and scaling.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
PtrList< dictionary > patchDicts() const
Patch information from the topology mesh.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
A patch is a list of labels that address the faces in the global face list.
ClassName("blockMesh")
Runtime type information.
int verbose() const noexcept
Output verbosity level.
label numZonedBlocks() const
Number of blocks with specified zones.
const blockFaceList & faces() const noexcept
The curved faces.