Loading...
Searching...
No Matches
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-2025 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
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
27Description
28 Forwards and collection of common area field types
29
30SourceFiles
31 areaFields.C
32
33\*---------------------------------------------------------------------------*/
34
35#ifndef Foam_areaFieldsFwd_H
36#define Foam_areaFieldsFwd_H
37
38#include "fieldTypes.H"
39#include "GeometricFieldFwd.H"
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43namespace Foam
44{
45
46// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48// Forward Declarations
49class areaMesh;
50template<class Type> class faPatchField;
51
52
53//- An area field for a given type
54template<class Type>
56
57//- An area boundary field for a given Type
58template<class Type>
60
61//- An area internal field for a given type
62template<class Type>
64
66// Typedefs
67
68typedef
71
72typedef
75
76typedef
79
80typedef
83
84typedef
87
89/*---------------------------------------------------------------------------*\
90 Namespace fieldTypes Declaration
91\*---------------------------------------------------------------------------*/
92
93namespace fieldTypes
94{
96//- Standard area field types (scalar, vector, tensor, etc)
97extern const wordList area;
98
99//- Standard area internal field types (scalar, vector, tensor, etc)
100extern const wordList area_internal;
101
102//- Test if the class name appears to be an area field
103bool is_area(const word& clsName);
104
105//- Test if the class name appears to be an area internal field
106bool is_area_internal(const word& clsName);
107
108} // End namespace fieldTypes
109
110// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111
112} // End namespace Foam
113
114// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115
116#endif
117
118// ************************************************************************* //
Forward declarations related to GeometricField etc.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricBoundaryField class.
Generic GeometricField class.
Mesh data needed to do the Finite Area discretisation.
Definition areaFaMesh.H:50
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
A class for handling words, derived from Foam::string.
Definition word.H:66
Collection of common field types.
const wordList area_internal
Standard area internal field types (scalar, vector, tensor, etc).
bool is_area(const word &clsName)
Test if the class name appears to be an area field.
Definition areaFields.C:154
bool is_area_internal(const word &clsName)
Test if the class name appears to be an area internal field.
Definition areaFields.C:164
const wordList area
Standard area field types (scalar, vector, tensor, etc).
Namespace for OpenFOAM.
List< word > wordList
List of word.
Definition fileName.H:60
GeometricBoundaryField< Type, faPatchField, areaMesh > AreaBoundaryField
An area boundary field for a given Type.
GeometricField< tensor, faPatchField, areaMesh > areaTensorField
GeometricField< sphericalTensor, faPatchField, areaMesh > areaSphericalTensorField
DimensionedField< Type, areaMesh > AreaInternalField
An area internal field for a given type.
GeometricField< symmTensor, faPatchField, areaMesh > areaSymmTensorField
GeometricField< vector, faPatchField, areaMesh > areaVectorField
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
GeometricField< Type, faPatchField, areaMesh > AreaField
An area field for a given type.