Reads an interpolation table from a file in OpenFOAM-format. This is a list of Tuple2's where the first (x) column is scalar, and the second (y) column is the type to be interpolated. More...
Public Member Functions | |
TypeName ("foam") | |
Runtime type information. More... | |
Foam (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< TableReader< Type > > | clone () const |
Construct and return a copy. More... | |
virtual | ~Foam () |
Destructor. More... | |
![]() | |
TypeName ("TableReader") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, TableReader, dictionary,(const dictionary &dict),(dict)) | |
TableReader (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~TableReader () |
Destructor. More... | |
template<class TableType > | |
void | operator() (const fileName &, TableType &) const |
Read a table. More... | |
virtual void | write (Ostream &os) const |
Write additional information. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< TableReader< Type > > | New (const word &readerType, const dictionary &dict) |
Reads an interpolation table from a file in OpenFOAM-format. This is a list of Tuple2's where the first (x) column is scalar, and the second (y) column is the type to be interpolated.
( (0.0 (1 2 3)) (1.0 (4 5 6)) );
Definition at line 61 of file FoamTableReader.H.
Foam | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 55 of file FoamTableReader.C.
|
virtual |
Destructor.
Definition at line 64 of file FoamTableReader.C.
Referenced by Foam< Type >::clone().
TypeName | ( | "foam" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a copy.
Implements TableReader< Type >.
Definition at line 89 of file FoamTableReader.H.
References Foam< Type >::~Foam().