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;
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const Cmpt & x() const
Access to the vector x component.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A multi-block mesh generator.
ClassName("blockMesh")
Runtime type information.
const faceListList & patches() const
Return the patch face lists.
bool hasPointTransforms() const noexcept
True if scaling and/or transformations are needed.
const pointField & vertices() const noexcept
static bool verboseOutput
The default verbosity (true)
wordList patchNames() const
Return the patch names.
int verbose() const noexcept
Output verbosity level.
const blockEdgeList & edges() const noexcept
The curved edges.
~blockMesh()=default
Destructor.
tmp< pointField > globalPosition(const pointField &localPoints) const
Apply coordinate transforms and scaling.
mergeStrategy
The block merging strategy.
@ DEFAULT_MERGE
Default (TOPOLOGY), not selectable.
@ MERGE_TOPOLOGY
"topology" merge by block topology (default)
@ MERGE_POINTS
"points" merge by point geometry
label numZonedBlocks() const
Number of blocks with specified zones.
scalar scaleFactor() const
Old (v2106 and earlier) uniform scaling factor.
bool valid() const noexcept
True if the blockMesh topology exists.
bool inplacePointTransforms(pointField &pts) const
Apply coordinate transforms and scaling.
const blockFaceList & faces() const noexcept
The curved faces.
const cellShapeList & cells() const
Return cell shapes list.
const pointField & points() const
const searchableSurfaces & geometry() const noexcept
Optional searchable geometry to project face-points to.
PtrList< dictionary > patchDicts() const
Patch information from the topology mesh.
const polyMesh & topology() const
PtrList< block > blockList
The list of blocks is stored as a PtrList.
const dictionary & meshDict() const noexcept
Access to input dictionary.
A Cartesian coordinate system.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
static word defaultRegion
Return the default region name.
A patch is a list of labels that address the faces in the global face list.
A class for managing references or pointers (no reference counting)
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
A class for managing temporary objects.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Foam::word regionName(Foam::polyMesh::defaultRegion)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
List< word > wordList
A List of words.
PtrList< blockFace > blockFaceList
A PtrList of blockFaces.
List< label > labelList
A List of labels.
PtrList< blockVertex > blockVertexList
A PtrList of blockVertex.
vectorField pointField
pointField is a vectorField.
PtrList< blockEdge > blockEdgeList
A PtrList of blockEdges.
List< face > faceList
A List of faces.
List< faceList > faceListList
A List of faceList.
wordList patchTypes(nPatches)