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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2303 - (show annotations) (download)
Sun Aug 22 01:33:16 2010 UTC (11 years, 10 months ago) by jpye
File size: 668 byte(s)
Fix minor issue with building FPROPS from ~/ascend.
Added heat-exchanger plopts in cycle_plot.py.
Finished ammonia and toluene regen cycles.
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 fprops_env.SConscript("fluids/SConscript",['fprops_env'])
14
15 lib = fprops_env.SharedLibrary("helmholtz"
16 ,['ideal.c','helmholtz.c','asc_helmholtz.c','sat.c','derivs.c','solve_ph.c','fluids.c']
17 + ['%s' % f for f in fprops_env['fluids']]
18 ,SHLIBSUFFIX = env['EXTLIB_SUFFIX']
19 ,SHLIBPREFIX = env['EXTLIB_PREFIX']
20 )
21
22 fprops_env.Depends("fluids.c","fluids/fluids_list.h")
23
24 env['extfns'] += [lib]
25
26 # vim: set syntax=python:

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