summaryrefslogtreecommitdiff
path: root/Utilib/src/backwards.h
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Utilib/src/backwards.h
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Utilib/src/backwards.h')
-rw-r--r--Utilib/src/backwards.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/Utilib/src/backwards.h b/Utilib/src/backwards.h
new file mode 100644
index 0000000..d0341cb
--- /dev/null
+++ b/Utilib/src/backwards.h
@@ -0,0 +1,34 @@
+/*
+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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+#ifndef FREESTEAM_BACKWARDS_H
+#define FREESTEAM_BACKWARDS_H
+
+#include "common.h"
+
+FREESTEAM_DLL double freesteam_region1_T_ph(double p, double h);
+FREESTEAM_DLL double freesteam_region2_T_ph(double p, double h);
+FREESTEAM_DLL double freesteam_region3_T_ph(double p, double h);
+FREESTEAM_DLL double freesteam_region3_v_ph(double p, double h);
+FREESTEAM_DLL double freesteam_region3_psat_h(double h);
+FREESTEAM_DLL double freesteam_region3_psat_s(double s);
+
+FREESTEAM_DLL double freesteam_region3_T_ps(double p, double h);
+FREESTEAM_DLL double freesteam_region3_v_ps(double p, double h);
+
+#endif