/[ascend]/trunk/pygtk/instance.cpp
ViewVC logotype

Log of /trunk/pygtk/instance.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 17 12:15:56 2008 UTC (16 years, 5 months ago) by jpye
File length: 18651 byte(s)
Diff to previous 1741
Add setIntValue to Python wrapper for Instance class.
Added getModule method for Type, planned for use with canvas-based modeller.

Revision 1741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 9 12:09:23 2008 UTC (17 years, 2 months ago) by jpye
File length: 18544 byte(s)
Diff to previous 1706
PyGTK GUI shows True for logrel satisfied, False if not.
Removed HTML comments from compiler/logrel*.h.

Revision 1706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 6 05:39:51 2008 UTC (17 years, 3 months ago) by jpye
File length: 18289 byte(s)
Diff to previous 1376
Fixed treatment of wildcard and dimensionless values in PyGTK GUI and UnitsDialog.

Revision 1376 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 06:53:08 2007 UTC (18 years ago) by jpye
File length: 18369 byte(s)
Diff to previous 1362
Fix behaviour for value-not-defined-yet sets in C++ bindings.

Revision 1362 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 13:17:54 2007 UTC (18 years, 1 month ago) by jpye
File length: 18279 byte(s)
Diff to previous 1360
Standardising formatting of 'if' and 'else' in slv9.
Renamed VarStatus to InstanceStatus (so that relation status can also be reported).
Added reporting of inactive-in-a-when relations (using the broken-link icon for the moment).


Revision 1360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 00:33:21 2007 UTC (18 years, 1 month ago) by jpye
File length: 18268 byte(s)
Diff to previous 1355
Added 'more properties' button in 'relation properties' dialog.
Corrected the use of the term 'active' to be 'included' in PyGTK GUI.
Added (basic) support for setting relations included/unincluded in PyGTK GUI.

Revision 1355 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 13:18:01 2007 UTC (18 years, 1 month ago) by jpye
File length: 18163 byte(s)
Diff to previous 1350
Fixed TestSolver failing case (linux only).
Silenced some debug output.

Revision 1350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 08:05:07 2007 UTC (18 years, 1 month ago) by jpye
File length: 18161 byte(s)
Diff to previous 1349
Fixed output of DOT graphs in C++/python interface, added test case.

Revision 1349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 07:26:43 2007 UTC (18 years, 1 month ago) by jpye
File length: 18129 byte(s)
Diff to previous 1347
Fixed DOT graph output (system_write_graph), added very basic test case.

Revision 1347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 06:40:06 2007 UTC (18 years, 1 month ago) by jpye
File length: 18129 byte(s)
Diff to previous 1335
Added routine for outputting system as a DOT graph.
Changed an 'assert' to an 'asc_assert' in logrelation.c.
Changed logical relation in sequence.a4c (was causing a crash).
Added Simulation::write(FILE,char*) for outputting *stuff* from a simulation.

Revision 1335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 02:54:03 2007 UTC (18 years, 1 month ago) by jpye
File length: 18101 byte(s)
Diff to previous 1301
Fixed problem with logrel instances in PyGTK GUI.
Removed faulty INSTALL_DOC directory -- docs just go to INSTALL_ASCDATA for now.

Revision 1301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 05:32:24 2007 UTC (18 years, 2 months ago) by johnpye
File length: 18083 byte(s)
Diff to previous 1300
Ignore NULL children in getChildren (fixes downsteam PyGTK problem just commited)

Revision 1300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 05:22:51 2007 UTC (18 years, 2 months ago) by johnpye
File length: 18032 byte(s)
Diff to previous 1227
Changed default IDA linsolver to 'DENSE'.
Fixed support for NULL child lists in PyGTK GUI (tentatively)

Revision 1227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 00:27:14 2007 UTC (18 years, 3 months ago) by johnpye
File length: 17910 byte(s)
Diff to previous 1210
Header rearrangement for relation_type.h

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 04:25:51 2007 UTC (18 years, 3 months ago) by johnpye
File length: 17946 byte(s)
Diff to previous 1198
Removed unnecessary #include <compiler.h>

Revision 1198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 08:29:32 2007 UTC (18 years, 3 months ago) by johnpye
File length: 17976 byte(s)
Diff to previous 1197
Fixed 'plotbvp' example.
Tried to clean up C++ wrapping wrt default ctors & std::vector in SWIG (not much improvement though)

Revision 1197 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 06:28:14 2007 UTC (18 years, 3 months ago) by johnpye
File length: 17998 byte(s)
Diff to previous 1039
Little bit of work trying to make interface pointers work better. Not much success.

Revision 1039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 23:21:20 2007 UTC (18 years, 3 months ago) by johnpye
File length: 17726 byte(s)
Diff to previous 973
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 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 10:48:38 2006 UTC (18 years, 4 months ago) by johnpye
File length: 17744 byte(s)
Diff to previous 952
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 952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 23:01:50 2006 UTC (18 years, 5 months ago) by johnpye
File length: 17501 byte(s)
Diff to previous 918
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 918 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 4 03:58:06 2006 UTC (18 years, 5 months ago) by johnpye
File length: 16951 byte(s)
Diff to previous 903
Little bit of added debug output

Revision 903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 13:07:12 2006 UTC (18 years, 6 months ago) by johnpye
File length: 16906 byte(s)
Diff to previous 876
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 876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 7 06:55:11 2006 UTC (18 years, 6 months ago) by johnpye
File length: 16893 byte(s)
Diff to previous 844
Slightly simplified access to child instances from python

Revision 844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 11 08:31:21 2006 UTC (18 years, 7 months ago) by johnpye
File length: 16808 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) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 09:08:16 2006 UTC (18 years, 8 months ago) by johnpye
File length: 16417 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) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 07:45:18 2006 UTC (18 years, 8 months ago) by johnpye
File length: 16421 byte(s)
Diff to previous 799
Added reporting of 'included' relations in PyGTK interface.
Minor commenting changes to instquery.h.

Revision 799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 1 00:56:10 2006 UTC (18 years, 9 months ago) by johnpye
File length: 16165 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) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 08:01:48 2006 UTC (18 years, 9 months ago) by johnpye
File length: 16099 byte(s)
Diff to previous 732
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.

Revision 732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 14:40:17 2006 UTC (18 years, 9 months ago) by johnpye
File length: 15917 byte(s)
Diff to previous 709
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 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (18 years, 10 months ago) by johnpye
File length: 15882 byte(s)
Diff to previous 669
Monster commit!
Lots of recommenting and reorganising of external relations-related stuff.
Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros.
Fixed (?) the problem Art is having with icons in PyGTK.
Turned on -Wall in SConstruct and fixed up a stack of warnings.
Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)).
Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7.
Fixed up building of extfntest.c.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 10 months ago) by johnpye
File length: 15817 byte(s)
Diff to previous 569
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 569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 9 00:10:03 2006 UTC (18 years, 11 months ago) by johnpye
File length: 15812 byte(s)
Diff to previous 532
Changing from 'tcltk98' to 'tcltk', in progress.

Revision 532 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 02:23:08 2006 UTC (19 years ago) by johnpye
File length: 15819 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) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 02:04:02 2006 UTC (19 years ago) by johnpye
Original Path: trunk/interface/instance.cpp
File length: 15819 byte(s)
Diff to previous 273
Removing extra subdir level in pygtk path

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

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

Revision 268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 4 06:09:57 2006 UTC (19 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/interface/instance.cpp
File length: 15111 byte(s)
Diff to previous 255
Adding ability to edit upper/lower bounds and nominal values

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

Revision 215 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 02:08:29 2006 UTC (19 years, 3 months ago) by johnpye
Original Path: trunk/pygtk/interface/instance.cpp
File length: 13606 byte(s)
Diff to previous 207
Improved display of relations by adding getRelationAsString(relative_to)

Revision 207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 06:47:06 2006 UTC (19 years, 3 months ago) by johnpye
Original Path: trunk/pygtk/interface/instance.cpp
File length: 13381 byte(s)
Diff to previous 190
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 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (19 years, 3 months ago) by johnpye
Original Path: trunk/pygtk/interface/instance.cpp
File length: 12867 byte(s)
Diff to previous 176
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

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

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

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

Revision 132 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Dec 21 00:14:13 2005 UTC (19 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/interface/instance.cpp
File length: 12494 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