/[ascend]/trunk/test.py
ViewVC logotype

Log of /trunk/test.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 1201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 13:26:06 2007 UTC (12 years, 10 months ago) by johnpye
File length: 29345 byte(s)
Diff to previous 1200 , to selected 1118
Added some more test cases for DAE problem analysis.
Little bit of tidying up in the slv*.c files.

Revision 1200 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 11:48:24 2007 UTC (12 years, 10 months ago) by johnpye
File length: 28962 byte(s)
Diff to previous 1199 , to selected 1118
Fixed a bug with first var in first var chain not having ode_type=1.
Added more test cases for diffvars.c.

Revision 1199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 11:22:15 2007 UTC (12 years, 10 months ago) by johnpye
File length: 28807 byte(s)
Diff to previous 1196 , to selected 1118
Added method integrator_debug to integrator API (outputs internal data structures from integrator).
Added test cases for the diffvars code (python test.py).
Suppressed a lot of 'slv_get_*_*_list is NULL' messages when destroying system.
Specialised the system_build error message a little.

Revision 1196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 05:41:59 2007 UTC (12 years, 10 months ago) by johnpye
File length: 27344 byte(s)
Diff to previous 1194 , to selected 1118
slv_get_status changed to return non-zero on failure.
Tests are passing with the new IDA 'analyse' routine but still plenty of gaps.

Revision 1194 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 01:30:56 2007 UTC (12 years, 10 months ago) by johnpye
File length: 27370 byte(s)
Diff to previous 1187 , to selected 1118
Split diffvars stuff out of analyse.c.
Fixed IDA to work when vars are fixed/freed after the integration system is build.
There will still be problems where fixing/freeing a *derivative* causes relations to drop out.

Revision 1187 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 06:03:58 2007 UTC (12 years, 10 months ago) by johnpye
File length: 27352 byte(s)
Diff to previous 1170 , to selected 1118
analyse.c can now pick up 'chains' of derivatives and pass them to the solver.

Revision 1170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 12:19:25 2007 UTC (12 years, 10 months ago) by johnpye
File length: 27358 byte(s)
Diff to previous 1168 , to selected 1118
Added test case for collapsingcan2.

Revision 1168 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 09:33:14 2007 UTC (12 years, 10 months ago) by johnpye
File length: 27189 byte(s)
Diff to previous 1167 , to selected 1118
Commented out crashing test.

Revision 1167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 09:32:29 2007 UTC (12 years, 10 months ago) by johnpye
File length: 27166 byte(s)
Diff to previous 1165 , to selected 1118
Added (failing) test case for do_sensitivity_all.

Revision 1165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 07:35:42 2007 UTC (12 years, 10 months ago) by johnpye
File length: 26781 byte(s)
Diff to previous 1163 , to selected 1118
Added 'distance_calc' to the self-tests.

Revision 1163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 06:33:30 2007 UTC (12 years, 10 months ago) by johnpye
File length: 26693 byte(s)
Diff to previous 1162 , to selected 1118
Refactored sensitivity module a little further, added self_test.

Revision 1162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 04:34:59 2007 UTC (12 years, 10 months ago) by johnpye
File length: 26659 byte(s)
Diff to previous 1161 , to selected 1118
Fixed sensitivity module. It now runs as mostly external code, with just a few relics required by LSODE still in packages/sensitivity.c.

Revision 1161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 01:35:13 2007 UTC (12 years, 10 months ago) by johnpye
File length: 26246 byte(s)
Diff to previous 1156 , to selected 1118
Fixed value of 'dz' in dsgsat.a4c.
Added test case for saturated steam in terms of (u,v)
Other minor debug output changes.

Revision 1156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 11:35:18 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25550 byte(s)
Diff to previous 1152 , to selected 1118
Added roots_of_poly test.

Revision 1152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 09:43:47 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25463 byte(s)
Diff to previous 1144 , to selected 1118
Added 'collapsing can' example model and self-test.

Revision 1144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 10:42:11 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25374 byte(s)
Diff to previous 1142 , to selected 1118
Added except.[ch] which are intended to hold some TRY..CATCH..FINAL macro goodness to replace the explicit longjmp calls.
Added time-watching in LSODE to update GUI in case of long samplelist timesteps (TODO: permit interruption vai this mechanism too).

Revision 1142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 06:46:44 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25354 byte(s)
Diff to previous 1140 , to selected 1118
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced.
Signal handling is OFF by default now.

Revision 1140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 04:08:08 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25354 byte(s)
Diff to previous 1137 , to selected 1118
Added support for setting Integrator parameters through PyGTK GUI.
Lots of whitespace changes in slv3.c (sorry).
Fixed problem with freeing sys->parms in slv.c


Revision 1137 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 13:21:45 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25377 byte(s)
Diff to previous 1133 , to selected 1118
Attempting to fix sunos test.py problem.
Preparting dsgsat2. for IDA.

Revision 1133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 11:51:48 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25275 byte(s)
Diff to previous 1132 , to selected 1118
Removed the 'REX' and 'IEX' array aliases (added the solver parameter comments directly in the slv_param_* calls).
Renamed Simulation::[gs]etSolverParameters to Simulation::[gs]etParameters.
Added [gs]etParameter (singular) methods to SWIG wrapper.
Fixed missing NULL in IDA.
Fixed bug with BDF/AM wrong way round in LSODE.
Removed some debug output from slv.c

Revision 1132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 10:40:58 2007 UTC (12 years, 10 months ago) by johnpye
File length: 25150 byte(s)
Diff to previous 1127 , to selected 1118
Converted slv3 (QRSlv) to new slv_param_bool (etc) parameter code.
Adding a testcase for dsgsat with LSODE as well as IDA.
Fixed some remaining external function calls (needing userdata ptr).
Adding LSODE parameters 'METH' and 'MITER' for setting AM and BDF methods.
Rerranged v_expr in iapwssat.a4c.
Removed lower bound on mdot in satsteamstream.a4c.

Revision 1127 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 13 07:05:23 2007 UTC (12 years, 10 months ago) by johnpye
File length: 24669 byte(s)
Diff to previous 1126 , to selected 1118
Added test case for dsgsat2.a4c to date

Revision 1126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 13 06:11:02 2007 UTC (12 years, 10 months ago) by johnpye
File length: 24023 byte(s)
Diff to previous 1121 , to selected 1118
Added Matrix object to C++ interface. This is a thin wrapper for 'struct mtx_header *'.
Added getMatrix method in Simulation class.
Simple test case to write a matrix from a simulation (but no validation of the target file).
Added #include to ascPanic.h.
Added typemap in solver.i to ensure that python file object correctly translate en route to C.

Revision 1121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 01:01:46 2007 UTC (12 years, 10 months ago) by johnpye
File length: 23885 byte(s)
Diff to previous 1120 , to selected 1118
dsgsat behaving correctly in steady-state mode

Revision 1120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 11 23:35:07 2007 UTC (12 years, 10 months ago) by johnpye
File length: 23884 byte(s)
Diff to previous 1119 , to selected 1118
fixed typo on Windows test.py

Revision 1119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 11 13:33:54 2007 UTC (12 years, 10 months ago) by johnpye
File length: 23885 byte(s)
Diff to previous 1118
Fixed test suite to safely run TestFreesteam (will add to buildbot)

Revision 1118 - (view) (download) (as text) (annotate) - [selected]
Modified Thu Jan 11 12:08:12 2007 UTC (12 years, 10 months ago) by johnpye
File length: 23651 byte(s)
Diff to previous 1106
Fixed up test.py to allow "ASCENDLIBRARY=~/freesteam/ascend ./test.py"
Fixed up keyboard shortcuts in PyGTK tools menu

Revision 1106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 13:07:45 2007 UTC (12 years, 10 months ago) by johnpye
File length: 23182 byte(s)
Diff to previous 1105 , to selected 1118
Fixed a bug introduced into slvDOF_structsing.
Fixed an LD_LIBRARY_PATH problem with test.py

Revision 1105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 11:22:20 2007 UTC (12 years, 10 months ago) by johnpye
File length: 23112 byte(s)
Diff to previous 1104 , to selected 1118
Fixing LD_LIBRARY_PATH problem in test.py

Revision 1104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 10:13:47 2007 UTC (12 years, 10 months ago) by johnpye
File length: 22971 byte(s)
Diff to previous 1102 , to selected 1118
Removing unnecessary 'import subprocess' in test.py.

Revision 1102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:40:38 2007 UTC (12 years, 10 months ago) by johnpye
File length: 22982 byte(s)
Diff to previous 1101 , to selected 1118
fixed test.py after move to root dir

Revision 1101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:34:37 2007 UTC (12 years, 10 months ago) by johnpye
File length: 21758 byte(s)
Copied from: trunk/pygtk/test.py revision 1100
Diff to previous 1100 , to selected 1118
Moved test.py to root directory

Revision 1100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:32:31 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21758 byte(s)
Diff to previous 1098 , to selected 1118
Fixed TestSteam.testdsgsat (on_load exception ignored)

Revision 1098 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 06:00:06 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21700 byte(s)
Diff to previous 1094 , to selected 1118
Fixed test.py so that env vars not required

Revision 1094 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:21:40 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21015 byte(s)
Diff to previous 1093 , to selected 1118
fixing 'modelsdir' for Windows local test runs

Revision 1093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:18:25 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21007 byte(s)
Diff to previous 1092 , to selected 1118
redo last

Revision 1092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:12:16 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21010 byte(s)
Diff to previous 1091 , to selected 1118
undo last

Revision 1091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 10 00:07:33 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 21034 byte(s)
Diff to previous 1073 , to selected 1118
Added setting of ASCENDLIBRARY to test.py.

Revision 1073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 9 01:44:59 2007 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20843 byte(s)
Diff to previous 1058 , to selected 1118
Added Instance.as(units) method to Python bindings (bug #302)

Revision 1058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 23:14:11 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20622 byte(s)
Diff to previous 1057 , to selected 1118
Marked extpy as EXPERIMENTAL via ASC_PROG_WARNING during load.
Commented out the IDADENSE.testkryx test case, as it's been causing a hang.

Revision 1057 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 15:23:25 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20552 byte(s)
Diff to previous 1056 , to selected 1118
Permit 'pycunit' missing

Revision 1056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 15:04:40 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20531 byte(s)
Diff to previous 1055 , to selected 1118
Fixing up setpoint in satsteamstream test.
Commenting out failing tests (with @TODO comments)

Revision 1055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 14:47:13 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 20305 byte(s)
Diff to previous 1050 , to selected 1118
simplified slv_check_bounds call.

Revision 1050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 6 04:04:47 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19915 byte(s)
Diff to previous 1049 , to selected 1118
Adding integration test in TestSteam.testdsgsat.
Naming couple of anonymous structs.

Revision 1049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 13:45:13 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19651 byte(s)
Diff to previous 1046 , to selected 1118
Changed integrator_solve to return 0 on success
Changed integrator_checkstatus to return 0 on success
Some flow-through changes as a result of these.
Fixed problem with reporting of errors in do_method (gtkbrowser.py)
Expanded error msg in integrator.cpp
Fixed catching of Integrator C++ exceptions in integratorreporter.py.
Removed M.checkStructuralSingularity() in TestSteam.testdsgsat -- causes crash (why?)

Revision 1046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 11:15:16 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19636 byte(s)
Diff to previous 1043 , to selected 1118
Several changes to get BinToken compilation active again from PyGTK interface. Still not working but the problems now are in the C layer.
Tidied doc for slvDOF.h
Changed BinTokenSetOptions to saner use of strings -- no more 'taking ownership' of char arrays passed.
Added Compiler.use_binary_compilation option in PyGTK GUI.
Moved all the bintoken stuff out of class Type and into Compiler, where it should be (C++).

Revision 1043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 06:24:59 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19368 byte(s)
Diff to previous 1042 , to selected 1118
Fixed PyGTK GUI for case where syntax errors in command-line-specified file are found.
Fixed 'reload' behaviour for above case also.
Fixed satsteam test cases.

Revision 1042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 04:53:38 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 19077 byte(s)
Diff to previous 1039 , to selected 1118
Added saturated steam routines (taked from IAPWS 'supsat.pdf')
Added test case TestSteam for evaluating iapwssatprops.a4c documented test cases.

Revision 1039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 23:21:20 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 18587 byte(s)
Diff to previous 1037 , to selected 1118
Fixed up some #includes in compiler .[ch] files.
Switched instantiate.c to using 'asc_assert' instead of 'assert'.
Added some missing GPL headers in C++ code.
Silenced some slv3.c debug output.
Switch void-return to int-return in slv9_presolve etc (slv9.c)
Attemping to fix solvernotes.py for the commandline environment (browser==None)
Removed redundant solve(SELF) in thermalequilibrium2.a4c.
Some error reporting from addone_calc (extfntest.c).
Expanded test size in extrelfor.a4c.
Big rearrangement of bboxtest.c for top-down style.
Fixed TestFreesteam.testintegrator, added end-value checks.


Revision 1037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 08:11:55 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17601 byte(s)
Diff to previous 1035 , to selected 1118
Fixed a few more TestBlackBox test cases.

Revision 1035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 07:35:22 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17518 byte(s)
Diff to previous 1034 , to selected 1118
Softened error from bintoken.c
Improved error reporting in instantiate.c
Rearranged #includes in relation_util.[ch]
Changed to asc_assert in relman.c
Lots of fixed in slv3.c to get reporting of 'calc_ok' right.
Also some better error reporting from slv3.c.
Fixed usage info for error_reporter_tree_start().
Improved error/status reporting from bboxtest.c.
Set PyGTK GUI to correctly catch ::solve errors.
Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters)
Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2.
Fixed type.cpp to throw errors when instantiation fails.

Revision 1034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 05:37:55 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17453 byte(s)
Diff to previous 1032 , to selected 1118
Switch 'void slv_*' function to output a 0-on-success error flag.
Added some debug output to ensure that such output gets through.
Fixed TestBlackBox.testfail1 to work, using above changes.
Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)

Revision 1032 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 01:51:38 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 17321 byte(s)
Diff to previous 1028 , to selected 1118
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.

Revision 1028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 13:26:54 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 13519 byte(s)
Diff to previous 1026 , to selected 1118
Added missing dl import in test library (hoping to fix SunOS problem)

Revision 1026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:03:08 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 13407 byte(s)
Diff to previous 1024 , to selected 1118
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.

Revision 1024 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 10:27:43 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 13323 byte(s)
Diff to previous 1022 , to selected 1118
Added extfn and extpy to python test suites.

Revision 1022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 08:37:14 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12657 byte(s)
Diff to previous 1021 , to selected 1118
Relaxed assertions in TestIDADENSE.testdenx

Revision 1021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 07:40:24 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12658 byte(s)
Diff to previous 1018 , to selected 1118
Fixing problem with float evaluation of Instance objects.
Added TestExtFn suite.

Revision 1018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 06:44:39 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12141 byte(s)
Diff to previous 1017 , to selected 1118
Fixing ImportError typo

Revision 1017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 06:40:21 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 12073 byte(s)
Diff to previous 1016 , to selected 1118
Added optional 'freesteam' test.
Fixed GTK+ dependency via TestIDADENSE.testdenx and M.solve(...)

Revision 1016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 05:56:12 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10890 byte(s)
Diff to previous 1009 , to selected 1118
Fixed a silly bug with IDACalcIC.
Disabled all SPGMR tests from the python test suite.
All active tests in the Python tests should now be passing (24 tests currently)

Revision 1009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 12:10:53 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10803 byte(s)
Diff to previous 1008 , to selected 1118
Fixing TestIDA.testdenx test case.
Removing some debug output from ida.c.

Revision 1008 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 11:45:24 2007 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10802 byte(s)
Diff to previous 1003 , to selected 1118
Fixed bug with memory deallocation for partitioner in ida.c
Silenced some debug output in ascSignal.c
Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)

Revision 1003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 02:35:27 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10887 byte(s)
Diff to previous 998 , to selected 1118
Some progress on fixing test_ascSignal.c

Revision 998 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 06:05:48 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10953 byte(s)
Diff to previous 993 , to selected 1118
Fixed some memory leaks in ospath.c and test_ospath.c.

Revision 993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 22 11:03:51 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10933 byte(s)
Diff to previous 992 , to selected 1118
Added Matrix Market export routines (from math.nist.gov).
Added necessary build commands for above.
Work on Jacobi preconditioner for IDA (ongoing)
Set integrator_analye to make a call to slv_block_partition. Not sure if that's a good idea or not.
Tidied up comments in linsol.h
Moved unnecessary #defines from model_reorder.h into model_reorder.c.
Cleaned up codedocs in mtx*.h
Added WITH_MMIO config.h flag.


Revision 992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 13:37:45 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10896 byte(s)
Diff to previous 991 , to selected 1118
Added support for preconditioner in IDA module. Not quite sure what to put inside it yet though.

Revision 991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 10:44:32 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10866 byte(s)
Diff to previous 990 , to selected 1118
Added IDA 'MAXNCF' option.
Added TestIDA.testlotkaDENSE.

Revision 990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 07:12:58 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 10242 byte(s)
Diff to previous 985 , to selected 1118
Added TestIDA.testkryxDENSE which seems to work OK.

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 04:06:02 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 9586 byte(s)
Diff to previous 980 , to selected 1118
Trying to get idakryx example working.
Better reporting of failures from IDACalcIC.

Revision 980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 23:23:50 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 9554 byte(s)
Diff to previous 979 , to selected 1118
Fixed detection of libpython on Windows.
Fixed TestLSODE.testlotka test.py
Removed a sundials_dense.h assertion under windows.

Revision 979 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 14:34:16 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 9574 byte(s)
Diff to previous 976 , to selected 1118
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c.
Fixed var_filter_t stuff in djex and fvex.
More assertions in integrator.c
Added output of initial state from lsode.c (hoping that's a good idea?)
Fixed output code from relman_diff2.
Added asc_panic_nofunc for non var-arg CPPs.
Disabled -O3 flag in building C++ API
Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x)
Integrator::analyse throws exceptions on error now.


Revision 976 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 13:52:51 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8426 byte(s)
Diff to previous 975 , to selected 1118
Improved line/file/func reporting via Asc_Panic, using CPP var-arg macros under GCC.
Added ASC_ASSERT_LT and ASC_ASSERT_EQ assertion macros.
Tracking down a crash in IDA (ongoing).

Revision 975 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 11:49:59 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8414 byte(s)
Diff to previous 974 , to selected 1118
Fixed bug with Compute_J (using NumberRels instead of slv_get_number_solvers_rels).
Added GPL header to sensitivity.c.
Renamed IDA test cases.

Revision 974 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 11:00:57 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8429 byte(s)
Diff to previous 973 , to selected 1118
Fixed 'testcmslv2' test case.
Fixed 'sunpos5' test case.
One can now type 'python test.py TestSolver' and all current tests pass.

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 10:48:38 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8418 byte(s)
Diff to previous 972 , to selected 1118
Fixed the 'repeated test' bug (a static pointer to a destroyed symchar was being used in type.cpp)
Improved error reporting for 'not a refined solver_var' message.
Refactors Library::listModules and Library::getModules to use shared code.
TODO: find a more efficient solution to the static pointer problem above.

Revision 972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 07:55:02 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 8393 byte(s)
Diff to previous 970 , to selected 1118
Fixed a bug with initial time step in IDA (and added a checking asc_assert)
Added switch to turn on and off 'IDACalcIC'.
Changed 'already loaded' ASC_PROG_ERR into ASC_PROG_WARN (so that repeated 'IMPORT' doesn't cause problems)
Removed unnecessary solver tricks from shm.a4c (for easier debugging of Integrator API)
Widened self_test limits in zill.a4c.
Some more debugging in simulation.cpp.
Breaking down test.py into smaller test classes (thinking about moving it to its own directory)

Revision 970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 02:39:54 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 7693 byte(s)
Diff to previous 967 , to selected 1118
Adding missing 'aww.*' files for Art's DAE integrator.
Adding 'maxl' (Maximum Krylov dimension) option to IDA.

Revision 967 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 14 14:14:54 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 7666 byte(s)
Diff to previous 966 , to selected 1118
Moved non-functioning CUnit tests to bottom of python test.py

Revision 966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 14 14:04:54 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 7666 byte(s)
Diff to previous 964 , to selected 1118
Cleaned up code comments in units.h
Fixed a bug with starting timesteps in LSODE (i think)
Added function to output a SampleList to the console (for debugging)
Removed debug output from base/generic/test/SConscript.
Removed 'custom' headers for UnitsM in ascpy.i
Made a sane default ctor for UnitsM
Added some more test cases to the Python unittest suite (still a problem running multiple solver-based tests in a single run)

Revision 964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 14:34:18 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 6702 byte(s)
Diff to previous 963 , to selected 1118
Added a test method to run a integration with one variable (a numerical example from the text by Zill)

Revision 963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 12 13:36:52 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 6314 byte(s)
Diff to previous 962 , to selected 1118
Added ATOLVECT, RTOLVECT parameters to LSODE
Fixed silly bug in testing of newton.a4c
Text changes in ida.c.

Revision 962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:43:02 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 6083 byte(s)
Diff to previous 961 , to selected 1118
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:04:13 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 5600 byte(s)
Diff to previous 956 , to selected 1118
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 15:38:05 2006 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 5127 byte(s)
Diff to previous 952 , to selected 1118
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.

Revision 952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 23:01:50 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 5131 byte(s)
Diff to previous 951 , to selected 1118
Pruned some debug messages from integrator.c, ida.c.
Improved exception messages from SolverParameter class.
Added array access functions to Instanc class (ongoing).
Attempting to run CUnit tests from the Python test suite (not successful, ongoing).
Cleaned up some headers, license notices, doxy docs, etc.
Fixed wrong #include <dmalloc.h> in ascpy.i (thanks Krishnan).

Revision 951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 05:01:49 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 4462 byte(s)
Diff to previous 950 , to selected 1118
Added 'GSMODIFIED' parameter to IDA implementation.
Working on getting the idadenx model to converge using the SPGMR solver.

Revision 950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 26 03:14:02 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3621 byte(s)
Diff to previous 946 , to selected 1118
Completed adding idadenx to test suite.
Restored behaviour of mxstep to IDA.

Revision 946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 15:28:56 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3605 byte(s)
Diff to previous 945 , to selected 1118
Found bug in integrator_analyse_dae... ongoing

Revision 945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 12:41:03 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3605 byte(s)
Diff to previous 944 , to selected 1118
Fixed a bug in slv_param_char.
More work on IDA ongoing.

Revision 944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 10:46:13 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3450 byte(s)
Diff to previous 943 , to selected 1118
Implemented ATOLVECT, ATOL, RTOL parameters for the IDA integrator.

Revision 943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 06:32:51 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 3314 byte(s)
Diff to previous 942 , to selected 1118
Some bugs fixed with SolverParameterIter

Revision 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 05:26:47 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 2900 byte(s)
Diff to previous 941 , to selected 1118
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.

Revision 941 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 10:46:32 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 1976 byte(s)
Diff to previous 940 , to selected 1118
Changed integrator_set_engine to return 0 on success.
Fixed Integrator::setEngine to throw range_error / IndexError on invalid selection.
Test suite contains testIDA that works now (more tests yet to come)

Revision 940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 08:07:33 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 1282 byte(s)
Diff to previous 938 , to selected 1118
Fixed 'testLSODE' in test.py, added 'IntegratorReporterNull' that makes no output (for testing purposes)

Revision 938 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 06:09:46 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 1155 byte(s)
Diff to previous 933 , to selected 1118
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 22:28:00 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 847 byte(s)
Diff to previous 932 , to selected 1118
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py

Revision 932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 874 byte(s)
Diff to previous 931 , to selected 1118
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 457 byte(s)
Diff to previous 930 , to selected 1118
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 13:09:09 2006 UTC (13 years ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 452 byte(s)
Diff to previous 690 , to selected 1118
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.

Revision 690 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 00:48:31 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 273 byte(s)
Diff to previous 689 , to selected 1118
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.

Revision 689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 00:19:54 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 330 byte(s)
Diff to previous 669 , to selected 1118
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jun 21 07:00:45 2006 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/test.py
File length: 138 byte(s)
Diff to selected 1118
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

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