35 const dictionary& coeffs
38 triggers_ = coeffs.get<
labelList>(
"triggers", keyType::LITERAL);
40 coeffs.getOrDefault(
"defaultValue",
false, keyType::LITERAL);
47 const word& entryName,
67 triggers_(rhs.triggers_),
68 defaultValue_(rhs.defaultValue_)
80 os.writeKeyword(
"triggers");
86 os.writeEntry(
"default",
"true");
Returns a 0/1 value corresponding to function object trigger levels.
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)
List< label > labelList
A List of labels.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.