31 template<
class Coordinate,
class Value>
35 List<Tuple2<Coordinate, Value>>& data
40 data.resize(dataStr.size());
42 for (
label i = 0; i < dataStr.size(); ++ i)
44 data[i].first() = dataStr[i].get<Coordinate>(is, columns_.first());
45 data[i].second() = dataStr[i].get<Value>(is, columns_.second());
52 template<
class Coordinate,
class Value>
67 template<
class Coordinate,
class Value>
74 template<
class Coordinate,
class Value>
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::unitSets &units, const List< Tuple2< Coordinate, Value >> &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...
Foam(const word &name, const Function1s::unitSets &units, const dictionary &dict)
Construct from name and dictionary.
virtual ~Foam()
Destructor.
virtual void write(Ostream &os, const Function1s::unitSets &units, const List< Tuple2< Coordinate, Value >> &table, const word &valuesKeyword=word::null) const
Write settings and values.
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.
Motion of the mesh specified as a list of pointMeshMovers.
A class for handling words, derived from string.
const HashTable< dimensionSet > table
Table of dimensions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
Struct containing two unitSets for use in converting both the argument and the value of a Function1.