52 if (
dict.registerObject())
91 coeffDict_(
dict.optionalSubDict(
type +
"Coeffs"))
112 const word solverName
114 solverDict.
getCompat<
word>(
"motionSolver", {{
"solver", -1612}})
117 Info<<
"Selecting motion solver: " << solverName <<
nl;
123 dictionaryConstructorTablePtr_
126 if (!dictionaryConstructorTablePtr_)
129 <<
"solver table is empty"
133 auto* ctorPtr = dictionaryConstructorTable(solverName);
142 *dictionaryConstructorTablePtr_
146 return autoPtr<motionSolver>(ctorPtr(
mesh, solverDict));
188 dictEntry.
name() +
":meshSolver",
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,...
bool registerObject() const noexcept
Should object created with this IOobject be registered?
The IOstreamOption is a simple container for options an IOstream can normally have.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const word & constant() const
Return constant name.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
dlLibraryTable & libs() const
Mutable access to the loaded dynamic libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A keyword and a list of tokens is a 'dictionaryEntry'.
virtual const fileName & name() const
Return the scoped dictionary name (eg, dictA.dictB.dictC)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
T getCompat(const word &keyword, std::initializer_list< std::pair< const char *, int > > compat, enum keyType::option matchOpt=keyType::REGEX) const
bool open(bool verbose=true)
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
const Time & time() const
Return the top-level database.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void updateMesh()
Update for new mesh topology.
Class used for the construction of PtrLists of motionSolvers.
Virtual base class for mesh motion solver.
static IOobject stealRegistration(const IOdictionary &dict)
De-register object if registered and assign to current.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write state using stream options.
virtual tmp< pointField > curPoints() const =0
Provide current points for motion. Uses current motion field.
virtual void solve()=0
Solve for motion.
virtual void twoDCorrectPoints(pointField &) const
virtual autoPtr< motionSolver > clone() const
Clone function.
virtual bool read()
Read dynamicMeshDict dictionary.
const Time & time() const noexcept
Return time registry.
constant condensation/saturation model.
Mesh consisting of general polyhedral cells.
bool checkOut()
Remove all file watches and remove object from registry.
virtual bool read()
Read object.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.