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

Log of /trunk/pygtk/test.py

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 1100)

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 04:06:02 2006 UTC (17 years, 9 months ago) by johnpye
File length: 9586 byte(s)
Diff to previous 980
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 (17 years, 9 months ago) by johnpye
File length: 9554 byte(s)
Diff to previous 979
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 (17 years, 9 months ago) by johnpye
File length: 9574 byte(s)
Diff to previous 976
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 (17 years, 9 months ago) by johnpye
File length: 8426 byte(s)
Diff to previous 975
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 (17 years, 9 months ago) by johnpye
File length: 8414 byte(s)
Diff to previous 974
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 (17 years, 9 months ago) by johnpye
File length: 8429 byte(s)
Diff to previous 973
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 (17 years, 9 months ago) by johnpye
File length: 8418 byte(s)
Diff to previous 972
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 (17 years, 9 months ago) by johnpye
File length: 8393 byte(s)
Diff to previous 970
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 (17 years, 9 months ago) by johnpye
File length: 7693 byte(s)
Diff to previous 967
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 (17 years, 10 months ago) by johnpye
File length: 7666 byte(s)
Diff to previous 966
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 (17 years, 10 months ago) by johnpye
File length: 7666 byte(s)
Diff to previous 964
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 (17 years, 10 months ago) by johnpye
File length: 6702 byte(s)
Diff to previous 963
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 (17 years, 10 months ago) by johnpye
File length: 6314 byte(s)
Diff to previous 962
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 (17 years, 10 months ago) by johnpye
File length: 6083 byte(s)
Diff to previous 961
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 (17 years, 10 months ago) by johnpye
File length: 5600 byte(s)
Diff to previous 956
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 (17 years, 10 months ago) by johnpye
File length: 5127 byte(s)
Diff to previous 952
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 (17 years, 10 months ago) by johnpye
File length: 5131 byte(s)
Diff to previous 951
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 (17 years, 10 months ago) by johnpye
File length: 4462 byte(s)
Diff to previous 950
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 (17 years, 10 months ago) by johnpye
File length: 3621 byte(s)
Diff to previous 946
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 (17 years, 10 months ago) by johnpye
File length: 3605 byte(s)
Diff to previous 945
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 (17 years, 10 months ago) by johnpye
File length: 3605 byte(s)
Diff to previous 944
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 (17 years, 10 months ago) by johnpye
File length: 3450 byte(s)
Diff to previous 943
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 (17 years, 10 months ago) by johnpye
File length: 3314 byte(s)
Diff to previous 942
Some bugs fixed with SolverParameterIter

Revision 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 25 05:26:47 2006 UTC (17 years, 10 months ago) by johnpye
File length: 2900 byte(s)
Diff to previous 941
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 (17 years, 10 months ago) by johnpye
File length: 1976 byte(s)
Diff to previous 940
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 (17 years, 10 months ago) by johnpye
File length: 1282 byte(s)
Diff to previous 938
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 (17 years, 10 months ago) by johnpye
File length: 1155 byte(s)
Diff to previous 933
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 (17 years, 10 months ago) by johnpye
File length: 847 byte(s)
Diff to previous 932
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 (17 years, 10 months ago) by johnpye
File length: 874 byte(s)
Diff to previous 931
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 (17 years, 10 months ago) by johnpye
File length: 457 byte(s)
Diff to previous 930
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 (17 years, 10 months ago) by johnpye
File length: 452 byte(s)
Diff to previous 690
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 (18 years, 3 months ago) by johnpye
File length: 273 byte(s)
Diff to previous 689
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 (18 years, 3 months ago) by johnpye
File length: 330 byte(s)
Diff to previous 669
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 (18 years, 3 months ago) by johnpye
File length: 138 byte(s)
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