pointFieldsFwd.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 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 InClass
28  Foam::pointFields
29 
30 Description
31  Forwards and collection of common point field types
32 
33 SourceFiles
34  pointFields.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 #ifndef pointFieldsFwd_H
39 #define pointFieldsFwd_H
40 
41 #include "fieldTypes.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 
50 class pointMesh;
51 
52 template<class Type>
53 class pointPatchField;
54 
55 template<class Type, template<class> class PatchField, class GeoMesh>
56 class GeometricField;
57 
58 typedef GeometricField<scalar, pointPatchField, pointMesh> pointScalarField;
59 typedef GeometricField<vector, pointPatchField, pointMesh> pointVectorField;
60 typedef GeometricField<sphericalTensor, pointPatchField, pointMesh>
62 typedef GeometricField<symmTensor, pointPatchField, pointMesh>
64 typedef GeometricField<tensor, pointPatchField, pointMesh> pointTensorField;
65 
66 
67 /*---------------------------------------------------------------------------*\
68  Namespace fieldTypes Declaration
69 \*---------------------------------------------------------------------------*/
70 
71 namespace fieldTypes
72 {
73  //- Standard point field types (scalar, vector, tensor, etc)
74  extern const wordList point;
75 
76 } // End namespace fieldTypes
77 
78 
79 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80 
81 } // End namespace Foam
82 
83 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84 
85 #endif
86 
87 // ************************************************************************* //
Foam::wordList
List< word > wordList
A List of words.
Definition: fileName.H:59
Foam::pointVectorField
GeometricField< vector, pointPatchField, pointMesh > pointVectorField
Definition: pointFields.H:52
Foam::pointSphericalTensorField
GeometricField< sphericalTensor, pointPatchField, pointMesh > pointSphericalTensorField
Definition: pointFields.H:54
Foam::fieldTypes::point
const wordList point
Standard point field types (scalar, vector, tensor, etc)
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::pointScalarField
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
Definition: pointFields.H:51
Foam::pointTensorField
GeometricField< tensor, pointPatchField, pointMesh > pointTensorField
Definition: pointFields.H:57
fieldTypes.H
Header files for all the primitive types that Fields are instantiated for.
Foam::pointSymmTensorField
GeometricField< symmTensor, pointPatchField, pointMesh > pointSymmTensorField
Definition: pointFields.H:56