50 dictionaryConstructorTablePtr_->
found(patchType)
52 dictionaryConstructorTablePtr_->
found(patchType)
75 std::move(allNeighbour)
82 const word& modelType,
86 Info<<
"Selecting simplified mesh model " << modelType <<
endl;
88 auto* ctorPtr = timeConstructorTable(modelType);
96 *timeConstructorTablePtr_
100 return autoPtr<simplifiedFvMesh>(ctorPtr(
runTime));
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
bool found(const T &val, label pos=0) const
Same as contains().
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
fvMesh(const fvMesh &)=delete
No copy construct.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual const faceList & faces() const
Return raw faces.
virtual const pointField & points() const
Return raw points.
Functions to generate simplified finite volume meshes.
static bool fvPatchFieldExists(const word &patchType)
Helper function to see if the patch type exists in the run-time selection tables.
static autoPtr< simplifiedFvMesh > New(const word &modelType, const Time &runTime)
Return a reference to the selected simplified mesh.
simplifiedFvMesh(const IOobject &io, pointField &&points, faceList &&faces, labelList &&allOwner, labelList &&allNeighbour)
Constructor.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
List< label > labelList
A List of labels.
messageStream Info
Information stream (stdout output on master, null elsewhere).
List< face > faceList
List of faces.
Ostream & endl(Ostream &os)
Add newline and flush stream.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
vectorField pointField
pointField is a vectorField.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.