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 Group
25  grpGaussVolPoint
26 Class
27  Foam::fvsc::GaussVolPoint::GaussVolPointBase2D
28 SourceFile
29  GaussVolPointBase2D.C
30 \*---------------------------------------------------------------------------*/
31 
32 #ifndef GaussVolPointBase2D_H
33 #define GaussVolPointBase2D_H
34 
35 #include "volFieldsFwd.H"
36 #include "surfaceFieldsFwd.H"
37 
38 namespace Foam
39 {
40 
41 class fvMesh;
42 
43 namespace fvsc
44 {
45 
47 {
48 
49 protected:
50 
51  List<scalar> c1_;
52  List<scalar> c2_;
53  List<scalar> c3_;
54  List<scalar> c4_;
55 // List<scalar> cosa1_;
56 // List<scalar> cosa2_;
57 // List<scalar> sina1_;
58 // List<scalar> sina2_;
59 // List<scalar> den_;
60 // List<vector> v42_;
61 // List<vector> v13_;
62  List<scalar> mv42_;
63  List<scalar> mv13_;
64  List<label> ip3_;
65  List<label> ip1_;
66  List<label> ic4_;
67  List<label> ic2_;
68  vector e1_;
69  vector e2_;
70  label ie1_, ie2_, ie3_;
71 
72  //- ordinary external boundaries
73  // or processor boundary
74  List<label> ordinaryPatches_;
75  List<bool> processorPatch_;
76 
77 // List<List<scalar> > cosa1e_;
78 // List<List<scalar> > cosa2e_;
79 // List<List<scalar> > sina1e_;
80 // List<List<scalar> > sina2e_;
81  List<List<label> > ip3e_;
82  List<List<label> > ip1e_;
83  List<List<label> > ic4e_;
84  List<List<scalar> > c1e_;
85  List<List<scalar> > c2e_;
86  List<List<scalar> > c3e_;
87  List<List<scalar> > c4e_;
88  List<List<scalar> > mv42e_;
89  List<List<scalar> > mv13e_;
90 // List<List<scalar> > dene_;
91 
92 public:
93 
94  //-
95  GaussVolPointBase2D(const fvMesh& mesh);
96 
97  //-
99 
100  //-
101  void faceGrad(const volScalarField& f, surfaceVectorField& gradf);
102 
103  //-
104  void faceDiv (const volVectorField& f, surfaceScalarField& divf);
105 
106  //-
107  void faceDiv (const volTensorField& f, surfaceVectorField& divf);
108 };
109 
110 }
111 
112 }
113 
114 #endif
115 
116 //
117 //
118 //
119 
120 
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)