From 7dfcc480ba1e19bd3232349fc733caef94034292 Mon Sep 17 00:00:00 2001 From: stainer_t Date: Mon, 8 Sep 2025 13:48:49 +0200 Subject: Initial commit from Polytechnique Montreal --- Utilib/src/backwards.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Utilib/src/backwards.h (limited to 'Utilib/src/backwards.h') 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 -- cgit v1.2.3