All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Function1.H File Reference
Include dependency graph for Function1.H:

Go to the source code of this file.

Classes

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

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makeFunction1(Type)
 
#define makeFunction1Type(SS, Type)
 
#define makeNamedFunction1Type(SS, Type, Name)
 
#define makeScalarFunction1(SS)
 
#define makeFunction1s(Type)
 

Functions

template<class Type >
Ostream & operator<< (Ostream &, const Function1< Type > &)
 
template<class Type >
void writeEntry (Ostream &os, const Function1< Type > &f1)
 

Detailed Description

Original source file Function1.H

Definition in file Function1.H.

Macro Definition Documentation

◆ makeFunction1

#define makeFunction1 (   Type)
Value:
\
defineNamedTemplateTypeNameAndDebug(Function1<Type>, 0); \
defineTemplateRunTimeSelectionTable(Function1<Type>, dictionary);
#define defineTemplateRunTimeSelectionTable(baseType, argNames)
Define run-time selection table for template classes.

Definition at line 215 of file Function1.H.

◆ makeFunction1Type

#define makeFunction1Type (   SS,
  Type 
)
Value:
\
defineNamedTemplateTypeNameAndDebug(Function1s::SS<Type>, 0); \
\
Function1<Type>::adddictionaryConstructorToTable<Function1s::SS<Type>> \
addFunction1##SS##Type##ConstructorToTable_;

Definition at line 222 of file Function1.H.

◆ makeNamedFunction1Type

#define makeNamedFunction1Type (   SS,
  Type,
  Name 
)
Value:
\
Function1<Type>::adddictionaryConstructorToTable<Function1s::SS<Type>> \
addFunction1##Name##Type##ConstructorToTable_(#Name);

Definition at line 230 of file Function1.H.

◆ makeScalarFunction1

#define makeScalarFunction1 (   SS)
Value:
\
defineTypeNameAndDebug(SS, 0); \
\
Function1<scalar>::adddictionaryConstructorToTable<SS> \
addFunction1##SS##ConstructorToTable_;

Definition at line 236 of file Function1.H.

◆ makeFunction1s

#define makeFunction1s (   Type)
Value:
\
template<> \
( \
"Tuple2<scalar," #Type ">" \
); \
makeFunction1Type(None, Type); \
makeFunction1Type(Constant, Type); \
makeFunction1Type(Uniform, Type); \
makeFunction1Type(ZeroConstant, Type); \
makeFunction1Type(OneConstant, Type); \
makeFunction1Type(Polynomial, Type); \
makeFunction1Type(Sine, Type); \
makeFunction1Type(Square, Type); \
makeFunction1Type(Table, Type); \
makeFunction1Type(UniformTable, Type); \
makeFunction1Type(NonUniformTable, Type); \
makeNamedFunction1Type(Table, Type, tableFile); \
makeFunction1Type(Scale, Type); \
makeFunction1Type(Coded, Type);
#define makeFunction1(Type)
Definition: Function1.H:215
A 2-tuple for storing two objects of different types.
Definition: HashTable.H:65

Definition at line 244 of file Function1.H.