Function1.H File Reference
Include dependency graph for Function1.H:

Go to the source code of this file.

Classes

class  Function1< Type >
 Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a certain type, e.g. constant or table, and provide functions to return the (interpolated) value, and integral between limits. More...
 
class  FieldFunction1< Function1Type >
 

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
 

Macros

#define makeFunction1(Type)
 
#define makeFunction1Type(SS, Type)
 
#define makeConcreteFunction1(SS, Type)
 
#define makeScalarFunction1(SS)
 

Functions

template<class Type >
Ostream & operator<< (Ostream &, const Function1< Type > &)
 

Detailed Description

Original source file Function1.H

Definition in file Function1.H.

Macro Definition Documentation

◆ makeFunction1

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

Definition at line 343 of file Function1.H.

◆ makeFunction1Type

#define makeFunction1Type (   SS,
  Type 
)
Value:
\
defineNamedTemplateTypeNameAndDebug(Function1Types::SS<Type>, 0); \
\
Function1<Type>::adddictionaryConstructorToTable \
<FieldFunction1<Function1Types::SS<Type>>> \
add##SS##Type##ConstructorToTable_;
dict add("bounds", meshBb)

Definition at line 355 of file Function1.H.

◆ makeConcreteFunction1

#define makeConcreteFunction1 (   SS,
  Type 
)
Value:
\
defineTypeNameAndDebug(SS, 0); \
\
Function1<Type>::adddictionaryConstructorToTable \
<FieldFunction1<SS>> \
add##SS##Type##ConstructorToTable_;

Definition at line 365 of file Function1.H.

◆ makeScalarFunction1

#define makeScalarFunction1 (   SS)
Value:
\
makeConcreteFunction1(SS, scalar);

Definition at line 375 of file Function1.H.