41 ConstructorTable::iterator cstrIter = ConstructorTablePtr_->find(
name);
43 if (cstrIter == ConstructorTablePtr_->end())
46 <<
"Unknown solidProperties type "
48 <<
"Valid solidProperties types are:" <<
nl
49 << ConstructorTablePtr_->sortedToc()
68 const word& solidPropertiesTypeName =
71 dictionaryConstructorTable::iterator cstrIter =
72 dictionaryConstructorTablePtr_->find(solidPropertiesTypeName);
74 if (cstrIter == dictionaryConstructorTablePtr_->end())
77 <<
"Unknown solidProperties type "
78 << solidPropertiesTypeName <<
nl <<
nl
79 <<
"Valid solidProperties types are:" <<
nl
80 << dictionaryConstructorTablePtr_->sortedToc()
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word dictName() const
Return the local dictionary name (final part of scoped 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 found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.