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);
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.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
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 LagrangianState state)
Return a string representation of a Lagrangian state enumeration.