Loading...
Searching...
No Matches
fieldTypes.H File Reference
Include dependency graph for fieldTypes.H:

Go to the source code of this file.

Namespaces

namespace  Foam::fieldTypes
 Collection of common field types.
namespace  Foam
 Namespace for OpenFOAM.

Macros

#define CAPITALIZE_bool   Bool
#define CAPITALIZE_label   Label
#define CAPITALIZE_scalar   Scalar
#define CAPITALIZE_complex   Complex
#define CAPITALIZE_vector   Vector
#define CAPITALIZE_sphericalTensor   SphericalTensor
#define CAPITALIZE_symmTensor   SymmTensor
#define CAPITALIZE_tensor   Tensor
#define FOR_ALL_FIELD_TYPES(Macro, ...)

Functions

bool is_basic (const word &clsName)
 Test if the class name appears to be a basic field.
const char * emptyTypeName_ () noexcept
 An empty patch field type.
const char * calculatedTypeName_ () noexcept
 A calculated patch field type.
const char * extrapolatedCalculatedTypeName_ () noexcept
 A combined zero-gradient and calculated patch field type.
const char * processorTypeName_ () noexcept
 A processor patch field type.
const char * zeroGradientTypeName_ () noexcept
 A zeroGradient patch field type.
const char * zeroValueTypeName_ () noexcept
 A zeroValue patch field type.

Variables

const wordList basic
 Standard basic field types (label, scalar, vector, tensor, etc).
const word emptyType
 An empty patch field type.
const word calculatedType
 A calculated patch field type.
const word extrapolatedCalculatedType
 A combined zero-gradient and calculated patch field type.
const word processorType
 A processor patch field type.
const word zeroGradientType
 A zeroGradient patch field type.
const word zeroValueType
 A zeroValue patch field type.

Detailed Description

Original source file fieldTypes.H

Definition in file fieldTypes.H.

Macro Definition Documentation

◆ CAPITALIZE_bool

#define CAPITALIZE_bool   Bool

Definition at line 48 of file fieldTypes.H.

◆ CAPITALIZE_label

#define CAPITALIZE_label   Label

Definition at line 49 of file fieldTypes.H.

◆ CAPITALIZE_scalar

#define CAPITALIZE_scalar   Scalar

Definition at line 50 of file fieldTypes.H.

◆ CAPITALIZE_complex

#define CAPITALIZE_complex   Complex

Definition at line 51 of file fieldTypes.H.

◆ CAPITALIZE_vector

#define CAPITALIZE_vector   Vector

Definition at line 52 of file fieldTypes.H.

◆ CAPITALIZE_sphericalTensor

#define CAPITALIZE_sphericalTensor   SphericalTensor

Definition at line 53 of file fieldTypes.H.

◆ CAPITALIZE_symmTensor

#define CAPITALIZE_symmTensor   SymmTensor

Definition at line 54 of file fieldTypes.H.

◆ CAPITALIZE_tensor

#define CAPITALIZE_tensor   Tensor

Definition at line 55 of file fieldTypes.H.

◆ FOR_ALL_FIELD_TYPES

#define FOR_ALL_FIELD_TYPES ( Macro,
... )
Value:
Macro(scalar, __VA_ARGS__) \
Macro(vector, __VA_ARGS__) \
Macro(sphericalTensor, __VA_ARGS__) \
Macro(symmTensor, __VA_ARGS__) \
Macro(tensor, __VA_ARGS__)
Tensor of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...

Definition at line 57 of file fieldTypes.H.