/[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 2116 by jpye, Mon Apr 27 06:09:29 2009 UTC revision 2117 by jpye, Wed Dec 9 04:30:18 2009 UTC
# Line 1  Line 1 
1  %module fprops  %module fprops
2    
3  %{  %{
4  #include "../helmholtz.h"  #include "../carbondioxide.h"
5  #include "../water.h"  #include "../water.h"
6    #include "../ammonia.h"
7    #include "../hydrogen.h"
8    #include "../nitrogen.h"
9    #include "../helmholtz.h"
10  %}  %}
11    
12  %immutable helmholtz_data_water;  %immutable helmholtz_data_water;
13    %immutable helmholtz_data_carbondioxide;
14    %immutable helmholtz_data_ammonia;
15    %immutable helmholtz_data_nitrogen;
16    %immutable helmholtz_data_hydrogen;
17    
 %include "../water.h"  
18  %include "../helmholtz.h"  %include "../helmholtz.h"
19    
20    %include "../carbondioxide.h"
21    %include "../water.h"
22    %include "../ammonia.h"
23    %include "../hydrogen.h"
24    %include "../nitrogen.h"
25    
26  /*  /*
27  swig -python fprops.i  swig -python fprops.i
28  gcc -I /usr/include/python2.5 -shared fprops_wrap.c ../helmholtz.c ../ideal.c ../water.c -o _fprops.so  gcc -I /usr/include/python2.5 -shared fprops_wrap.c ../helmholtz.c ../ideal.c ../water.c -o _fprops.so

Legend:
Removed from v.2116  
changed lines
  Added in v.2117

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