Unstruct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Triangular Grids
 All Classes Files Functions Variables Macros
solution.h
Go to the documentation of this file.
1 //*****************************************************************************
6 //
7 // (c) J. Blazek, CFD Consulting & Analysis, www.cfd-ca.de
8 // Created February 15, 2014
9 // Last modification: June 7, 2014
10 //
11 //=============================================================================
12 //
13 // This program is free software; you can redistribute it and/or
14 // modify it under the terms of the GNU General Public License
15 // as published by the Free Software Foundation; either version 2
16 // of the License, or (at your option) any later version.
17 //
18 // This program is distributed in the hope that it will be useful,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program; if not, write to the Free Software
25 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 //
27 //*****************************************************************************
28 
29 #ifndef SOLUTION_H_INCLUDED
30 #define SOLUTION_H_INCLUDED
31 
32 #include "defs.h"
33 
39 class Solution
40 {
41 public:
42  Solution();
43  ~Solution();
44 
45  REAL *cv;
46  static const int DENS=0,
47  XMOM=1,
48  YMOM=2,
49  ENER=3;
51  REAL *dv;
52  static const int PRESS=0,
53  TEMP =1,
54  CSOUN=2,
55  GAMMA=3,
56  CPGAS=4,
57  MUEL =5,
58  CONDL=6;
60 private:
61  int nCv;
62  int nDv;
63 };
64 
65 #endif // SOLUTION_H_INCLUDED
static const int TEMP
Definition: solution.h:53
static const int ENER
Definition: solution.h:49
REAL * dv
Definition: solution.h:51
static const int XMOM
Definition: solution.h:47
Definition: solution.h:39
~Solution()
Definition: solution.cpp:48
static const int DENS
Definition: solution.h:46
static const int CPGAS
Definition: solution.h:56
REAL * cv
Definition: solution.h:45
static const int PRESS
Definition: solution.h:52
static const int CONDL
Definition: solution.h:58
static const int MUEL
Definition: solution.h:57
static const int CSOUN
Definition: solution.h:54
static const int GAMMA
Definition: solution.h:55
Solution()
Definition: solution.cpp:35
static const int YMOM
Definition: solution.h:48