33 namespace functionObjects
43 bool Foam::functionObjects::scale::calc()
45 bool processed =
false;
47 processed = processed || calcScale<scalar>();
48 processed = processed || calcScale<vector>();
49 processed = processed || calcScale<sphericalTensor>();
50 processed = processed || calcScale<symmTensor>();
51 processed = processed || calcScale<tensor>();
85 if (resultName_.empty())
87 resultName_ =
"scale(" + fieldName_ +
")";
90 dict.
lookup(
"scale") >> scale_;
scale(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read(const dictionary &)
Read the randomise data.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual bool read(const dictionary &)
Read the fieldExpression data.
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
virtual ~scale()
Destructor.
addToRunTimeSelectionTable(functionObject, add, dictionary)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.