OpenWAM
Source
Boundaries
TEntradaPulso.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 TEntradaPulsoH
30
#define TEntradaPulsoH
31
32
#include <cstdio>
33
#include <iostream>
34
#ifdef __BORLANDC__
35
#include <vcl.h>
36
#endif
37
//#include <cmath>
38
39
#include "Globales.h"
40
//---------------------------------------------------------------------------
41
42
class
TEntradaPulso
{
43
private
:
44
45
int
FNumeroDatos;
46
int
FNumeroCiclo;
47
int
FInstante;
48
double
*FTiempo;
49
double
*FPresionRelativa;
50
double
*FNivelEntropia;
51
double
FTiempoActual;
52
53
public
:
54
TEntradaPulso
();
55
56
~
TEntradaPulso
();
57
58
void
LeeEntradaPulso(FILE *fich);
59
60
void
BusquedaInstante(
double
Tiempo);
61
62
double
InterpolaPresion();
63
64
double
InterpolaEntropia();
65
};
66
67
#endif
TEntradaPulso
Definition:
TEntradaPulso.h:42
Generated on Tue Jun 22 2021 07:09:40 for OpenWAM by
1.8.17