-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsteam_uv.h
39 lines (30 loc) · 1.4 KB
/
steam_uv.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
/*
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_STEAMUV_H
#define FREESTEAM_STEAMUV_H
#include "common.h"
#include "steam.h"
/*
Warning: the routines that calculate steam properties as functions of
(u,v) are generally more computationally intensive that alternative
functions. It is suggested that you attempt to make use of other
forms of your governing equations, if possible, perhaps for example through
the use of transformations such as those of the 'T dS' equations.
*/
FREESTEAM_DLL int freesteam_bounds_uv(MyDouble u, MyDouble v, int verbose);
FREESTEAM_DLL int freesteam_region_uv(MyDouble u, MyDouble v);
FREESTEAM_DLL SteamState freesteam_set_uv(MyDouble u, MyDouble v);
#endif