Parent Directory | Revision Log
Links to HEAD: | (view) (download) (as text) (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).
Merging slvreq functionality into trunk.
Google SoC 2009 Project : Implementation of canvas based modeller for energy systems
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Added plot support in Integrator output tabs. Some other minor debugging for pylab integration and idaanalyse output.
Fixed output of DOT graphs in C++/python interface, added test case.
Fixed DOT graph output (system_write_graph), added very basic test case.
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.
Another one of these big refactorings. Split out 'system' directory from 'solver' directory. This will need more work but it's a start at getting the non-solver-specific code out separately.
Added 'hires.a4c' test model. Split slv_system_structure out of slv.c and into system_impl.h. Changed void* diffvars pointer in slv_system_structure to a typed pointer. Moved SolverDiffVarCollectionStruct into system_impl.h. Renamed slv_system_structure to just system_structure (in anticipation of a 'system' module separate from the actual solvers).
Fixed 'plotbvp' example. Tried to clean up C++ wrapping wrt default ctors & std::vector in SWIG (not much improvement though)
Added support for slv_far_from_nominals in C++/Python layer. Converted 'child not found' from error to CONSOLE_DEBUG message. Added some nominal values in iapwssatprops.a4c. Added getRealPref in preferences.py.
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
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.
Added ability to show all fixed variables in a model using PyGTK interface.
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++).
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)
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.
The 'sim' object is correctly accessible from script methods now, even if run during on_load. Added 'getSimulation' to registry.cpp, added 'runDefaultMethod' to Simulation, added 'getMethod' to Type. Running of 'on_load' is instigated at the Python level now, so that relevent python variables are set at simulations are built, etc. This appears to have cause some changes to the way the solver behaves, possibly. Added SearchProcList to exports in libascend.
Tidied up headers in slvDOF.h Added 'show freeable vars' to GUI. Fixed up the 'check' function a bit. It was doing strange things.
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.
Improved the reporting of structural singularities in PyGTK interface.
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
Adding ASC_DLLSPEC to all functions that are being used by Python interface. Also cleaned up some #ifdef header brackets and html-style comments inside doxygen comments. Renamed pygtk/interface/config.in to pygtk/interface/config.h.in and made this active again (for ASC_BUILDING_INTERFACE) use. Trying to catch error in ascpy.Library call with try/except, doesn't work though.
Fixed SCons build to do output of config file 'config.py' require by PyGTK GUI. Removed requirement for 'config.h' from the C++ file and instead supplied required flags via compiler commandline.
Something is starting to run on MinGW now. GUI loads and ascend DLL is opened. This revision still breaks the linux and Tcl/Tk builds, I expect. Also added some smarts to the 'help...contents' menu for loading offline/online help files.
Added ability to output variables at bounds (currently just to the console). Changed solver parameters window into a proper 'dialog'. Various fixes to make dialogs focus and position correctly.
Added GUI SolverReporter... you can now watch the residuals shrink, etc.
Fixed the SolveReporter functionality so that it works from Python
Added wrapping of slv_status_t (SolverStatus) for bug #138. Improved 'About...' box.
Added ability to output structural singularity analysis.
Colours fixed, zooming works, active block focussed by default.
This is the initial working 'block diagnose' functionality.
Adding preliminary support for showing variable solve-status in browser view
Implemented editable 'active' row in observer Move focus of to active row when new row added and observer tab already focussed
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.
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.
Improved status reporting for solvers. When a solver is going slowly, you'll get a fair bit of output. If it's going fast there shouldn't be much input at all. Todo: use some kind of callback technique to get this information back to the GUI.
Added wait-cursor during compile/build, started working on correct destruction of Simulation objects.
Fixing bug #178.
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 |