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) );
Definition at line 71 of file Table.H.
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.
| |
Friends | |
Ostream & | operator (Ostream &, const Constant< Type > &) |
Ostream Operator.
|
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.
Type value | ( | const scalar | x ) | const [virtual]
|
Type integrate | ( | const scalar | x1, |
const scalar | x2 | ||
) | const [virtual]
|
Integrate between two (scalar) values.
Implements DataEntry< Type >.
Definition at line 90 of file Table.C.
References Foam::sum().