areaFieldsFwd.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) 2016-2017 Wikki Ltd
9  Copyright (C) 2018-2022 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  Forwards and collection of common area field types
29 
30 SourceFiles
31  areaFields.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef Foam_areaFieldsFwd_H
36 #define Foam_areaFieldsFwd_H
37 
38 #include "fieldTypes.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 // Geometric internal field
46 template<class Type, class GeoMesh> class DimensionedField;
47 
48 // Geometric boundary field
49 template<class Type, template<class> class PatchField, class GeoMesh>
51 
52 // Geometric field (internal + boundary)
53 template<class Type, template<class> class PatchField, class GeoMesh>
54 class GeometricField;
55 
56 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 
58 // Forward Declarations
59 class areaMesh;
60 template<class Type> class faPatchField;
61 
62 
63 //- An area field for a given type
64 template<class Type>
66 
67 //- An area boundary field for a given Type
68 template<class Type>
70 
71 //- An area internal field for a given type
72 template<class Type>
74 
75 
76 // Typedefs
77 
84 
85 
86 /*---------------------------------------------------------------------------*\
87  Namespace fieldTypes Declaration
88 \*---------------------------------------------------------------------------*/
89 
90 namespace fieldTypes
91 {
92  //- Standard area field types (scalar, vector, tensor, etc)
93  extern const wordList area;
94 
95  //- Standard dimensioned field types (scalar, vector, tensor, etc)
96  extern const wordList area_internal;
97 
98 } // End namespace fieldTypes
99 
100 
101 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 
103 } // End namespace Foam
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 
107 #endif
108 
109 // ************************************************************************* //
GeometricField< symmTensor, faPatchField, areaMesh > areaSymmTensorField
Definition: areaFieldsFwd.H:84
Generic GeometricField class.
Definition: areaFieldsFwd.H:50
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
Definition: areaFieldsFwd.H:56
const wordList area
Standard area field types (scalar, vector, tensor, etc)
GeometricField< tensor, faPatchField, areaMesh > areaTensorField
Definition: areaFieldsFwd.H:85
GeometricField< sphericalTensor, faPatchField, areaMesh > areaSphericalTensorField
Definition: areaFieldsFwd.H:83
Generic GeometricBoundaryField class.
Definition: areaFieldsFwd.H:46
const wordList area_internal
Standard dimensioned field types (scalar, vector, tensor, etc)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Definition: areaFieldsFwd.H:42
Mesh data needed to do the Finite Area discretisation.
Definition: areaFaMesh.H:47
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Definition: GeoMesh.H:42
GeometricField< vector, faPatchField, areaMesh > areaVectorField
Definition: areaFieldsFwd.H:81
Namespace for OpenFOAM.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
Definition: areaFieldsFwd.H:80