35 const dictionary& coeffs
38 foName_ = coeffs.get<word>(
"functionObject");
39 foResultName_ = coeffs.get<word>(
"functionObjectResult");
40 haveDefaultValue_ = coeffs.readIfPresent(
"defaultValue", defaultValue_);
47 const word& entryName,
56 haveDefaultValue_(false)
70 foResultName_(rhs.foResultName_),
71 defaultValue_(rhs.defaultValue_),
72 haveDefaultValue_(rhs.haveDefaultValue_)
84 os.writeEntry(
"functionObject", foName_);
85 os.writeEntry(
"functionObjectResult", foResultName_);
87 if (haveDefaultValue_)
89 os.writeEntry(
"defaultValue", defaultValue_);
Returns a value retrieved from a function object result.
virtual void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word const dictionary & dict
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool read()
Re-read model coefficients if they have changed.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Registry of regIOobjects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.