/[ascend]/trunk/ascxx/simulation.h
ViewVC logotype

Log of /trunk/ascxx/simulation.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 07:17:24 2010 UTC (13 years, 8 months ago) by jpye
File length: 3442 byte(s)
Copied from: trunk/pygtk/simulation.h revision 2326
Diff to previous 2183
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).

Revision 2183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 13:38:42 2010 UTC (14 years, 4 months ago) by jpye
Original Path: trunk/pygtk/simulation.h
File length: 3442 byte(s)
Diff to previous 2074
Merging slvreq functionality into trunk.

Revision 2074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 4 06:50:08 2009 UTC (15 years ago) by arijit
Original Path: trunk/pygtk/simulation.h
File length: 3318 byte(s)
Diff to previous 2018
Google SoC 2009 Project : Implementation of canvas based modeller for energy systems

Revision 2018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (15 years, 4 months ago) by jpye
Original Path: trunk/pygtk/simulation.h
File length: 3276 byte(s)
Diff to previous 1387
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 1387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 7 14:43:31 2007 UTC (17 years, 5 months ago) by jpye
Original Path: trunk/pygtk/simulation.h
File length: 3262 byte(s)
Diff to previous 1350
Added plot support in Integrator output tabs.
Some other minor debugging for pylab integration and idaanalyse output.

Revision 1350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 08:05:07 2007 UTC (17 years, 6 months ago) by jpye
Original Path: trunk/pygtk/simulation.h
File length: 3222 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 (17 years, 6 months ago) by jpye
Original Path: trunk/pygtk/simulation.h
File length: 3223 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 (17 years, 6 months ago) by jpye
Original Path: trunk/pygtk/simulation.h
File length: 3222 byte(s)
Diff to previous 1316
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 1316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 07:22:21 2007 UTC (17 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3167 byte(s)
Diff to previous 1247
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.

Revision 1247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 00:11:34 2007 UTC (17 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3167 byte(s)
Diff to previous 1198
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).

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

Revision 1145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 12:50:20 2007 UTC (17 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3200 byte(s)
Diff to previous 1133
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.


Revision 1133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 14 11:51:48 2007 UTC (17 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3126 byte(s)
Diff to previous 1126
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

Revision 1126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 13 06:11:02 2007 UTC (17 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3138 byte(s)
Diff to previous 1117
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.

Revision 1117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 11 10:57:24 2007 UTC (17 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3103 byte(s)
Diff to previous 1046
Added ability to show all fixed variables in a model using PyGTK interface.

Revision 1046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 11:15:16 2007 UTC (17 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 3059 byte(s)
Diff to previous 972
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++).

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
Original Path: trunk/pygtk/simulation.h
File length: 3284 byte(s)
Diff to previous 969
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 969 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 00:57:26 2006 UTC (17 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2901 byte(s)
Diff to previous 900
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.

Revision 900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 06:03:04 2006 UTC (17 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2886 byte(s)
Diff to previous 775
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.


Revision 775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 15 07:18:54 2006 UTC (18 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2859 byte(s)
Diff to previous 774
Tidied up headers in slvDOF.h
Added 'show freeable vars' to GUI.
Fixed up the 'check' function a bit. It was doing strange things.

Revision 774 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 08:01:48 2006 UTC (18 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2666 byte(s)
Diff to previous 772
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.

Revision 772 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 06:03:47 2006 UTC (18 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2617 byte(s)
Diff to previous 669
Improved the reporting of structural singularities in PyGTK interface.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 3 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2082 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) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 02:23:08 2006 UTC (18 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/simulation.h
File length: 2056 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 (18 years, 4 months ago) by johnpye
Original Path: trunk/interface/simulation.h
File length: 2056 byte(s)
Diff to previous 480
Removing extra subdir level in pygtk path

Revision 480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 10:45:23 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2056 byte(s)
Diff to previous 393
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.

Revision 393 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 14:46:37 2006 UTC (18 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2036 byte(s)
Diff to previous 337
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.

Revision 337 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 1 00:51:23 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2057 byte(s)
Diff to previous 328
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.

Revision 328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 24 06:05:10 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2481 byte(s)
Diff to previous 317
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.

Revision 317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 23 10:21:17 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2405 byte(s)
Diff to previous 310
Added GUI SolverReporter... you can now watch the residuals shrink, etc.

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

Revision 307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 22 07:48:17 2006 UTC (18 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2332 byte(s)
Diff to previous 295
Added wrapping of slv_status_t (SolverStatus) for bug #138.
Improved 'About...' box.

Revision 295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 16 08:10:24 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2284 byte(s)
Diff to previous 285
Added ability to output structural singularity analysis.

Revision 285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 9 04:21:30 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2210 byte(s)
Diff to previous 283
Colours fixed, zooming works, active block focussed by default.

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

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

Revision 252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 1 06:29:46 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 2112 byte(s)
Diff to previous 237
Implemented editable 'active' row in observer
Move focus of to active row when new row added and observer tab already focussed

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

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

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

Revision 208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 03:19:37 2006 UTC (18 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 1867 byte(s)
Diff to previous 196
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 196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 15:58:23 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 1796 byte(s)
Diff to previous 164
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.

Revision 164 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 3 09:54:43 2006 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 1795 byte(s)
Diff to previous 153
Added wait-cursor during compile/build, started working
on correct destruction of Simulation objects.

Revision 153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 13:53:42 2005 UTC (18 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface/simulation.h
File length: 1901 byte(s)
Diff to previous 132
Fixing bug #178.

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