30 template<
class Type, Foam::direction rank>
41 if (fs.first().valid())
43 return filter(fs.first()->value(
x)*other.
fs.second()->value(
y));
45 else if (fs.second().valid())
47 return filter(other.
fs.first()->value(
x)*fs.second()->value(
y));
64 return filter(
fs.first()->value(
x)*
fs.second()->value(
y));
75 return fs_.value(
x,
y);
96 :
valueName(argument) +
"<" + typeName +
">";
Pair< autoPtr< function1Type > > fs
Functions.
Type value(const scalar x, const scalar y) const
Evaluate.
virtual Type value(const scalar x, const scalar y) const
Return value.
A 2-tuple for storing two objects of different types.
const Type1 & first() const
Return first.
Traits class for primitives.
A class for handling words, derived from string.
word valueName(const direction argument)
Return the name of the value entry for the given argument.
word name(const bool)
Return a word representation of a bool.