/[ascend]/trunk/ascxx/type.cpp
ViewVC logotype

Log of /trunk/ascxx/type.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 12:52:47 2010 UTC (9 years, 6 months ago) by jpye
File length: 6504 byte(s)
Diff to previous 2327
Suppressing some console output.
Added test case that current crashes ASCEND/IPOPT with a memory error.
Issue with library.cpp not containing any way to free libascend memory.

Revision 2327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 07:17:24 2010 UTC (9 years, 6 months ago) by jpye
File length: 6502 byte(s)
Copied from: trunk/pygtk/type.cpp revision 2326
Diff to previous 2323
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 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (9 years, 7 months ago) by jpye
Original Path: trunk/pygtk/type.cpp
File length: 6502 byte(s)
Diff to previous 2183
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

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

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

Revision 1960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 17 12:15:56 2008 UTC (11 years, 7 months ago) by jpye
Original Path: trunk/pygtk/type.cpp
File length: 5624 byte(s)
Diff to previous 1727
Add setIntValue to Python wrapper for Instance class.
Added getModule method for Type, planned for use with canvas-based modeller.

Revision 1727 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 15 23:03:20 2008 UTC (12 years, 6 months ago) by jpye
Original Path: trunk/pygtk/type.cpp
File length: 5551 byte(s)
Diff to previous 1699
Updated cavity to current CLFR design Stage 2.
Added 'singletube' model to tubebank.
Improved functionality of the Module view in PyGTK GUI (corrected highlighting of instantiable types, enabled doubleclick expansion of module type list).
Added reporting of inline notes via console output (TODO: incorporate this into the GUI).
Added Type::isModel and corrected Type::hasParameters (C++).

Revision 1699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 5 02:49:48 2008 UTC (12 years, 6 months ago) by jpye
Original Path: trunk/pygtk/type.cpp
File length: 5475 byte(s)
Diff to previous 1600
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.


Revision 1600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 19 06:32:59 2007 UTC (12 years, 10 months ago) by jpye
Original Path: trunk/pygtk/type.cpp
File length: 5076 byte(s)
Diff to previous 1316
Removed some debug output.
Added message for case where no solvers have been loaded.


Revision 1316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 07:22:21 2007 UTC (13 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5070 byte(s)
Diff to previous 1290
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 1290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 26 04:54:45 2007 UTC (13 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5135 byte(s)
Diff to previous 1210
Added new 'default' functionality plus test case

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 04:25:51 2007 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5191 byte(s)
Diff to previous 1183
Removed unnecessary #include <compiler.h>

Revision 1183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 20 09:15:51 2007 UTC (13 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5221 byte(s)
Diff to previous 1046
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.

Revision 1046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 11:15:16 2007 UTC (13 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5497 byte(s)
Diff to previous 1039
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 1039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 23:21:20 2007 UTC (13 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 7396 byte(s)
Diff to previous 1035
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 1035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 07:35:22 2007 UTC (13 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 7392 byte(s)
Diff to previous 973
Softened error from bintoken.c
Improved error reporting in instantiate.c
Rearranged #includes in relation_util.[ch]
Changed to asc_assert in relman.c
Lots of fixed in slv3.c to get reporting of 'calc_ok' right.
Also some better error reporting from slv3.c.
Fixed usage info for error_reporter_tree_start().
Improved error/status reporting from bboxtest.c.
Set PyGTK GUI to correctly catch ::solve errors.
Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters)
Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2.
Fixed type.cpp to throw errors when instantiation fails.

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 10:48:38 2006 UTC (13 years, 6 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6879 byte(s)
Diff to previous 932
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 932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6913 byte(s)
Diff to previous 912
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 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6794 byte(s)
Diff to previous 900
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment)
Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed.
Implemented the destroy fn through to 'extpy' module.
Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs.
Moved 'solvernotes' to a file of its own (was part of listnotes.py)
Added 'repaint' to GTK 'tools' menu (for debugging)
Added 'python.h' to top of library, type files (pygtk) to stop silly warnings.
Working on some diagnosing of problems as noted in Simulation::checkInstance.
Removed some old comments from namio.h and others.
Renamed 'blsys' to 'sys' in integrator.c.
Some work on fixing up the J*v function for IDA (not yet complete).
Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.

Revision 900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 06:03:04 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6773 byte(s)
Diff to previous 897
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 897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 11:05:18 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6247 byte(s)
Diff to previous 770
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 770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 03:35:16 2006 UTC (14 years ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6255 byte(s)
Diff to previous 712
Added 'use relation sharing' option to the PyGTK GUI.
Changed some debug output calls.
Tidied up headers in anoncopy, anonmerg, etc.

Revision 712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 05:18:56 2006 UTC (14 years ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6052 byte(s)
Diff to previous 709
Implemented 'instance_getname' that should return a stringified
version of an enum inst_t (Instance::t).
Some other small -Wall fixes.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (14 years ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 6054 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 (14 years ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5773 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 (14 years, 2 months ago) by johnpye
Original Path: trunk/pygtk/type.cpp
File length: 5783 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 (14 years, 2 months ago) by johnpye
Original Path: trunk/interface/type.cpp
File length: 5783 byte(s)
Diff to previous 393
Removing extra subdir level in pygtk path

Revision 393 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 14:46:37 2006 UTC (14 years, 3 months ago) by johnpye
Original Path: trunk/pygtk/interface/type.cpp
File length: 5783 byte(s)
Diff to previous 355
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 355 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 6 03:11:28 2006 UTC (14 years, 4 months ago) by johnpye
Original Path: trunk/pygtk/interface/type.cpp
File length: 5313 byte(s)
Diff to previous 268
In PyGTK 'modules' list, you can now see non-parameterised types in bold.

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

Revision 264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 04:26:04 2006 UTC (14 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/type.cpp
File length: 5027 byte(s)
Diff to previous 223
Deactivated bintokens. Need to implement a GUI on/off switch for this

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

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