/[ascend]/trunk/base/generic/compiler/importhandler.c
ViewVC logotype

Log of /trunk/base/generic/compiler/importhandler.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 06:03:04 2006 UTC (13 years, 11 months ago) by johnpye
File length: 12845 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 (14 years ago) by johnpye
File length: 12787 byte(s)
Diff to previous 895
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 895 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 00:12:34 2006 UTC (14 years ago) by johnpye
File length: 12775 byte(s)
Diff to previous 888
Removed debug output (modelview.py)
Fixed bug in diagnose.py with large blocks
Removed debug output and improved error message in conopt.c
Removed debug output in lsode.c
Removed debup output in ascDynaload.c

Revision 888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 11 14:53:27 2006 UTC (14 years ago) by johnpye
File length: 12760 byte(s)
Diff to previous 881
Added 'energy_per_volume' and 'power_per_volume' to atoms.a4l.
Converting dsg.a4c into a dynamic (IVP) model.
Removed some debug output from various places.
Renamed some functions in lsode.c (removed references to 'blsode' name)
Added comments in LSODE about what method is being used.
Improved LSODE error output a little bit (why bother tho eh)
Improved coupla error msgs in slv_stdcalls.c.

Revision 881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 9 10:51:06 2006 UTC (14 years ago) by johnpye
File length: 12754 byte(s)
Diff to previous 873
Removed some debug output in importhandler.
Fixed aspect ratio on four bar linkage plot.
Fixed up dsg.a4c for consistency with dsg-transient library.

Revision 873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 14:51:49 2006 UTC (14 years ago) by johnpye
File length: 12724 byte(s)
Diff to previous 869
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.

Revision 869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 14:03:46 2006 UTC (14 years ago) by johnpye
File length: 12744 byte(s)
Diff to previous 866
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 06:22:21 2006 UTC (14 years ago) by johnpye
File length: 11767 byte(s)
Diff to previous 865
Adding polar moment of inertia to atoms.a4l.
Fixing two small windows-related bugs in new importhandler stuff.

Revision 865 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 14:19:17 2006 UTC (14 years ago) by johnpye
File length: 11775 byte(s)
Diff to previous 864
First success at executing python code from inside ASCEND "IMPORT" statement :-)

Revision 864 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 13:39:16 2006 UTC (14 years ago) by johnpye
File length: 11589 byte(s)
Diff to previous 862
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.

Revision 862 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Sep 26 13:47:27 2006 UTC (14 years ago) by johnpye
File length: 5550 byte(s)
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.

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