ProductFunction1s< Type, rank > Class Template Reference
Collaboration diagram for ProductFunction1s< Type, rank >:

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...
 

Detailed Description

template<class Type, direction rank = pTraits<Type>::rank>
class Foam::Function2s::ProductFunction1s< Type, rank >

Definition at line 146 of file Product2.H.

Constructor & Destructor Documentation

◆ ProductFunction1s() [1/2]

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().

Here is the call graph for this function:

◆ ProductFunction1s() [2/2]

ProductFunction1s ( const ProductFunction1s< Type, rank > &  p2f1s)

Copy construct.

Definition at line 81 of file Product2.C.

Member Function Documentation

◆ value()

Type value ( const scalar  x,
const scalar  y 
) const
inline

Evaluate.

Definition at line 31 of file Product2I.H.

References ProductFunction1s< Type, rank >::fs, x, and y.

◆ write()

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().

Here is the call graph for this function:

Member Data Documentation

◆ fs


The documentation for this class was generated from the following files: