/[ascend]/trunk/models/johnpye/fprops/SConscript
ViewVC logotype

Contents of /trunk/models/johnpye/fprops/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2117 - (show annotations) (download)
Wed Dec 9 04:30:18 2009 UTC (10 years, 6 months ago) by jpye
File size: 559 byte(s)
Improving Python build of FPROPS.
Added spinodal.py for visualisation of spinodal points.
Added placeholder critical and triple point data for the other fluids (needs to be filled in).
Allow peering inside helmholtz data form Python (eg to access critical point data).
1 Import('env')
2 fprops_env = env.Clone()
3
4 fprops_env.Append(LIBPATH=['#'])
5 fprops_env.Append(LIBS=['ascend'])
6
7 lib = fprops_env.SharedLibrary("mbwr"
8 ,['mbwr.c','asc_mbwr.c']
9 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
10 ,SHLIBPREFIX = env['EXTLIB_PREFIX']
11 )
12
13 env['fluids'] = ['ammonia','water','nitrogen','hydrogen']
14
15 lib = fprops_env.SharedLibrary("helmholtz"
16 ,['ideal.c','helmholtz.c','asc_helmholtz.c']
17 + ['%s.c' % f for f in fluids]
18 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
19 ,SHLIBPREFIX = env['EXTLIB_PREFIX']
20 )
21
22 env['extfns'] += [lib]
23
24 # vim: set syntax=python:
25

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