35 const word& entryName,
73 return (t2-t1)*value(0.5*(t1+t2));
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void writeData(Ostream &os) const
Write in dictionary format.
const Type & value() const noexcept
Return const reference to value.
Function1 to lookup UniformDimensionedField from an objectregistry.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Lookup(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
const bool writeData(pdfDictionary.get< bool >("writeData"))
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
Base level of Lookup and LookupField classes.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual Type value(const scalar t) const
Return value for time t.
Registry of regIOobjects.