33 {
"code",
"codeInclude"}
39 {word::null, word::null}
45 "codedFunction2Options"
51 "codedFunction2Template.C"
57 "codedFunction2Template.H"
98 redirectFunction2Ptr_ =
110 redirectFunction2Ptr_(cf2.redirectFunction2Ptr_, false)
138 units_.value.toStandard
140 redirectFunction2Ptr_->value
Run-time selectable function of two variables.
static autoPtr< Function2< Type > > New(const word &name, const Function2s::unitSets &units, const dictionary &dict)
Select from dictionary.
Constructs a dynamically compiled function of two variables.
virtual tmp< Function2< Type > > clone() const
Construct and return a clone.
Coded(const word &name, const unitSets &units, const dictionary &dict)
Construct from name and dictionary.
virtual void write(Ostream &os, const unitSets &units) const
Write data to dictionary stream.
virtual ~Coded()
Destructor.
virtual Type value(const scalar x, const scalar y) const
Return value as a function of two scalars.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class for coded functionObjects, fvModels, Function1, Function2.
bool updateLibrary(const dictionary &dict) const
Update library from given updated dictionary as required.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const word & codeName() const
Return the code-name.
HashTable< string > & varSubstitutions()
void write(Ostream &os) const
Write the code for restart.
Traits class for primitives.
A class for managing temporary objects.
A class for handling words, derived from string.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.