Templated table container data entry. Items are stored in a list of Tuple2's. First column is always stored as scalar entries. Data is read in the form, e.g. for an entry <entryName> that is (scalar, vector): More...
#include <lagrangianIntermediate/Table.H>
Templated table container data entry. Items are stored in a list of Tuple2's. First column is always stored as scalar entries. Data is read in the form, e.g. for an entry <entryName> that is (scalar, vector):
<entryName> table ( 0.0 (1 2 3) 1.0 (4 5 6) );
Public Member Functions | |
TypeName ("table") | |
Runtime type information. | |
Table (const word &entryName, Istream &is) | |
Construct from entry name and Istream. | |
Table (const Table< Type > &tbl) | |
Copy constructor. | |
virtual | ~Table () |
Destructor. | |
Type | value (const scalar x) const |
Return Table value. | |
Type | integrate (const scalar x1, const scalar x2) const |
Integrate between two (scalar) values. | |
![]() | |
TypeName ("DataEntry") declareRunTimeSelectionTable(autoPtr | |
Runtime type information. | |
DataEntry (const word &entryName) | |
Construct from entry name. | |
DataEntry (const DataEntry< Type > &de) | |
Copy constructor. | |
virtual | ~DataEntry () |
Destructor. | |
const word & | name () const |
Return the name of the entry. |
Friends | |
Ostream & | operator (Ostream &, const Constant< Type > &) |
Ostream Operator. |
Additional Inherited Members | |
![]() | |
static autoPtr< DataEntry< Type > > | New (const word &entryName, const dictionary &dict) |
Selector. | |
![]() | |
DataEntry | |
dictionary | |
const word & | entryName |
const word Istream & | is |
const word Istream | entryName |
const word Istream | is |
![]() | |
const word | name_ |
Name of entry. |
Construct from entry name and Istream.
Definition at line 31 of file Table.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, DataEntry< Type >::name_, Foam::nl, and List< T >::size().
TypeName | ( | "table" | ) |
Runtime type information.
|
virtual |
|
virtual |
Integrate between two (scalar) values.
Implements DataEntry< Type >.
Definition at line 90 of file Table.C.
References Foam::sum().