/[ascend]/trunk/pygtk/ascpy.i
ViewVC logotype

Log of /trunk/pygtk/ascpy.i

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 966 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 14 14:04:54 2006 UTC (13 years, 10 months ago) by johnpye
File length: 12317 byte(s)
Diff to previous 952
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 952 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 28 23:01:50 2006 UTC (13 years, 11 months ago) by johnpye
File length: 12441 byte(s)
Diff to previous 938
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 938 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 24 06:09:46 2006 UTC (13 years, 11 months ago) by johnpye
File length: 12302 byte(s)
Diff to previous 932
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 932 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (13 years, 11 months ago) by johnpye
File length: 12280 byte(s)
Diff to previous 903
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 903 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 25 13:07:12 2006 UTC (14 years ago) by johnpye
File length: 12550 byte(s)
Diff to previous 897
Some success with IDA: fixed up the indexing dilemma and was able to
integrate 'johnpye/thermalequilibrium.a4c' for a short time span (but
through to 3000 s as with LSODE). I would blame lack of jacobian routine
in the first instance.

Added 'more properties' button in Properties dialog for a variable, to allow
values of ode_id, ode_type etc to be queried (but not changed).


Revision 897 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 24 11:05:18 2006 UTC (14 years ago) by johnpye
File length: 12533 byte(s)
Diff to previous 893
Adding 'NOTES' support to C++ interface. 'johnpye/thermalequilibrium2.a4c' is the example case.
listnotes.py performs listing via a python external script method.
annotation.h and annotation.cpp implement the C++ wrapper referenced by SWIG.
library.{h,cpp} modified to provide access to the AnnotationDatabase.
Typemapping modified in ascpy.i in attempt to get a more maintainable wrapping.
Added annotation.cpp to build.
Updated copyright header and formatting of notate.{c,h}.
Improved ErrMsg_BracesEOF error message fn.
Updated copyright header and formatting of braced.{c,h}
Some misc debug output removed esp in simulation.cpp, conopt.c, importhandler.c.


Revision 893 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 22 05:18:36 2006 UTC (14 years ago) by johnpye
File length: 12661 byte(s)
Diff to previous 877
Better plot points in moody diagram model.
Attempt to get rid of some compiler warnings in extmethod.
Better handling of LD_LIBRARY_PATH and ASCENDLIBRARY in ascdev.
Changed default documentation path (to avoid warnings, seems like a scons bug?)

Revision 877 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 7 09:31:51 2006 UTC (14 years ago) by johnpye
File length: 12808 byte(s)
Diff to previous 876
Added example of external scripting to the model 'fourbarplot.py'.
Allows plotting of the status of the four bar linkage.
TODO: test in the Tcl/Tk environment

Revision 876 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 7 06:55:11 2006 UTC (14 years ago) by johnpye
File length: 12575 byte(s)
Diff to previous 875
Slightly simplified access to child instances from python

Revision 875 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 7 06:26:34 2006 UTC (14 years ago) by johnpye
File length: 12489 byte(s)
Diff to previous 871
Can now access the ASCEND model from an external python script method. The API is not at all nice, but it's basically working now.

Revision 871 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 5 09:30:08 2006 UTC (14 years ago) by johnpye
File length: 12316 byte(s)
Diff to previous 869
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)

Revision 869 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 4 14:03:46 2006 UTC (14 years ago) by johnpye
File length: 12277 byte(s)
Diff to previous 844
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 844 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 11 08:31:21 2006 UTC (14 years, 1 month ago) by johnpye
File length: 12176 byte(s)
Diff to previous 808
Bumped version to 0.9.5.98.
Added support for 'setSymbolValue' from C++ interface, and allow symbol variables to be edited via the PyGTK GUI.
Added some limited data about structural analysis of beams in johnpye/aiscbeams.a4c.
Updated johnpye/beam4.a4c to use this data.
Added some currency conversions to measure.a4l.
Added some units related to Mechanics of Solids to atoms.a4l.

Revision 808 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 4 09:08:16 2006 UTC (14 years, 2 months ago) by johnpye
File length: 12134 byte(s)
Diff to previous 806
Some debug output in cond_config.
Working on adding PyGTK GUI functionality to show inactive relaitons.

Revision 806 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 4 07:45:18 2006 UTC (14 years, 2 months ago) by johnpye
File length: 12136 byte(s)
Diff to previous 799
Added reporting of 'included' relations in PyGTK interface.
Minor commenting changes to instquery.h.

Revision 799 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 1 00:56:10 2006 UTC (14 years, 3 months ago) by johnpye
File length: 12104 byte(s)
Diff to previous 774
Corrected syntax in testcmslv.
Changed instance.cpp so that residuals are not called for logrels.
Added CONOPT_BOUNDLIMIT to both slv8 and slv9.
Changed limits for colsta in slv9 (needs checking)

Revision 774 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 14 08:01:48 2006 UTC (14 years, 3 months ago) by johnpye
File length: 12065 byte(s)
Diff to previous 770
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.

Revision 770 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 14 03:35:16 2006 UTC (14 years, 3 months ago) by johnpye
File length: 12035 byte(s)
Diff to previous 735
Added 'use relation sharing' option to the PyGTK GUI.
Changed some debug output calls.
Tidied up headers in anoncopy, anonmerg, etc.

Revision 735 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 5 02:42:19 2006 UTC (14 years, 3 months ago) by johnpye
File length: 11892 byte(s)
Diff to previous 732
Improved implementation of 'diagnose' window in PyGTK interface.
You can now view solver-side details about variables and relations, see the '(i)' icons.

Revision 732 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 4 14:40:17 2006 UTC (14 years, 3 months ago) by johnpye
File length: 11990 byte(s)
Diff to previous 669
Added general-purpose text-information dialog to PyGTK interface.
Added reporting of clique of a variable to PyGTK GUI.
Changed 'fixable' and 'new bounds' to use the new dialog.
Removed 'set<...>' from ascpy.i (it wasn't working), changed to vector<...>.
Exported a couple of var incidences fns to the DLL/SO.

Revision 669 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (14 years, 4 months ago) by johnpye
File length: 12073 byte(s)
Diff to previous 532
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.

Revision 532 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 24 02:23:08 2006 UTC (14 years, 6 months ago) by johnpye
File length: 11994 byte(s)
Diff to previous 531
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.

Revision 531 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 24 02:04:02 2006 UTC (14 years, 6 months ago) by johnpye
Original Path: trunk/interface/ascpy.i
File length: 11994 byte(s)
Diff to previous 529
Removing extra subdir level in pygtk path

Revision 529 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 22 06:26:23 2006 UTC (14 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascpy.i
File length: 11994 byte(s)
Diff to previous 481
Working of debugging the mysterious PyGTK bug. Seems to be coming from a wrong
char *filename in an error_reporter call from the DEBUG_RELS sections of the
compiler code.
Also renamed the WSEM and WSNM macros for clarity, removed unused file pointer.

Revision 481 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 11:10:29 2006 UTC (14 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascpy.i
File length: 11994 byte(s)
Diff to previous 476
Fixed the windows crash problem. Actually looks like it was a bug 
with some hot-off-the-press SWIG features.

Revision 476 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 07:06:45 2006 UTC (14 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascpy.i
File length: 12044 byte(s)
Diff to previous 463
Added some INSTALL notes relating to building windows installer.
Added some optimisations to the SWIG build to reduce target file size.
Fixed bug with WITH_INSTALLER=1 flag.

Revision 463 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 16 10:18:16 2006 UTC (14 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascpy.i
File length: 12012 byte(s)
Copied from: trunk/pygtk/interface/ascend.i revision 462
Diff to previous 355
Converting to the new shared-object configuration (on email discussion with Ben)
First stage: PyGTK interface on windows. More to come.

Revision 355 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 6 03:11:28 2006 UTC (14 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 12013 byte(s)
Diff to previous 341
In PyGTK 'modules' list, you can now see non-parameterised types in bold.

Revision 341 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 1 05:25:23 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11978 byte(s)
Diff to previous 340
Added support for default ASCENDLIBRARY value specified in the configure.in script.
This value used in Library(string defaultpath) and and is also passed to ASCEND by
gtkbrowser.py. Getting and setting of environment variables seems pretty messy
but hopefully this will work for now.

Revision 340 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 1 03:41:35 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11957 byte(s)
Diff to previous 336
Fixed SWIG error
Fixed selftest.py to work with new SolverReporter

Revision 336 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 28 11:39:08 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11945 byte(s)
Diff to previous 332
Fixing SWIG modifications

Revision 332 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 28 04:39:00 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11963 byte(s)
Diff to previous 319
These changes fix compilation 'make libs' on MinGW.

I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.

Revision 319 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 23 12:30:40 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11957 byte(s)
Diff to previous 310
Fixed a bug with the diagnose window after a successful solve
Added preference: SolverReporter:close_on_converged

Revision 310 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 23 03:48:56 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11879 byte(s)
Diff to previous 307
Fixed the SolveReporter functionality so that it works from Python

Revision 307 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 22 07:48:17 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11838 byte(s)
Diff to previous 283
Added wrapping of slv_status_t (SolverStatus) for bug #138.
Improved 'About...' box.

Revision 283 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 8 15:30:50 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11812 byte(s)
Diff to previous 280
This is the initial working 'block diagnose' functionality.

Revision 280 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 8 08:31:56 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11773 byte(s)
Diff to previous 278
Some work on adding the 'block diagnosis' window

Revision 278 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 23:52:30 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11724 byte(s)
Diff to previous 273
Removed reference to libf2c (I think this was required only on FC3)
Updated use of SWIG 'typemap' syntax in ascend.i
Corrected C++ code for FC5 (art's error msg)
Fixed minor but with uninstantiated models in PyGTK GUI

Revision 273 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 5 06:44:06 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11730 byte(s)
Diff to previous 271
Added reporting of relations and residuals via GUI

Revision 271 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 4 09:08:54 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11661 byte(s)
Diff to previous 268
Working on adding support for listing cliques

Revision 268 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 4 06:09:57 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11517 byte(s)
Diff to previous 258
Adding ability to edit upper/lower bounds and nominal values

Revision 258 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 2 14:50:05 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11298 byte(s)
Diff to previous 255
Made it so that fixed variables never get an icon.

Revision 255 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 2 14:02:23 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11281 byte(s)
Diff to previous 254
Adding preliminary support for showing variable solve-status in browser view

Revision 254 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 2 06:27:17 2006 UTC (14 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11129 byte(s)
Diff to previous 238
Added reporting of unconverged variables to the console

Revision 238 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 30 06:41:10 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11502 byte(s)
Diff to previous 237
Added reporting of relation name to console onmouseover of incidence matrix

Revision 237 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 30 06:10:26 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11289 byte(s)
Diff to previous 233
Incidence matrix now reports the mouseover-ed variable on the console

Revision 233 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 29 16:55:27 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11263 byte(s)
Diff to previous 225
Something resembling an incidence matrix returned via SWIG...

Revision 225 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 27 14:55:43 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11206 byte(s)
Diff to previous 223
Added const-ness to 2nd parameter of slv_set_char_parameter.
Implemented setting of int, real and string parameters via PyGTK interface.

Revision 223 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 27 08:18:43 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11553 byte(s)
Diff to previous 221
Some progress on editable solver parameters

Revision 221 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 27 03:05:38 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11446 byte(s)
Diff to previous 215
Added ability to examine solver parameters via python

Revision 215 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 25 02:08:29 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11690 byte(s)
Diff to previous 212
Improved display of relations by adding getRelationAsString(relative_to)

Revision 212 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 24 13:20:47 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11616 byte(s)
Diff to previous 208
Changing nomenclature from ExtFn to ExtMethod

Revision 208 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 24 03:19:37 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11584 byte(s)
Diff to previous 207
Added menu bar at top of PyGTK interface.
'Preferences' menu currently just outputs the number of
solver parameters in use. Plan is to allow the parameters
to be viewed and edited via the GUI.

Revision 207 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 23 06:47:06 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11395 byte(s)
Diff to previous 176
Added ability to output expressions from PyGTK interface. Expressions are
output to the console using WriteRelationString. You must right-click on
a relation an hit 'properties'.

Revision 176 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 10 06:22:23 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11297 byte(s)
Diff to previous 175
Completed PyGTK plotting using matplotlib

Revision 175 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 10 04:27:34 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 11648 byte(s)
Diff to previous 172
More work on adding plotting capability under PyGTK

Revision 172 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 7 10:06:13 2006 UTC (14 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 10999 byte(s)
Diff to previous 150
Storing of window size and position in .ascend.ini
Starting to implement plotting functions.

Revision 150 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 22 09:24:56 2005 UTC (14 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 10966 byte(s)
Diff to previous 132
Committed changes to C++ solver class to accommodate new slv_lookup_client.
Still seeing bug #178 though.

Revision 132 - (view) (download) (annotate) - [select for diffs]
Added Wed Dec 21 00:14:13 2005 UTC (14 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface/ascend.i
File length: 10959 byte(s)
Adding the PyGTK interface to CMU repository. Whaddyareckon?

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