Parent Directory | Revision Log
Links to HEAD: | (view) (download) (annotate) |
Sticky Revision: |
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'. Adding support for IPOPT 3.9.1, the current latest version. Support in dtar for parallel builds (possibly needs some testing still).
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.
Fixes bug 276.
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Add setIntValue to Python wrapper for Instance class. Added getModule method for Type, planned for use with canvas-based modeller.
Changed Instance::as to Instance::to in PyGTK interface, for compatibility with Python 2.5 ('as' is a reserved word).
Removed a whole lot of debug output from various places.
PyGTK GUI shows True for logrel satisfied, False if not. Removed HTML comments from compiler/logrel*.h.
Fixed treatment of wildcard and dimensionless values in PyGTK GUI and UnitsDialog.
Fixing treatement of dimensionless types.
Completed implementation of UnitsDialog (PyGTK). Fixed 'response' behaviour for PopupSolverReporter (PyGTK). Reinstated getFraction{Numer,Denomin}ator (SWIG). Added UnitsM::operator== (C++). Fixed some 'u == None' comparisons in Python. Removed some debug output from dimensions.cpp (C++). Added const qualifiers in CmpPtrs and CmpRealPtrs. Removed guff from doc-comments in cmpfunc.h. Removed library.i (not used) (SWIG).
Added operator< to SymChar class (C++). Added toString method to Dimensions class (C++). Fixed close-button behaviour in Solver Reporter dialog (Python). Added Library::getUnits to get list of all units of measurement in use (C++). Added Library::getRealAtomTypes to get list of all real atomic types (C++). Removed duplicated class definition for Dimensions in ascpy.i (C++). Added __str__ to Python wrapping of Dimensions type. Started working on populating data fields in UnitsDialog (Python). Default constructor for Dimensions object now creates 'wildcard' dimension. Cleared contents of library.i (should delete it actually). Added Type::isFundamental (C++). Tidied find.h formatting, #includes.
Refactored 'moduleview' stuff out of gtkbrowser.py. Fixed headers of childio.h (added #include "child.h") Fixed line-up of incidence matrix and axis tickmarks. Module list is now sorted in library.cpp. Added some docstrings in ascpy.i.
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).
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.
Fixed DOT graph output (system_write_graph), added very basic test case.
Implemented the DAE partitioning routine but am nowing tracking down a fiendish memory crash.
Fixed 'plotbvp' example. Tried to clean up C++ wrapping wrt default ctors & std::vector in SWIG (not much improvement though)
Added test case for dsgsat2.a4c to date
Added Instance.as(units) method to Python bindings (bug #302)
simplified slv_check_bounds call.
Fixing problem with float evaluation of Instance objects. Added TestExtFn suite.
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.
Added placeholder for a C version of Art's DAE solver (named 'AWW') Added support for SPBCG and SPTFQMR Krylov solvers in IDA. Attempted separation of ascpy.i and solver.i (ongoing) Fixed an error message in typedef.c Fixed typo in ivpStepN.tcl Added correctly hidden Simulation() ctor.
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)
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).
Added support for dmalloc (http://dmalloc.com) Added Integrator::setEngine(string name) Minor other stuff.
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)
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).
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.
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?)
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
Slightly simplified access to child instances from python
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.
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)
'hello world' works from external python module, correctly hooks into 'browser' object.
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.
Some debug output in cond_config. Working on adding PyGTK GUI functionality to show inactive relaitons.
Added reporting of 'included' relations in PyGTK interface. Minor commenting changes to instquery.h.
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)
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.
Added 'use relation sharing' option to the PyGTK GUI. Changed some debug output calls. Tidied up headers in anoncopy, anonmerg, etc.
Improved implementation of 'diagnose' window in PyGTK interface. You can now view solver-side details about variables and relations, see the '(i)' icons.
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.
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.
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level) Made corresponding changes to SCons* and spec files.
Removing extra subdir level in pygtk path
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.
Fixed the windows crash problem. Actually looks like it was a bug with some hot-off-the-press SWIG features.
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.
Converting to the new shared-object configuration (on email discussion with Ben) First stage: PyGTK interface on windows. More to come.
In PyGTK 'modules' list, you can now see non-parameterised types in bold.
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.
Fixed SWIG error Fixed selftest.py to work with new SolverReporter
Fixing SWIG modifications
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.
Fixed a bug with the diagnose window after a successful solve Added preference: SolverReporter:close_on_converged
Fixed the SolveReporter functionality so that it works from Python
Added wrapping of slv_status_t (SolverStatus) for bug #138. Improved 'About...' box.
This is the initial working 'block diagnose' functionality.
Some work on adding the 'block diagnosis' window
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
Added reporting of relations and residuals via GUI
Working on adding support for listing cliques
Adding ability to edit upper/lower bounds and nominal values
Made it so that fixed variables never get an icon.
Adding preliminary support for showing variable solve-status in browser view
Added reporting of unconverged variables to the console
Added reporting of relation name to console onmouseover of incidence matrix
Incidence matrix now reports the mouseover-ed variable on the console
Something resembling an incidence matrix returned via SWIG...
Added const-ness to 2nd parameter of slv_set_char_parameter. Implemented setting of int, real and string parameters via PyGTK interface.
Some progress on editable solver parameters
Added ability to examine solver parameters via python
Improved display of relations by adding getRelationAsString(relative_to)
Changing nomenclature from ExtFn to ExtMethod
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.
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'.
Completed PyGTK plotting using matplotlib
More work on adding plotting capability under PyGTK
Storing of window size and position in .ascend.ini Starting to implement plotting functions.
Committed changes to C++ solver class to accommodate new slv_lookup_client. Still seeing bug #178 though.
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.
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |