38#ifndef Foam_decompositionModel_H
39#define Foam_decompositionModel_H
100 const fileName& decompDictFile =
"",
113 const fileName& decompDictFile =
"",
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static IOobject selectIO(const IOobject &io, const fileName &altFile, const word &ioName="")
Return the IOobject, but also consider an alternative file name.
MeshObject(const polyMesh &mesh)
const polyMesh & mesh() const noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const
Name function is needed to disambiguate those inherited from regIOobject and dictionary.
Abstract base class for domain decomposition.
MeshObject wrapper of decompositionMethod.
static IOobject selectIO(const IOobject &io, const fileName &file, const word &name="")
Deprecated(2018-08) compatibility method.
static const decompositionModel & New(const polyMesh &mesh, const fileName &decompDictFile="", const dictionary *fallback=nullptr)
Read and register on mesh, optionally with alternative decomposeParDict path/name or with fallback co...
ClassName("decompositionModel")
decompositionModel(const polyMesh &mesh, const fileName &decompDictFile="", const dictionary *fallback=nullptr)
Construct from typeName, optional decomposeParDict path/name or with fallback content.
virtual bool movePoints()
Update for mesh motion.
decompositionMethod & decomposer() const
Return demand-driven decomposition method.
static const word canonicalName
The canonical name ("decomposeParDict") under which the MeshObject is registered.
virtual void updateMesh(const mapPolyMesh &)
Update topology using the given map.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
#define FOAM_DEPRECATED_FOR(since, replacement)