37 const word& entryName,
75 entry_.reset(rhs.entry_->clone().ptr());
111 return entry_->integrate(x1, x2);
121 const TimeFunction1<Type>&
rhs
135 entry_->writeData(
os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Light wrapper around Function1 to provide a mechanism to update time-based entries.
void reset(const dictionary &dict)
Reset entry by re-reading from dictionary.
const Time & time_
Reference to the time database.
virtual void writeData(Ostream &os) const
Write in dictionary format.
TimeFunction1(const Time &runTime, const word &name, const dictionary &dict)
Construct from entry name and dictionary.
autoPtr< Function1< Type > > entry_
The underlying Function1.
virtual Type value(const scalar x) const
Return value as a function of (scalar) independent variable.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
const word & name() const
Return the name of the entry.
const word name_
Name of the data entry.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)