Parent Directory | Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Fixed OSPATH typo Other minor doc changes.
Working on what the problem is with 'on_load' methods in the C++/Python code. Seems that 'EXTERNAL solve(SELF);' puts the model into a state which 'works' but if that's not done first, then that set values in the model don't work correctly...
In instantiate.c, made new blackbox code tolerant of blackboxes that don't need initialisation. Removed some debug output. Expanded 'extfntest.py' a little bit, for ease of testing. Converted 'blackbox is experimental' warnings to one-time-only. Minor change to way that webbrowser is invoked under linux.
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).
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.
Added 'solver notes' to thermalequilibrium.a4c. Added 'setup_solver' method in listnotes.py Added 'getLanguage' to Annotation class Added 'paramname' to SolverParameters popup in PyGTK Fixed up some commenting in notate.c Turned on warning about ignored notes in ascParse.y
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.
This model uses the freesteam library to perform something similar to the 'thermalequilibrium.a4c' model, except that there is a phase change taking place in S[1] in this model as the heat is transferred.
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 |