All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fvFieldSource.H File Reference
Include dependency graph for fvFieldSource.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fvFieldSource< Type >
 Base class for finite-volume field sources. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define makeFvFieldSource(fvTypeFieldSource)
 
#define addToFieldSourceRunTimeSelection(TypeFieldSource, typeTypeFieldSource)
 
#define addNullConstructableToFieldSourceRunTimeSelection( TypeFieldSource, typeTypeFieldSource)
 
#define makeTypeFieldSource(TypeFieldSource, typeTypeFieldSource)
 
#define makeNullConstructableTypeFieldSource( TypeFieldSource, typeTypeFieldSource)
 
#define makeTemplateTypeFieldSource(fieldType, type)
 
#define makeNullConstructableTemplateTypeFieldSource(fieldType, type)
 
#define makeFieldSources(type)    FOR_ALL_FIELD_TYPES(makeTemplateTypeFieldSource, type)
 
#define makeNullConstructableFieldSources(type)    FOR_ALL_FIELD_TYPES(makeNullConstructableTemplateTypeFieldSource, type)
 
#define makeFieldSourceTypeName(fieldType, type)
 
#define makeFieldSourceTypeNames(type)    FOR_ALL_FIELD_TYPES(makeFieldSourceTypeName, type)
 
#define makeTypeFieldSourceTypedef(fieldType, type)
 
#define makeTypeFieldSourceTypedefs(type)    FOR_ALL_FIELD_TYPES(makeTypeFieldSourceTypedef, type)
 

Functions

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

Detailed Description

Original source file fvFieldSource.H

Definition in file fvFieldSource.H.

Macro Definition Documentation

◆ makeFvFieldSource

#define makeFvFieldSource (   fvTypeFieldSource)
Value:
defineNamedTemplateTypeNameAndDebug(fvTypeFieldSource, 0); \
template<> \
int fvTypeFieldSource::disallowGenericFvFieldSource \
( \
debug::debugSwitch("disallowGenericFvFieldSource", 0) \
); \
defineTemplateRunTimeSelectionTable(fvTypeFieldSource, null); \
defineTemplateRunTimeSelectionTable(fvTypeFieldSource, dictionary)
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:139
int debugSwitch(const char *name, const int defaultValue=0)
Lookup debug switch or add default value.
Definition: debug.C:211

Definition at line 220 of file fvFieldSource.H.

◆ addToFieldSourceRunTimeSelection

#define addToFieldSourceRunTimeSelection (   TypeFieldSource,
  typeTypeFieldSource 
)
Value:
( \
TypeFieldSource, \
typeTypeFieldSource, \
dictionary \
)
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to hash-table of functions with typename as the key.

Definition at line 231 of file fvFieldSource.H.

◆ addNullConstructableToFieldSourceRunTimeSelection

#define addNullConstructableToFieldSourceRunTimeSelection (   TypeFieldSource,
  typeTypeFieldSource 
)
Value:
( \
TypeFieldSource, \
typeTypeFieldSource, \
null \
); \
addToFieldSourceRunTimeSelection(TypeFieldSource, typeTypeFieldSource)

Definition at line 240 of file fvFieldSource.H.

◆ makeTypeFieldSource

#define makeTypeFieldSource (   TypeFieldSource,
  typeTypeFieldSource 
)
Value:
defineTypeNameAndDebug(typeTypeFieldSource, 0); \
addToFieldSourceRunTimeSelection(TypeFieldSource, typeTypeFieldSource)
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Definition: className.H:119

Definition at line 251 of file fvFieldSource.H.

◆ makeNullConstructableTypeFieldSource

#define makeNullConstructableTypeFieldSource (   TypeFieldSource,
  typeTypeFieldSource 
)
Value:
defineTypeNameAndDebug(typeTypeFieldSource, 0); \
addNullConstructableToFieldSourceRunTimeSelection \
( \
TypeFieldSource, \
typeTypeFieldSource \
)

Definition at line 256 of file fvFieldSource.H.

◆ makeTemplateTypeFieldSource

#define makeTemplateTypeFieldSource (   fieldType,
  type 
)
Value:
( \
CAT4(type, Fv, CAPITALIZE(fieldType), FieldSource), \
0 \
); \
addToFieldSourceRunTimeSelection \
( \
CAT3(fv, CAPITALIZE(fieldType), FieldSource), \
CAT4(type, Fv, CAPITALIZE(fieldType), FieldSource) \
);
#define CAPITALIZE(name)
Map 'name' to 'Name' via the predefined macro CAPITALIZE_name.
Definition: macros.H:54
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition: POSIX.C:488
labelList fv(nPoints)

Definition at line 266 of file fvFieldSource.H.

◆ makeNullConstructableTemplateTypeFieldSource

#define makeNullConstructableTemplateTypeFieldSource (   fieldType,
  type 
)
Value:
( \
CAT4(type, Fv, CAPITALIZE(fieldType), FieldSource), \
0 \
); \
addNullConstructableToFieldSourceRunTimeSelection \
( \
CAT3(fv, CAPITALIZE(fieldType), FieldSource), \
CAT4(type, Fv, CAPITALIZE(fieldType), FieldSource) \
);

Definition at line 279 of file fvFieldSource.H.

◆ makeFieldSources

#define makeFieldSources (   type)     FOR_ALL_FIELD_TYPES(makeTemplateTypeFieldSource, type)

Definition at line 292 of file fvFieldSource.H.

◆ makeNullConstructableFieldSources

#define makeNullConstructableFieldSources (   type)     FOR_ALL_FIELD_TYPES(makeNullConstructableTemplateTypeFieldSource, type)

Definition at line 296 of file fvFieldSource.H.

◆ makeFieldSourceTypeName

#define makeFieldSourceTypeName (   fieldType,
  type 
)
Value:
( \
CAT4(type, Fv, CAPITALIZE(fieldType), FieldSource), \
0 \
);

Definition at line 300 of file fvFieldSource.H.

◆ makeFieldSourceTypeNames

#define makeFieldSourceTypeNames (   type)     FOR_ALL_FIELD_TYPES(makeFieldSourceTypeName, type)

Definition at line 308 of file fvFieldSource.H.

◆ makeTypeFieldSourceTypedef

#define makeTypeFieldSourceTypedef (   fieldType,
  type 
)
Value:
CAT4(type, Fv, CAPITALIZE(fieldType), FieldSource);
#define CAT4(a, b, c, d)
Definition: macros.H:44

Definition at line 312 of file fvFieldSource.H.

◆ makeTypeFieldSourceTypedefs

#define makeTypeFieldSourceTypedefs (   type)     FOR_ALL_FIELD_TYPES(makeTypeFieldSourceTypedef, type)

Definition at line 317 of file fvFieldSource.H.