31 template<
class Coordinate,
class Value>
40 if (
dict.found(
"format"))
42 const word readerType(
dict.lookup(
"format"));
44 typename dictionaryConstructorTable::iterator cstrIter =
45 dictionaryConstructorTablePtr_->find(readerType);
47 if (cstrIter == dictionaryConstructorTablePtr_->end())
50 <<
"Unknown reader type " << readerType
52 <<
"Valid reader types : " <<
nl
53 << dictionaryConstructorTablePtr_->sortedToc()
64 if (
dict.found(
"file"))
static autoPtr< TableReader< Coordinate, Value > > New(const word &name, const Function1s::unitSets &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)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Struct containing two unitSets for use in converting both the argument and the value of a Function1.