Go to the documentation of this file.
35 namespace functionObjects
45 bool Foam::functionObjects::reference::calc()
49 bool processed = calcType<scalar>();
50 processed = processed || calcType<vector>();
51 processed = processed || calcType<sphericalTensor>();
52 processed = processed || calcType<symmTensor>();
53 processed = processed || calcType<tensor>();
90 <<
" field: " << fieldName_ <<
nl;
92 if (
dict.readIfPresent(
"scale", scale_))
94 Log <<
" scale: " << scale_ <<
nl;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
reference(const word &name, const Time &runTime, const dictionary &dict)
bool read(const char *buf, int32_t &val)
virtual bool read(const dictionary &dict)
Ostream & endl(Ostream &os)
void setResultName(const word &typeName, const word &defaultArg)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
const word & name() const noexcept
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
virtual const word & type() const =0
fileName::Type type(const fileName &name, const bool followLink=true)
defineTypeNameAndDebug(ObukhovLength, 0)
word name(const expressions::valueTypeCode typeCode)
virtual bool read(const dictionary &dict)