areaFields.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 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::areaFields
28 
29 Description
30  Finite area area (element) fields
31 
32 Author
33  Zeljko Tukovic, FMENA
34  Hrvoje Jasak, Wikki Ltd.
35 
36 SourceFiles
37  areaFields.C
38 
39 \*---------------------------------------------------------------------------*/
40 
41 #ifndef areaFields_H
42 #define areaFields_H
43 
44 #include "objectRegistry.H"
45 #include "GeometricFields.H"
46 #include "areaFaMesh.H"
47 #include "faMesh.H"
48 #include "faPatchFields.H"
49 #include "areaFieldsFwd.H"
51 
52 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 
54 namespace Foam
55 {
56 
57 // Specializations
58 
59 template<>
60 tmp<GeometricField<scalar, faPatchField, areaMesh>>
62 (
63  const direction
64 ) const;
65 
66 template<>
68 (
69  const direction,
70  const GeometricField<scalar, faPatchField, areaMesh>& sf
71 );
72 
73 
74 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
75 
76 } // End namespace Foam
77 
78 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
79 
80 #endif
81 
82 // ************************************************************************* //
Foam::GeometricField::component
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Foam::GeometricField::replace
void replace(const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
Replace specified field component with content from another field.
objectRegistry.H
faMesh.H
GeometricFields.H
The standard GeometricField types.
calculatedFaPatchFields.H
areaFieldsFwd.H
Forwards and collection of common area field types.
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
areaFaMesh.H
Foam::direction
uint8_t direction
Definition: direction.H:52
faPatchFields.H