All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
GaussVolPointBase2D.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-2016 OpenFOAM Foundation
9  Copyright (C) 2019 OpenCFD Ltd.
10  Copyright (C) 2016-2019 ISP RAS (www.ispras.ru) UniCFD Group (www.unicfd.ru)
11 -------------------------------------------------------------------------------
12 License
13  This file is part of QGDsolver library, based on OpenFOAM+.
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  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  You should have received a copy of the GNU General Public License
23  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
24 Class
25  Foam::fvsc::GaussVolPoint::GaussVolPointBase2D
26 SourceFile
27  GaussVolPointBase2D.C
28 \*---------------------------------------------------------------------------*/
29 
30 #ifndef GaussVolPointBase2D_H
31 #define GaussVolPointBase2D_H
32 
33 #include "volFieldsFwd.H"
34 #include "surfaceFieldsFwd.H"
35 
36 namespace Foam
37 {
38 
39 class fvMesh;
40 
41 namespace fvsc
42 {
43 
45 {
46 
47 protected:
48 
49  List<scalar> c1_;
50  List<scalar> c2_;
51  List<scalar> c3_;
52  List<scalar> c4_;
53 // List<scalar> cosa1_;
54 // List<scalar> cosa2_;
55 // List<scalar> sina1_;
56 // List<scalar> sina2_;
57 // List<scalar> den_;
58 // List<vector> v42_;
59 // List<vector> v13_;
60  List<scalar> mv42_;
61  List<scalar> mv13_;
62  List<label> ip3_;
63  List<label> ip1_;
64  List<label> ic4_;
65  List<label> ic2_;
66  vector e1_;
67  vector e2_;
68  label ie1_, ie2_, ie3_;
69 
70  //- ordinary external boundaries
71  // or processor boundary
72  List<label> ordinaryPatches_;
73  List<bool> processorPatch_;
74 
75 // List<List<scalar> > cosa1e_;
76 // List<List<scalar> > cosa2e_;
77 // List<List<scalar> > sina1e_;
78 // List<List<scalar> > sina2e_;
79  List<List<label> > ip3e_;
80  List<List<label> > ip1e_;
81  List<List<label> > ic4e_;
82  List<List<scalar> > c1e_;
83  List<List<scalar> > c2e_;
84  List<List<scalar> > c3e_;
85  List<List<scalar> > c4e_;
86  List<List<scalar> > mv42e_;
87  List<List<scalar> > mv13e_;
88 // List<List<scalar> > dene_;
89 
90 public:
91 
92  //-
93  GaussVolPointBase2D(const fvMesh& mesh);
94 
95  //-
97 
98  //-
99  void faceGrad(const volScalarField& f, surfaceVectorField& gradf);
100 
101  //-
102  void faceDiv (const volVectorField& f, surfaceScalarField& divf);
103 
104  //-
105  void faceDiv (const volTensorField& f, surfaceVectorField& divf);
106 };
107 
108 }
109 
110 }
111 
112 #endif
113 
114 //
115 //
116 //
117 
118 
List< label > ordinaryPatches_
ordinary external boundaries
void faceDiv(const volVectorField &f, surfaceScalarField &divf)
Methods calculating of differential operators.
GaussVolPointBase2D(const fvMesh &mesh)
void faceGrad(const volScalarField &f, surfaceVectorField &gradf)