39#ifndef Foam_fieldTypes_H
40#define Foam_fieldTypes_H
54#define CAPITALIZE_bool Bool
55#define CAPITALIZE_label Label
56#define CAPITALIZE_scalar Scalar
57#define CAPITALIZE_complex Complex
58#define CAPITALIZE_vector Vector
59#define CAPITALIZE_sphericalTensor SphericalTensor
60#define CAPITALIZE_symmTensor SymmTensor
61#define CAPITALIZE_tensor Tensor
63#define FOR_ALL_FIELD_TYPES(Macro, ...) \
64 Macro(scalar, __VA_ARGS__) \
65 Macro(vector, __VA_ARGS__) \
66 Macro(sphericalTensor, __VA_ARGS__) \
67 Macro(symmTensor, __VA_ARGS__) \
68 Macro(tensor, __VA_ARGS__)
105 return "extrapolatedCalculated";
A class for handling words, derived from Foam::string.
General C-preprocessor macros.
const word zeroGradientType
A zeroGradient patch field type.
const word extrapolatedCalculatedType
A combined zero-gradient and calculated patch field type.
const char * emptyTypeName_() noexcept
An empty patch field type.
const wordList basic
Standard basic field types (label, scalar, vector, tensor, etc).
const char * zeroValueTypeName_() noexcept
A zeroValue patch field type.
const char * zeroGradientTypeName_() noexcept
A zeroGradient patch field type.
const word calculatedType
A calculated 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 word emptyType
An empty patch field type.
const word processorType
A processor patch field type.
const char * processorTypeName_() noexcept
A processor patch field type.
const word zeroValueType
A zeroValue patch field type.
bool is_basic(const word &clsName)
Test if the class name appears to be a basic field.
List< word > wordList
List of word.