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

Go to the source code of this file.

Classes

class  Function1< Type >
 Run-time selectable general function of one variable. More...
 
class  FieldFunction1< Type, Function1Type >
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define defineFunction1(Type)
 
#define addFunction1(SS, Type)
 
#define addStreamConstructableFunction1(SS, Type)
 
#define addNamedFunction1(SS, Type, Name)
 
#define addScalarFunction1(SS)
 

Functions

template<class Type >
Ostream & operator<< (Ostream &, const Function1< Type > &)
 
template<class Type >
void writeEntry (Ostream &os, const Function1< Type > &f1)
 
template<class Type >
void writeEntry (Ostream &os, const Function1s::unitSets &units, const Function1< Type > &f1)
 
template<class Type >
void writeEntry (Ostream &os, const unitSet &xUnits, const unitSet &valueUnits, const Function1< Type > &f1)
 

Detailed Description

Original source file Function1.H

Definition in file Function1.H.

Macro Definition Documentation

◆ defineFunction1

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

Definition at line 301 of file Function1.H.

◆ addFunction1

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

Definition at line 308 of file Function1.H.

◆ addStreamConstructableFunction1

#define addStreamConstructableFunction1 (   SS,
  Type 
)
Value:
\
addFunction1(SS, Type); \
addToRunTimeSelectionTable \
( \
Type##Function1, \
Type##SS##Function1, \
Istream \
)

Definition at line 321 of file Function1.H.

◆ addNamedFunction1

#define addNamedFunction1 (   SS,
  Type,
  Name 
)
Value:
\
typedef Function1<Type> Type##Function1; \
typedef SS<Type> Type##SS##Function1; \
addNamedToRunTimeSelectionTable \
( \
Type##Function1, \
Type##SS##Function1, \
dictionary, \
Name \
)

Definition at line 332 of file Function1.H.

◆ addScalarFunction1

#define addScalarFunction1 (   SS)
Value:
\
defineTypeNameAndDebug(SS, 0); \
typedef Function1<scalar> scalarFunction1; \
addToRunTimeSelectionTable(scalarFunction1, SS, dictionary)

Definition at line 345 of file Function1.H.