OpenFOAM: API Guide
v2112
The open source CFD toolbox
fieldTypes.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2011-2016 OpenFOAM Foundation
9
Copyright (C) 2018 OpenCFD Ltd.
10
-------------------------------------------------------------------------------
11
License
12
This file is part of OpenFOAM.
13
14
OpenFOAM is free software: you can redistribute it and/or modify it
15
under the terms of the GNU General Public License as published by
16
the Free Software Foundation, either version 3 of the License, or
17
(at your option) any later version.
18
19
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
for more details.
23
24
You should have received a copy of the GNU General Public License
25
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27
Description
28
Header files for all the primitive types that Fields are instantiated for.
29
30
\*---------------------------------------------------------------------------*/
31
32
#ifndef fieldTypes_H
33
#define fieldTypes_H
34
35
#include "
label.H
"
36
#include "
scalar.H
"
37
#include "
vector.H
"
38
#include "
sphericalTensor.H
"
39
#include "
symmTensor.H
"
40
#include "
tensor.H
"
41
#include "
triad.H
"
42
#include "
macros.H
"
43
44
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46
#define CAPITALIZE_scalar Scalar
47
#define CAPITALIZE_vector Vector
48
#define CAPITALIZE_sphericalTensor SphericalTensor
49
#define CAPITALIZE_symmTensor SymmTensor
50
#define CAPITALIZE_tensor Tensor
51
52
#define FOR_ALL_FIELD_TYPES(Macro, ...) \
53
Macro(scalar, __VA_ARGS__) \
54
Macro(vector, __VA_ARGS__) \
55
Macro(sphericalTensor, __VA_ARGS__) \
56
Macro(symmTensor, __VA_ARGS__) \
57
Macro(tensor, __VA_ARGS__)
58
59
60
/*---------------------------------------------------------------------------*\
61
Namespace fieldTypes Declaration
62
\*---------------------------------------------------------------------------*/
63
64
namespace
Foam
65
{
66
namespace
fieldTypes
67
{
68
//- Standard basic field types (label, scalar, vector, tensor, etc)
69
// These also correspond to cloud output fields.
70
extern
const
wordList
basic
;
71
72
}
// End namespace fieldTypes
73
}
// End namespace Foam
74
75
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76
77
#endif
78
79
// ************************************************************************* //
triad.H
tensor.H
sphericalTensor.H
macros.H
General C-preprocessor macros.
Foam::wordList
List< word > wordList
A List of words.
Definition:
fileName.H:62
symmTensor.H
scalar.H
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
label.H
vector.H
Foam::fieldTypes::basic
const wordList basic
Standard basic field types (label, scalar, vector, tensor, etc)
src
OpenFOAM
fields
Fields
fieldTypes.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.