37 if (Pstream::parRun())
47 IOobject::READ_IF_PRESENT,
57 if (dict.
found(
"distributor"))
61 const word fvMeshDistributorTypeName
63 distributorDict.
lookup(
"type")
66 Info<<
"Selecting fvMeshDistributor " 67 << fvMeshDistributorTypeName <<
endl;
73 fvMeshConstructorTablePtr_
76 if (!fvMeshConstructorTablePtr_)
79 <<
"fvMeshDistributors table is empty" 83 fvMeshConstructorTable::iterator cstrIter =
84 fvMeshConstructorTablePtr_->find(fvMeshDistributorTypeName);
86 if (cstrIter == fvMeshConstructorTablePtr_->end())
89 <<
"Unknown fvMeshDistributor type " 90 << fvMeshDistributorTypeName <<
nl <<
nl 91 <<
"Valid fvMeshDistributors are :" << endl
92 << fvMeshConstructorTablePtr_->sortedToc()
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated form of IOobject providing type information for file reading and header type checking...
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const fileName & dbDir() const
Override the objectRegistry dbDir for a single-region case.
const Time & time() const
Return the top-level database.
dlLibraryTable libs
Table of loaded dynamic libraries.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
A class for handling words, derived from string.
const word & constant() const
Return constant name.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
Dummy fvMeshDistributor which does not move the mesh points.
Mesh data needed to do the Finite Volume discretisation.
static autoPtr< fvMeshDistributor > New(fvMesh &)
Select, construct and return the fvMeshDistributor.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.