makeDataEntries.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "CompatibilityConstant.H"
27 #include "Constant.H"
28 #include "PolynomialEntry.H"
29 #include "CSV.H"
30 #include "DataEntry.H"
31 #include "Table.H"
32 #include "TableFile.H"
33 
34 #include "label.H"
35 #include "scalar.H"
36 #include "vector.H"
37 #include "sphericalTensor.H"
38 #include "symmTensor.H"
39 #include "tensor.H"
40 
41 namespace Foam
42 {
44  makeDataEntryType(CompatibilityConstant, label);
45  makeDataEntryType(Constant, label);
46  //makeDataEntryType(PolynomialEntry, label);
48  makeDataEntryType(Table, label);
49  makeDataEntryType(TableFile, label);
50 
51  makeDataEntry(scalar);
52  makeDataEntryType(CompatibilityConstant, scalar);
53  makeDataEntryType(Constant, scalar);
54  makeDataEntryType(PolynomialEntry, scalar);
55  makeDataEntryType(CSV, scalar);
56  makeDataEntryType(Table, scalar);
57  makeDataEntryType(TableFile, scalar);
58 
60  makeDataEntryType(CompatibilityConstant, vector);
61  makeDataEntryType(Constant, vector);
62  makeDataEntryType(PolynomialEntry, vector);
64  makeDataEntryType(Table, vector);
65  makeDataEntryType(TableFile, vector);
66 
68  makeDataEntryType(CompatibilityConstant, sphericalTensor);
70  makeDataEntryType(PolynomialEntry, sphericalTensor);
74 
76  makeDataEntryType(CompatibilityConstant, symmTensor);
77  makeDataEntryType(Constant, symmTensor);
78  makeDataEntryType(PolynomialEntry, symmTensor);
81  makeDataEntryType(TableFile, symmTensor);
82 
84  makeDataEntryType(CompatibilityConstant, tensor);
85  makeDataEntryType(Constant, tensor);
86  makeDataEntryType(PolynomialEntry, tensor);
88  makeDataEntryType(Table, tensor);
89  makeDataEntryType(TableFile, tensor);
90 }
91 
92 
93 // ************************************************************************* //
Foam::makeDataEntry
makeDataEntry(label)
Table.H
Foam::sphericalTensor
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
Definition: sphericalTensor.H:48
TableFile.H
Foam::tensor
Tensor< scalar > tensor
Tensor of scalars.
Definition: tensor.H:51
tensor.H
sphericalTensor.H
DataEntry.H
Foam::label
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
symmTensor.H
Foam::symmTensor
SymmTensor< scalar > symmTensor
SymmTensor of scalars.
Definition: symmTensor.H:48
scalar.H
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
PolynomialEntry.H
Foam::vector
Vector< scalar > vector
A scalar version of the templated Vector.
Definition: vector.H:49
CompatibilityConstant.H
CSV.H
label.H
vector.H
Constant.H
Foam::makeDataEntryType
makeDataEntryType(CompatibilityConstant, label)