35 List<Tuple2<scalar, Type>>& data
38 List<tokenTupleN> dataStr(is);
40 data.resize(dataStr.size());
42 for (
label i = 0; i < dataStr.size(); ++ i)
44 data[i].first() = dataStr[i].get<scalar>(is, columns_.first());
45 data[i].second() = dataStr[i].get<Type>(is, columns_.second());
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class to read table data for tables.
virtual void write(Ostream &os, const Function1s::unitConversions &units, const List< Tuple2< scalar, Type >> &table, const word &valuesKeyword=word::null) const
Write additional information.
Reads an interpolation table from a file in OpenFOAM-format. This is a list of Tuples in which comple...
virtual void write(Ostream &os, const Function1s::unitConversions &units, const List< Tuple2< scalar, Type >> &table, const word &valuesKeyword=word::null) const
Write settings and values.
Foam(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual ~Foam()
Destructor.
A 2-tuple for storing two objects of different types.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const HashTable< unitConversion > & units()
Get the table of unit conversions.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.