OpenWAM
TCompIsoReg.h
1 /* --------------------------------------------------------------------------------*\
2 ==========================|
3  \\ /\ /\ // O pen | OpenWAM: The Open Source 1D Gas-Dynamic Code
4  \\ | X | // W ave |
5  \\ \/_\/ // A ction | CMT-Motores Termicos / Universidad Politecnica Valencia
6  \\/ \// M odel |
7  ----------------------------------------------------------------------------------
8  License
9 
10  This file is part of OpenWAM.
11 
12  OpenWAM is free software: you can redistribute it and/or modify
13  it under the terms of the GNU General Public License as published by
14  the Free Software Foundation, either version 3 of the License, or
15  (at your option) any later version.
16 
17  OpenWAM is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with OpenWAM. If not, see <http://www.gnu.org/licenses/>.
24 
25 
26  \*-------------------------------------------------------------------------------- */
27 
28 // ---------------------------------------------------------------------------
29 #ifndef TCompIsoRegH
30 #define TCompIsoRegH
31 
32 // #include "nr3.h"
33 // #include "interp_1d.h"
34 #include "Globales.h"
35 
36 class TCompIsoReg {
37  private:
38 
39  double fRegimen;
40 
41  double fAngMax;
42  double fAngMin;
43 
44  dVector fCorrectedMass;
45  dVector fCompRatio;
46  dVector fEfficiency;
47 
48  dVector fAngulo;
49  dVector fModulo;
50 
51  Base_interp *CurvaRC;
52  Base_interp *CurvaEf;
53  Base_interp *CurvaPol;
54 
55  public:
56  TCompIsoReg(double Reg, dVector Mass, dVector RC, dVector Eff);
57  ~TCompIsoReg();
58 
59  double CompRatio(double Mass);
60 
61  double Efficiency(double Mass);
62 
63  double CompRatioPol(double Ang);
64 
65  double AnguloMaximo();
66 
67  double AnguloMinimo();
68 
69 };
70 // ---------------------------------------------------------------------------
71 
72 typedef std::vector<TCompIsoReg*> vecTCompIsoReg;
73 #endif
Base_interp
Definition: Math_wam.h:285
TCompIsoReg
Definition: TCompIsoReg.h:36
dVector
std::vector< double > dVector
Double vector.
Definition: Math_wam.h:70