34 const word& valueType,
35 const word& fieldName,
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A traits class, which is primarily used for primitives and vector-space.
A class for handling words, derived from Foam::string.
Type getObjectResult(const word &objectName, const word &entryName, const Type &defaultValue=Type(Zero)) const
Retrieve result from named object.
stateFunctionObject & state_
State.
word functionObjectName_
Name of function object to retrueve data from.
void setValue(const word &valueType, const word &fieldName, scalar &value) const
Helper function to retrieve the value from the state dictionary.