facEdgeIntegrate.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 InNamespace
27  Foam::fac
28 
29 Description
30  Edge integrate edgeField creating a areaField.
31  Edge sum a edgeField creating a areaField.
32 
33 SourceFiles
34  facEdgeIntegrate.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 
39 #ifndef facEdgeIntegrate_H
40 #define facEdgeIntegrate_H
41 
42 #include "areaFieldsFwd.H"
43 #include "edgeFieldsFwd.H"
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace Foam
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Namespace fac functions Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 namespace fac
55 {
56  template<class Type>
57  tmp<GeometricField<Type, faPatchField, areaMesh>>
59  (
60  const GeometricField<Type, faePatchField, edgeMesh>&
61  );
62 
63  template<class Type>
64  tmp<GeometricField<Type, faPatchField, areaMesh>>
66  (
67  const tmp<GeometricField<Type, faePatchField, edgeMesh>>&
68  );
69 
70  template<class Type>
71  tmp<GeometricField<Type, faPatchField, areaMesh>> edgeSum
72  (
73  const GeometricField<Type, faePatchField, edgeMesh>&
74  );
75 
76  template<class Type>
77  tmp<GeometricField<Type, faPatchField, areaMesh>> edgeSum
78  (
79  const tmp<GeometricField<Type, faePatchField, edgeMesh>>&
80  );
81 }
82 
83 
84 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
85 
86 } // End namespace Foam
87 
88 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
89 
90 #ifdef NoRepository
91  #include "facEdgeIntegrate.C"
92 #endif
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 #endif
97 
98 // ************************************************************************* //
facEdgeIntegrate.C
areaFieldsFwd.H
Forwards and collection of common area field types.
Foam::fac::edgeIntegrate
tmp< GeometricField< Type, faPatchField, areaMesh > > edgeIntegrate(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Definition: facEdgeIntegrate.C:47
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
fac
Calculate the second temporal derivative.
Foam::fac::edgeSum
tmp< GeometricField< Type, faPatchField, areaMesh > > edgeSum(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Definition: facEdgeIntegrate.C:119
edgeFieldsFwd.H
Forwards for edge field types.