39 if (
dict.found(
"format"))
41 const word readerType(
dict.lookup(
"format"));
43 typename dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(readerType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown reader type " << readerType
51 <<
"Valid reader types : " <<
nl
52 << dictionaryConstructorTablePtr_->sortedToc()
60 if (
dict.found(
"file"))
static autoPtr< TableReader< Type > > New(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Reads an interpolation table from the values entry in OpenFOAM-format.
Reads an interpolation table from a file in OpenFOAM-format. This is a list of Tuples in which comple...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const HashTable< unitConversion > & units()
Get the table of unit conversions.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.