Light wrapper around DataEntry to provide a mechanism to update time-based entries. More...
Public Member Functions | |
TimeDataEntry (const Time &t, const word &name, const dictionary &dict) | |
Construct from entry name. More... | |
TimeDataEntry (const Time &t, const word &entryName) | |
Construct null from entry name. More... | |
TimeDataEntry (const TimeDataEntry< Type > &tde) | |
Copy constructor. More... | |
virtual | ~TimeDataEntry () |
Destructor. More... | |
void | reset (const dictionary &dict) |
Reset entry by re-reading from dictionary. More... | |
const word & | name () const |
Return the name of the entry. More... | |
virtual Type | value (const scalar x) const |
Return value as a function of (scalar) independent variable. More... | |
virtual Type | integrate (const scalar x1, const scalar x2) const |
Integrate between two (scalar) values. More... | |
virtual void | writeData (Ostream &os) const |
Write in dictionary format. More... | |
Protected Attributes | |
const Time & | time_ |
Reference to the time database. More... | |
const word | name_ |
Name of the data entry. More... | |
autoPtr< DataEntry< Type > > | entry_ |
The underlying DataEntry. More... | |
Friends | |
Ostream & | operator (Ostream &os, const TimeDataEntry< Type > &de) |
Ostream Operator. More... | |
Light wrapper around DataEntry to provide a mechanism to update time-based entries.
Definition at line 64 of file ConeNozzleInjection.H.
TimeDataEntry | ( | const Time & | t, |
const word & | name, | ||
const dictionary & | dict | ||
) |
Construct from entry name.
Definition at line 32 of file TimeDataEntry.C.
TimeDataEntry | ( | const Time & | t, |
const word & | entryName | ||
) |
Construct null from entry name.
TimeDataEntry | ( | const TimeDataEntry< Type > & | tde | ) |
Copy constructor.
Definition at line 57 of file TimeDataEntry.C.
|
virtual |
Destructor.
Definition at line 75 of file TimeDataEntry.C.
void reset | ( | const dictionary & | dict | ) |
Reset entry by re-reading from dictionary.
Definition at line 82 of file TimeDataEntry.C.
const Foam::word & name | ( | ) | const |
Return the name of the entry.
Definition at line 98 of file TimeDataEntry.C.
|
virtual |
Return value as a function of (scalar) independent variable.
Definition at line 105 of file TimeDataEntry.C.
|
virtual |
Integrate between two (scalar) values.
Definition at line 113 of file TimeDataEntry.C.
|
virtual |
Write in dictionary format.
Definition at line 136 of file TimeDataEntry.C.
|
friend |
Ostream Operator.
|
protected |
Reference to the time database.
Definition at line 68 of file TimeDataEntry.H.
|
protected |
Name of the data entry.
Definition at line 71 of file TimeDataEntry.H.
The underlying DataEntry.
Definition at line 74 of file TimeDataEntry.H.
Referenced by TimeDataEntry< scalar >::TimeDataEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.