Function2.H File Reference
Include dependency graph for Function2.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Function2< Type >
 Run-time selectable function of two variables. More...
 
class  FieldFunction2< Type, Function2Type >
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define defineFunction2(Type)
 
#define addFunction2(SS, Type)
 
#define addStreamConstructableFunction2(SS, Type)
 
#define addScalarFunction2(SS)
 

Functions

template<class Type >
Ostream & operator<< (Ostream &, const Function2< Type > &)
 
template<class Type >
void writeEntry (Ostream &os, const Function2< Type > &f2)
 
template<class Type >
void writeEntry (Ostream &os, const Function2s::unitSets &units, const Function2< Type > &f2)
 
template<class Type >
void writeEntry (Ostream &os, const unitSet &xUnits, const unitSet &yUnits, const unitSet &valueUnits, const Function2< Type > &f2)
 

Detailed Description

Original source file Function2.H

Definition in file Function2.H.

Macro Definition Documentation

◆ defineFunction2

#define defineFunction2 (   Type)
Value:
\
defineNamedTemplateTypeNameAndDebug(Function2<Type>, 0); \
defineTemplateRunTimeSelectionTable(Function2<Type>, dictionary); \
defineTemplateRunTimeSelectionTable(Function2<Type>, Istream);

Definition at line 274 of file Function2.H.

◆ addFunction2

#define addFunction2 (   SS,
  Type 
)
Value:
\
defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \
typedef Function2<Type> Type##Function2; \
typedef SS<Type> Type##SS##Function2; \
addToRunTimeSelectionTable \
( \
Type##Function2, \
Type##SS##Function2, \
dictionary \
)

Definition at line 281 of file Function2.H.

◆ addStreamConstructableFunction2

#define addStreamConstructableFunction2 (   SS,
  Type 
)
Value:
\
addFunction2(SS, Type); \
addToRunTimeSelectionTable \
( \
Type##Function2, \
Type##SS##Function2, \
Istream \
)

Definition at line 294 of file Function2.H.

◆ addScalarFunction2

#define addScalarFunction2 (   SS)
Value:
\
defineTypeNameAndDebug(SS, 0); \
typedef Function2<scalar> scalarFunction2; \
addToRunTimeSelectionTable(scalarFunction2, SS, dictionary)

Definition at line 305 of file Function2.H.