uniform.C File Reference
Include dependency graph for uniform.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::functionObjects
 Namespace for functionObjects.
 

Macros

#define readValueType(Type, GeoField)
 
#define getFieldType(Type, GeoField)   fieldTypes.append(GeoField<Type>::typeName);
 
#define calcType(Type, GeoField)
 

Functions

 defineTypeNameAndDebug (uniform, 0)
 
 addToRunTimeSelectionTable (functionObject, uniform, dictionary)
 

Detailed Description

Original source file uniform.C

Definition in file uniform.C.

Macro Definition Documentation

◆ readValueType

#define readValueType (   Type,
  GeoField 
)
Value:
if (GeoField<Type>::typeName == fieldType_) \
{ \
ok = true; \
Type##Value_ = dict.lookup<Type>("value"); \
}
dictionary dict

Referenced by uniform::read().

◆ getFieldType

#define getFieldType (   Type,
  GeoField 
)    fieldTypes.append(GeoField<Type>::typeName);

Referenced by uniform::read().

◆ calcType

#define calcType (   Type,
  GeoField 
)
Value:
if (GeoField<Type>::typeName == fieldType_) \
{ \
store \
( \
name_, \
( \
name_, \
mesh_, \
dimensioned<Type>(dimensions_, Type##Value_) \
) \
); \
}
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)

Referenced by targetCoeffTrim::correctTrim(), and uniform::execute().