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

Public Member Functions

 ProductFunction1s (const unitSets &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 unitSets &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 unitSets units,
const dictionary dict,
const Pair< Tuple2< word, label >> &  typeAndRanks 
)

Construct from a dictionary.

Definition at line 31 of file Product2.C.

References Foam::units::any, dict, forAll, ProductFunction1s< Type, rank >::fs, Function1< Type >::New(), Foam::second(), Foam::Function2s::valueName(), unitSets::x, and unitSets::y.

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 unitSets units 
) const

Write to a stream.

Definition at line 140 of file Product2.C.

References Foam::units::any, forAll, Foam::blendedInterfacialModel::valid(), Foam::writeEntry(), unitSets::x, and unitSets::y.

Here is the call graph for this function:

Member Data Documentation

◆ fs


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