Loading...
Searching...
No Matches
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...
struct  Function1< Type >::addAliasdictionaryConstructorToTable< Function1Type >
struct  Function1< Type >::adddictionaryConstructorToTable< Function1Type >
struct  Function1< Type >::addRemovabledictionaryConstructorToTable< Function1Type >
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>
Ostreamoperator<< (Ostream &os, const Function1< Type > &func)

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>, \
);
#define defineTemplateRunTimeSelectionTable(baseType, argNames)
Define run-time selection table for template classes.

Definition at line 424 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 436 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 446 of file Function1.H.

◆ makeScalarFunction1

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

Definition at line 456 of file Function1.H.