/[ascend]/trunk/models/johnpye/fprops/python/fprops.i
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/python/fprops.i

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2224 by jpye, Tue Dec 15 08:34:56 2009 UTC revision 2225 by jpye, Mon Jul 26 03:40:18 2010 UTC
# Line 8  Line 8 
8  #include "../nitrogen.h"  #include "../nitrogen.h"
9  #include "../helmholtz.h"  #include "../helmholtz.h"
10  #include "../sat.h"  #include "../sat.h"
11    #include "../sat2.h"
12  %}  %}
13    
14    %include exception.i
15    
16  %immutable helmholtz_data_water;  %immutable helmholtz_data_water;
17  %immutable helmholtz_data_carbondioxide;  %immutable helmholtz_data_carbondioxide;
18  %immutable helmholtz_data_ammonia;  %immutable helmholtz_data_ammonia;
# Line 26  Line 29 
29  %clear double *rho_f;  %clear double *rho_f;
30  %clear double *rho_g;  %clear double *rho_g;
31    
32    %apply double *OUTPUT {double *p_sat};
33    %apply double *OUTPUT {double *rho_f};
34    %apply double *OUTPUT {double *rho_g};
35    int fprops_sat_T(double T, double *p_sat, double *rho_f, double *rho_g, const HelmholtzData *d);
36    %clear double *p_sat;
37    %clear double *rho_f;
38    %clear double *rho_g;
39    
40    %exception;
41    
42  %include "../carbondioxide.h"  %include "../carbondioxide.h"
43  %include "../water.h"  %include "../water.h"
44  %include "../ammonia.h"  %include "../ammonia.h"

Legend:
Removed from v.2224  
changed lines
  Added in v.2225

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22