/[ascend]/trunk/base/generic/system/SConscript
ViewVC logotype

Contents of /trunk/base/generic/system/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1317 - (show annotations) (download)
Mon Mar 5 14:11:37 2007 UTC (15 years, 3 months ago) by johnpye
File size: 768 byte(s)
Added new 'system_jacobian' function for use by IDA (maybe elsewhere?)
Refactored the matrix output stuff in IDA.
Fixed the index checking in idaanalyse
Still a problem with checking rank of small matrices.
1 Import('libascend_env')
2
3 csrcs = Split("""
4 analyze.c block.c
5 bnd.c bndman.c calc.c cond_config.c
6 conditional.c discrete.c
7 diffvars.c
8 jacobian.c
9 logrel.c logrelman.c model_reorder.c
10 rel.c relman.c
11 slv.c
12 slv_common.c
13 slv_param.c
14 slv_stdcalls.c system.c var.c
15 """)
16
17 solver_env = libascend_env.Copy()
18
19 for i in libascend_env.get('WITH_SOLVERS'):
20 solver_env.Append(CPPDEFINES=["STATIC_"+i])
21
22 defs = []
23 objs = []
24
25 for c in csrcs:
26 objs += solver_env.SharedObject(c)
27
28 #--------------------
29 # INSTALL
30
31 import glob
32
33 if libascend_env.get('CAN_INSTALL'):
34 installdir = libascend_env['INSTALL_ROOT']+libascend_env['INSTALL_INCLUDE']+'/system'
35
36 headers = glob.glob("*.h")
37 libascend_env.InstallHeader(installdir,headers)
38
39 Return('objs')
40
41 # vim: set syntax=python:
42

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