Public Member Functions | |
ProductFunction1s (const unitConversions &units, const dictionary &dict, const Pair< Tuple2< word, label >> &typeAndRanks) | |
Construct from a dictionary. More... | |
ProductFunction1s (const ProductFunction1s< Type, rank > &p2f1s) | |
Copy construct. More... | |
Type | value (const scalar x, const scalar y) const |
Evaluate. More... | |
void | write (Ostream &os, const unitConversions &units) const |
Write to a stream. More... | |
Public Attributes | |
Pair< autoPtr< function1Type > > | fs |
Functions. More... | |
Definition at line 146 of file Product2.H.
ProductFunction1s | ( | const unitConversions & | units, |
const dictionary & | dict, | ||
const Pair< Tuple2< word, label >> & | typeAndRanks | ||
) |
Construct from a dictionary.
Definition at line 31 of file Product2.C.
References dict, forAll, ProductFunction1s< Type, rank >::fs, Function1< Type >::New(), Foam::second(), Foam::unitAny, Foam::units(), and Foam::Function2s::valueName().
ProductFunction1s | ( | const ProductFunction1s< Type, rank > & | p2f1s | ) |
Copy construct.
Definition at line 81 of file Product2.C.
|
inline |
Evaluate.
Definition at line 31 of file Product2I.H.
References ProductFunction1s< Type, rank >::fs, x, and y.
void write | ( | Ostream & | os, |
const unitConversions & | units | ||
) | const |
Write to a stream.
Definition at line 140 of file Product2.C.
References forAll, Foam::unitAny, Foam::units(), Foam::blendedInterfacialModel::valid(), and Foam::writeEntry().
Pair<autoPtr<function1Type> > fs |
Functions.
Definition at line 170 of file Product2.H.
Referenced by ProductFunction1s< Type, rank >::ProductFunction1s(), ProductFunction1s< Type, rank >::value(), and ProductFunction1s< Type, 0 >::value().