50 if (
dict.found(
"mover"))
58 libs.
open(moverDict,
"libs", fvMeshConstructorTablePtr_);
60 if (!fvMeshConstructorTablePtr_)
63 <<
"fvMeshMovers table is empty"
67 fvMeshConstructorTable::iterator cstrIter =
68 fvMeshConstructorTablePtr_->find(
type);
72 if (cstrIter == fvMeshConstructorTablePtr_->end())
74 if (!pointMeshMover::dictionaryConstructorTablePtr_)
77 <<
"Unknown fvMeshMover type "
79 <<
"Valid fvMeshMovers are :"
80 << fvMeshConstructorTablePtr_->sortedToc() <<
nl
81 <<
"and pointMeshMovers table is empty"
87 !pointMeshMover::dictionaryConstructorTablePtr_
92 <<
"Unknown fvMeshMover type "
94 <<
"Valid fvMeshMovers are :"
95 << fvMeshConstructorTablePtr_->sortedToc() <<
nl
96 <<
"Valid pointMeshMovers are :"
97 << pointMeshMover::dictionaryConstructorTablePtr_
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static const word & constant()
Return constant name.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
fvMesh & mesh()
Return the fvMesh.
static autoPtr< fvMeshMover > New(fvMesh &)
Select, construct and return the fvMeshMover.
Dummy fvMeshMover which does not move the mesh points.
Wrapper class so that a pointMeshMover can be instantiated to move an fvMesh.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
Templated form of IOobject providing type information for file reading and header type checking.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dlLibraryTable libs
Table of loaded dynamic libraries.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.