-
Notifications
You must be signed in to change notification settings - Fork 0
/
region2.h
42 lines (32 loc) · 1.67 KB
/
region2.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
freesteam - IAPWS-IF97 steam tables library
Copyright (C) 2004-2009 John Pye
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef FREESTEAM_REGION2_H
#define FREESTEAM_REGION2_H
#include "common.h"
#define REGION2_TMAX 1073.15
FREESTEAM_DLL MyDouble freesteam_region2_v_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_u_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_s_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_h_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_cp_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_cv_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_w_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_a_pT(MyDouble p, MyDouble T);
FREESTEAM_DLL MyDouble freesteam_region2_g_pT(MyDouble p, MyDouble T);
/* used in calculations of derivatives, see derivs.c */
MyDouble freesteam_region2_alphav_pT(MyDouble p, MyDouble T);
MyDouble freesteam_region2_kappaT_pT(MyDouble p, MyDouble T);
#endif