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

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, 0 > &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< Function1< scalar > > > fs
 Functions. More...
 

Detailed Description

template<class Type>
class Foam::Function2s::ProductFunction1s< Type, 0 >

Definition at line 202 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 57 of file Product2.C.

References dict, forAll, 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, 0 > &  p2f1s)

Copy construct.

Definition at line 96 of file Product2.C.

Member Function Documentation

◆ value()

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

Evaluate.

Definition at line 57 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 159 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

Pair<autoPtr<Function1<scalar> > > fs

Functions.

Definition at line 209 of file Product2.H.


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