/[ascend]/trunk/base/generic
ViewVC logotype

Log of /trunk/base/generic

View Directory Listing Directory Listing


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

Revision 1387 - Directory Listing
Modified Sat Apr 7 14:43:31 2007 UTC (17 years, 6 months ago) by jpye
Added plot support in Integrator output tabs.
Some other minor debugging for pylab integration and idaanalyse output.

Revision 1380 - Directory Listing
Modified Fri Apr 6 04:07:32 2007 UTC (17 years, 6 months ago) by jpye
Fixed build problem on MinGW GCC 3.4.2
Fixed problem with font in IPython console on Windows
Some attempts to fix problems with FILE* support in Python bindings
gfortran is now the preferred FORTRAN compiler.
Comment out failing FILE* tests for the moment.

Revision 1378 - Directory Listing
Modified Thu Apr 5 14:10:43 2007 UTC (17 years, 6 months ago) by jpye
Silence debug messages

Revision 1374 - Directory Listing
Modified Sat Mar 31 02:41:26 2007 UTC (17 years, 6 months ago) by jpye
Added support for brent solver in EXTERNAL method

Revision 1372 - Directory Listing
Modified Fri Mar 30 11:01:20 2007 UTC (17 years, 6 months ago) by jpye
Added some tests that pick up two bugs in the current implementation of default_self

Revision 1362 - Directory Listing
Modified Tue Mar 27 13:17:54 2007 UTC (17 years, 6 months ago) by jpye
Standardising formatting of 'if' and 'else' in slv9.
Renamed VarStatus to InstanceStatus (so that relation status can also be reported).
Added reporting of inactive-in-a-when relations (using the broken-link icon for the moment).


Revision 1359 - Directory Listing
Modified Tue Mar 27 00:32:07 2007 UTC (17 years, 6 months ago) by jpye
Removed various debug output

Revision 1355 - Directory Listing
Modified Mon Mar 19 13:18:01 2007 UTC (17 years, 7 months ago) by jpye
Fixed TestSolver failing case (linux only).
Silenced some debug output.

Revision 1354 - Directory Listing
Modified Mon Mar 19 02:06:01 2007 UTC (17 years, 7 months ago) by jpye
Fixed 'do_check' in PyGTK GUI.
Added black box direct solve, experimental.

Revision 1353 - Directory Listing
Modified Sun Mar 18 01:48:40 2007 UTC (17 years, 7 months ago) by jpye
Removed some redundant #include statments.
Added some explanation of testtmy.a4c (although currently broken with IDA).


Revision 1351 - Directory Listing
Modified Wed Mar 14 07:48:27 2007 UTC (17 years, 7 months ago) by jpye
Added test for write('graph'). Added couple of items to syntax definition. Updated GPL notice in some core model files.

Revision 1349 - Directory Listing
Modified Tue Mar 13 07:26:43 2007 UTC (17 years, 7 months ago) by jpye
Fixed DOT graph output (system_write_graph), added very basic test case.

Revision 1348 - Directory Listing
Modified Tue Mar 13 06:53:59 2007 UTC (17 years, 7 months ago) by jpye
Fixed silly error in logrelation.c from June 2006 :-)
Added regression test.

Revision 1347 - Directory Listing
Modified Tue Mar 13 06:40:06 2007 UTC (17 years, 7 months ago) by jpye
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 1343 - Directory Listing
Modified Sun Mar 11 14:12:34 2007 UTC (17 years, 7 months ago) by jpye
Normalised 'else' formatting

Revision 1341 - Directory Listing
Modified Sun Mar 11 13:47:33 2007 UTC (17 years, 7 months ago) by jpye
Added a test case for the simplest-possible logical relation solve.
Tolerate lack of bb->block in Simulation::processVarStatus.
Fixed a bug in analyze.c in case of pure-logical system.

Revision 1340 - Directory Listing
Modified Sun Mar 11 05:38:54 2007 UTC (17 years, 7 months ago) by jpye
Removed debug output

Revision 1339 - Directory Listing
Modified Sat Mar 10 13:57:01 2007 UTC (17 years, 7 months ago) by jpye
Removed ASC_IDA_NEW_ANALYSE condition from the codebase.
Cleaned up some debug output.

Revision 1338 - Directory Listing
Modified Sat Mar 10 12:35:56 2007 UTC (17 years, 7 months ago) by jpye
REmoving some debug info

Revision 1337 - Directory Listing
Modified Sat Mar 10 12:33:15 2007 UTC (17 years, 7 months ago) by jpye
Added support for detection of boundary crossing in the IDA integrator.
Cleared up some code comments and formatting.

Revision 1335 - Directory Listing
Modified Fri Mar 9 02:54:03 2007 UTC (17 years, 7 months ago) by jpye
Fixed problem with logrel instances in PyGTK GUI.
Removed faulty INSTALL_DOC directory -- docs just go to INSTALL_ASCDATA for now.

Revision 1334 - Directory Listing
Modified Thu Mar 8 10:51:02 2007 UTC (17 years, 7 months ago) by jpye
Hopefully fixed problem of missing test file where UFSPARSE not available

Revision 1332 - Directory Listing
Modified Thu Mar 8 06:39:30 2007 UTC (17 years, 7 months ago) by jpye
Removed some debug output

Revision 1331 - Directory Listing
Modified Thu Mar 8 06:03:43 2007 UTC (17 years, 7 months ago) by jpye
Reverted shm.a4c.
Added shmroots.a4c which displays the two complex roots of the SHM system using the extpy 'roots' module.

Revision 1327 - Directory Listing
Modified Thu Mar 8 02:45:16 2007 UTC (17 years, 7 months ago) by jpye
Fixed mtx_write_region_mmio for non-square regions, offset so that indices always
start at 1 in the output, regardless of the original location of the region.

Revision 1326 - Directory Listing
Modified Wed Mar 7 06:51:45 2007 UTC (17 years, 7 months ago) by jpye
Added bindings to UFSPARSE sparse matrix library, which provides matrix algebra operations via the CXSparse library which it includes.
Tested with the UFSPARSE that comes with Ubuntu 6.10.
Added simple test case (no validation)

Revision 1325 - Directory Listing
Modified Wed Mar 7 02:27:49 2007 UTC (17 years, 7 months ago) by jpye
Split linsolqr.c into smaller files (as directed in code comments for '#include "plainqr.c"', etc)

Revision 1324 - Directory Listing
Modified Tue Mar 6 14:40:02 2007 UTC (17 years, 7 months ago) by jpye
Fixed integrator_ida_check_index. More tests still required.

Revision 1323 - Directory Listing
Modified Tue Mar 6 13:40:44 2007 UTC (17 years, 7 months ago) by jpye
Test case to assure that linsol_rank works correctly for 1x1, 2x2 and 3x3 mtxs.

Revision 1322 - Directory Listing
Modified Tue Mar 6 13:32:00 2007 UTC (17 years, 7 months ago) by jpye
Cleaning up of commenting in linsolqr

Revision 1321 - Directory Listing
Modified Tue Mar 6 12:23:24 2007 UTC (17 years, 7 months ago) by jpye
As promised, also deleted comment about how good linsol made us look

Revision 1320 - Directory Listing
Modified Tue Mar 6 12:15:21 2007 UTC (17 years, 7 months ago) by jpye
Eliminated linsol, slv0 and slv1: moved the original files to 'disused' and editing out
all reference to them in solvers and related code (including some Tcl/Tk wrapper code)

Revision 1319 - Directory Listing
Modified Tue Mar 6 00:22:28 2007 UTC (17 years, 7 months ago) by jpye
Added test suite for linsolqr (very early days still) for checking by Ben

Revision 1317 - Directory Listing
Modified Mon Mar 5 14:11:37 2007 UTC (17 years, 7 months ago) by johnpye
Added new 'system_jacobian' function for use by IDA (maybe elsewhere?)
Refactored the matrix output stuff in IDA.
Fixed the index checking in idaanalyse
Still a problem with checking rank of small matrices.

Revision 1316 - Directory Listing
Modified Mon Mar 5 07:22:21 2007 UTC (17 years, 7 months ago) by johnpye
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 1315 - Directory Listing
Modified Mon Mar 5 06:04:15 2007 UTC (17 years, 7 months ago) by johnpye
Adding flagging of differential variables (those which have derivatives) via var.h.

Revision 1314 - Directory Listing
Modified Mon Mar 5 05:17:33 2007 UTC (17 years, 7 months ago) by johnpye
Fixed problem with ospath_getparent() when path is just a relative dir, eg 'bin'.

Revision 1311 - Directory Listing
Modified Sun Mar 4 13:26:32 2007 UTC (17 years, 7 months ago) by johnpye
Fixed problem with ctrl-c
Improved column alignment in text output of integration results
Pared back the default method in dsgsat3.a4c

Revision 1310 - Directory Listing
Modified Sun Mar 4 12:34:05 2007 UTC (17 years, 7 months ago) by johnpye
Silenced some debug output
Added ability to ctrl-C IDA when running through python

Revision 1309 - Directory Listing
Modified Sun Mar 4 07:40:17 2007 UTC (17 years, 7 months ago) by johnpye
Added index checking for semi-explicit DAE systems.
Migrated error messages for mtx and linsolqr to the error_reporter mechanism.

Revision 1308 - Directory Listing
Modified Sun Mar 4 01:44:52 2007 UTC (17 years, 7 months ago) by johnpye
Changed message to a proper 'WARNING' message.

Revision 1306 - Directory Listing
Modified Sat Mar 3 11:50:47 2007 UTC (17 years, 7 months ago) by johnpye
Added and performed basic tests of integrator_ida_write_matrix. Generalised the write_matrix
routine so that *any* requested output can be retrieved from the integrator (for the case
of IDA this is y and y', but it could equally be more complicated stuff.)

Revision 1303 - Directory Listing
Modified Thu Mar 1 06:04:21 2007 UTC (17 years, 7 months ago) by johnpye
silenced some debug output

Revision 1302 - Directory Listing
Modified Thu Mar 1 05:40:25 2007 UTC (17 years, 7 months ago) by johnpye
Fixed 'is missing part' error message in check.c

Revision 1300 - Directory Listing
Modified Thu Mar 1 05:22:51 2007 UTC (17 years, 7 months ago) by johnpye
Changed default IDA linsolver to 'DENSE'.
Fixed support for NULL child lists in PyGTK GUI (tentatively)

Revision 1299 - Directory Listing
Modified Wed Feb 28 22:51:27 2007 UTC (17 years, 7 months ago) by johnpye
Downgrading error message to a warning (it was preventing 'FOR i IN [] CREATE' from working)

Revision 1296 - Directory Listing
Modified Tue Feb 27 01:22:08 2007 UTC (17 years, 7 months ago) by johnpye
Fixed bug with CONOPT giving invalid relation index to errmsg routine

Revision 1291 - Directory Listing
Modified Mon Feb 26 06:20:43 2007 UTC (17 years, 7 months ago) by johnpye
Added EXTERNAL asc_default_all plus test cases.

Revision 1290 - Directory Listing
Modified Mon Feb 26 04:54:45 2007 UTC (17 years, 7 months ago) by johnpye
Added new 'default' functionality plus test case

Revision 1289 - Directory Listing
Modified Thu Feb 22 14:08:25 2007 UTC (17 years, 7 months ago) by johnpye
Added asc_default_self to packages

Revision 1285 - Directory Listing
Modified Sat Feb 17 22:39:59 2007 UTC (17 years, 8 months ago) by johnpye
Removed 'const' from in front of va_list parameters.

Revision 1282 - Directory Listing
Modified Wed Feb 14 14:22:31 2007 UTC (17 years, 8 months ago) by johnpye
Some GPL headers cleaned up.
#if 0'd some (stated-to-be) futuristic code.
Removed some <!-- comments.
Added defaultall.c, which will be a new package METHOD similar to ClearAll.

Revision 1281 - Directory Listing
Modified Tue Feb 13 04:45:22 2007 UTC (17 years, 8 months ago) by johnpye
Fixed importhandler to work with files outside the path as well (ie absolute or relative to cwd)

Revision 1280 - Directory Listing
Modified Sat Feb 10 10:47:23 2007 UTC (17 years, 8 months ago) by johnpye
Fully operational test suite again (fixed TestIntegrator.testparameters)

Revision 1279 - Directory Listing
Modified Sat Feb 10 09:31:55 2007 UTC (17 years, 8 months ago) by johnpye
Removed some debug output.
DSGSAT model L=10, n=47

Revision 1271 - Directory Listing
Modified Sun Feb 4 02:00:01 2007 UTC (17 years, 8 months ago) by johnpye
Added bounds checking to IDA.
Suppressed some debug output.
TestSteam.testpeturbida is broken now.

Revision 1270 - Directory Listing
Modified Sun Feb 4 01:01:18 2007 UTC (17 years, 8 months ago) by johnpye
Reduced some debug output.
Added ATOM for specific_energy_rate.
Fixed default_self routines for DSG models.
Added testdsgsatrepeat test to check above.

Revision 1268 - Directory Listing
Modified Sat Feb 3 06:18:11 2007 UTC (17 years, 8 months ago) by johnpye
Stable with 4 nodes now, but only with a small peturbation.

Revision 1267 - Directory Listing
Modified Sat Feb 3 03:39:50 2007 UTC (17 years, 8 months ago) by johnpye
dsgsat3 model gives correct pressure drops now.
found an error in the momentum equation.

Revision 1265 - Directory Listing
Modified Thu Feb 1 13:54:56 2007 UTC (17 years, 8 months ago) by johnpye
Fixed insanity between var_fixed and var_apply_filter in idaanalyse.c
Copyright info in pipeline.a4c.
Added teststeadyida in TestSteam (currently passes)
Fixed LSODE parameters in teststeadylsode.

Revision 1263 - Directory Listing
Modified Sun Jan 28 04:03:01 2007 UTC (17 years, 8 months ago) by johnpye
Commented out platform-specific <fenv.h> stuff (was breaking winxp build)

Revision 1259 - Directory Listing
Modified Sun Jan 28 01:49:38 2007 UTC (17 years, 8 months ago) by johnpye
Copyright dates

Revision 1258 - Directory Listing
Modified Sun Jan 28 01:45:27 2007 UTC (17 years, 8 months ago) by johnpye
Removed requirement for CONOPT_BOUNDLIMIT to be defined (case where not ASC_WITH_CONOPT)

Revision 1257 - Directory Listing
Modified Sun Jan 28 01:30:08 2007 UTC (17 years, 8 months ago) by johnpye
Fixed the bounding problem in Slv9.
Added python test cases for all of the models in Vicente's thesis.
Will now add these tests to buildbot.

Revision 1254 - Directory Listing
Modified Sat Jan 27 10:50:40 2007 UTC (17 years, 8 months ago) by johnpye
Added transamp.a4c, another one of the tests from Univ. of Bari.

Revision 1252 - Directory Listing
Modified Sat Jan 27 06:29:17 2007 UTC (17 years, 8 months ago) by johnpye
Removed the 'command line solver' from the Tcl/Tk interface.
Deactivated the 'plot' command in slv_interface.
Eliminated various #include <compiler/*> from the solver.
Added another sample model (which current fails because of problem with non-incident diff vars.

Revision 1251 - Directory Listing
Modified Sat Jan 27 05:04:49 2007 UTC (17 years, 8 months ago) by johnpye
Fixed 'hires' test (needed to rack down the tolerances a bit)
Removed newton test (until we make some changes to the solvers var list)
All of TestIDADENSE passes now and will be added to the buildbot list.

Revision 1250 - Directory Listing
Modified Sat Jan 27 04:50:35 2007 UTC (17 years, 8 months ago) by johnpye
Fixed idaanalyse some more. Maybe it's even right now :-)

Revision 1249 - Directory Listing
Modified Sat Jan 27 04:14:58 2007 UTC (17 years, 8 months ago) by johnpye
Replacement integrator_ida_check_diffindex function. Fixed some errors in the old one.

Revision 1248 - Directory Listing
Modified Sat Jan 27 00:32:38 2007 UTC (17 years, 8 months ago) by johnpye
Split diffvars_impl.h out of system_impl.h, since most system routines won't want to know about diffvars.

Revision 1247 - Directory Listing
Modified Sat Jan 27 00:11:34 2007 UTC (17 years, 8 months ago) by johnpye
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 1246 - Directory Listing
Modified Fri Jan 26 22:24:56 2007 UTC (17 years, 8 months ago) by johnpye
Reactivating couple of previously turned-off tests (IDA)

Revision 1243 - Directory Listing
Modified Fri Jan 26 12:35:17 2007 UTC (17 years, 8 months ago) by johnpye
Removed header files from test_general. We can do without them.

Revision 1242 - Directory Listing
Modified Fri Jan 26 12:05:56 2007 UTC (17 years, 8 months ago) by johnpye
test.py TestIDA all working again with the new IDA analyser.

Revision 1241 - Directory Listing
Modified Fri Jan 26 11:59:45 2007 UTC (17 years, 8 months ago) by johnpye
Fixed a bug with idaanalyse, hunting another one.

Revision 1240 - Directory Listing
Modified Fri Jan 26 11:12:20 2007 UTC (17 years, 8 months ago) by johnpye
@!@#$#$%! working at last

Revision 1239 - Directory Listing
Modified Fri Jan 26 04:36:07 2007 UTC (17 years, 8 months ago) by johnpye
Fixed TestIDA (it's not nice though)

Revision 1238 - Directory Listing
Modified Fri Jan 26 02:50:52 2007 UTC (17 years, 8 months ago) by johnpye
Fixed testfixedvars1

Revision 1237 - Directory Listing
Modified Fri Jan 26 01:42:16 2007 UTC (17 years, 8 months ago) by johnpye
Fixed problem with sort order of diffvars vs sindex vs IntegratorSystem::y

Revision 1236 - Directory Listing
Modified Thu Jan 25 13:36:41 2007 UTC (17 years, 8 months ago) by johnpye
Reverting to 'standard' signal handling for IDA

Revision 1235 - Directory Listing
Modified Thu Jan 25 13:22:51 2007 UTC (17 years, 8 months ago) by johnpye
Added missing signal pop

Revision 1233 - Directory Listing
Modified Thu Jan 25 13:00:07 2007 UTC (17 years, 8 months ago) by johnpye
Reverting to old ascSignal test suite.

Revision 1232 - Directory Listing
Modified Thu Jan 25 11:16:16 2007 UTC (17 years, 8 months ago) by johnpye
Some disgraceful hacking to obtain SIGFPE details in ida.c. Working next to fix the proper ASCEND ascSignal implementation (which I broke at some point).

Revision 1231 - Directory Listing
Modified Thu Jan 25 07:43:56 2007 UTC (17 years, 8 months ago) by johnpye
Reversing changes to relman.[ch] (they broke CONOPT)

Revision 1230 - Directory Listing
Modified Thu Jan 25 07:34:27 2007 UTC (17 years, 8 months ago) by johnpye
Removed operator= for Plot and Curve (C++)
Fixed #include for child.h

Revision 1228 - Directory Listing
Modified Thu Jan 25 06:57:40 2007 UTC (17 years, 8 months ago) by johnpye
Added getParameter by name in SolverParameters.
Fixed up refences to signal-related header files.
Fixed up various warnings from -pedantic compilation.
Identified an apparent bug with RelationCalcGradient (unsafe version).
Added support for compilation of a standalone C++ program (idatest) in SCons build.

Revision 1227 - Directory Listing
Modified Thu Jan 25 00:27:14 2007 UTC (17 years, 8 months ago) by johnpye
Header rearrangement for relation_type.h

Revision 1226 - Directory Listing
Modified Thu Jan 25 00:06:42 2007 UTC (17 years, 8 months ago) by johnpye
Split slv_param.[ch] from slv.c and slv_common.h.
Removed some lint

Revision 1225 - Directory Listing
Modified Wed Jan 24 22:55:07 2007 UTC (17 years, 8 months ago) by johnpye
Fixed the non-incident bug. TestIDA passes now.

Revision 1224 - Directory Listing
Modified Wed Jan 24 14:33:42 2007 UTC (17 years, 8 months ago) by johnpye
Identified cause of problem with testincidence, still need to fix.

Revision 1223 - Directory Listing
Modified Wed Jan 24 14:25:15 2007 UTC (17 years, 8 months ago) by johnpye
Fixed a bug with TestIDA.testfixedvars1 (integrator_ida_check_partitioning)

Revision 1222 - Directory Listing
Modified Wed Jan 24 13:46:44 2007 UTC (17 years, 8 months ago) by johnpye
Fixed the crash, determined that there is a problem with creation via slv_param_char. Heap space is not being used.

Revision 1221 - Directory Listing
Modified Wed Jan 24 13:33:06 2007 UTC (17 years, 8 months ago) by johnpye
Implemented the DAE partitioning routine but am nowing tracking down a fiendish memory crash.

Revision 1220 - Directory Listing
Modified Wed Jan 24 13:31:00 2007 UTC (17 years, 8 months ago) by johnpye
Change to ASC_STRDUP

Revision 1219 - Directory Listing
Modified Wed Jan 24 13:30:04 2007 UTC (17 years, 8 months ago) by johnpye
Changed to ASC_STRDUP

Revision 1218 - Directory Listing
Modified Tue Jan 23 13:42:49 2007 UTC (17 years, 8 months ago) by johnpye
Fixed integrator_ida_check_lists.

Revision 1217 - Directory Listing
Modified Tue Jan 23 13:10:26 2007 UTC (17 years, 8 months ago) by johnpye
Added integrator_ida_check_lists, it's showing up a problem 

Revision 1216 - Directory Listing
Modified Tue Jan 23 12:35:57 2007 UTC (17 years, 8 months ago) by johnpye
Cleaning up some more #includes

Revision 1214 - Directory Listing
Modified Tue Jan 23 11:30:25 2007 UTC (17 years, 8 months ago) by johnpye
Added tests for dealing with dF/dy and dF/dy' incidence in IDA.

Revision 1213 - Directory Listing
Modified Tue Jan 23 10:43:55 2007 UTC (17 years, 8 months ago) by johnpye
Added test cases for IDA incidence check.
Added test for where REQUIRE specifies nonexistent file.

Revision 1212 - Directory Listing
Modified Tue Jan 23 06:13:51 2007 UTC (17 years, 8 months ago) by johnpye
block_debug function outputs all vars/rels in system.

Revision 1211 - Directory Listing
Modified Tue Jan 23 05:09:50 2007 UTC (17 years, 8 months ago) by johnpye
Fixed dependencies on dimen.h and fractions.h.

Revision 1210 - Directory Listing
Modified Tue Jan 23 04:25:51 2007 UTC (17 years, 8 months ago) by johnpye
Removed unnecessary #include <compiler.h>

Revision 1209 - Directory Listing
Modified Tue Jan 23 04:11:50 2007 UTC (17 years, 8 months ago) by johnpye
Cleaning up some redundant compiler dependencies

Revision 1208 - Directory Listing
Modified Tue Jan 23 03:53:46 2007 UTC (17 years, 8 months ago) by johnpye
Cleaned up some header file dependencies

Revision 1207 - Directory Listing
Modified Tue Jan 23 03:17:50 2007 UTC (17 years, 8 months ago) by johnpye
Cleaned up some #define and #includes

Revision 1206 - Directory Listing
Modified Tue Jan 23 03:04:37 2007 UTC (17 years, 8 months ago) by johnpye
Sooo out of date

Revision 1205 - Directory Listing
Modified Tue Jan 23 03:03:01 2007 UTC (17 years, 8 months ago) by johnpye
Split block partitioning stuff from slv_stdcalls.[ch] into block.[ch].

Revision 1204 - Directory Listing
Modified Tue Jan 23 03:02:07 2007 UTC (17 years, 8 months ago) by johnpye
Cleaned up a few guard #ifndefs

Revision 1202 - Directory Listing
Modified Mon Jan 22 13:37:33 2007 UTC (17 years, 8 months ago) by johnpye
Rearranged doxygen groups so that stuff that just deals with slv_system_t is in a module called 'system'.

Revision 1201 - Directory Listing
Modified Mon Jan 22 13:26:06 2007 UTC (17 years, 8 months ago) by johnpye
Added some more test cases for DAE problem analysis.
Little bit of tidying up in the slv*.c files.

Revision 1200 - Directory Listing
Modified Mon Jan 22 11:48:24 2007 UTC (17 years, 8 months ago) by johnpye
Fixed a bug with first var in first var chain not having ode_type=1.
Added more test cases for diffvars.c.

Revision 1199 - Directory Listing
Modified Mon Jan 22 11:22:15 2007 UTC (17 years, 8 months ago) by johnpye
Added method integrator_debug to integrator API (outputs internal data structures from integrator).
Added test cases for the diffvars code (python test.py).
Suppressed a lot of 'slv_get_*_*_list is NULL' messages when destroying system.
Specialised the system_build error message a little.

Revision 1197 - Directory Listing
Modified Mon Jan 22 06:28:14 2007 UTC (17 years, 8 months ago) by johnpye
Little bit of work trying to make interface pointers work better. Not much success.

Revision 1196 - Directory Listing
Modified Mon Jan 22 05:41:59 2007 UTC (17 years, 8 months ago) by johnpye
slv_get_status changed to return non-zero on failure.
Tests are passing with the new IDA 'analyse' routine but still plenty of gaps.

Revision 1195 - Directory Listing
Modified Mon Jan 22 02:36:15 2007 UTC (17 years, 8 months ago) by johnpye
woops, adding missing file

Revision 1194 - Directory Listing
Modified Mon Jan 22 01:30:56 2007 UTC (17 years, 8 months ago) by johnpye
Split diffvars stuff out of analyse.c.
Fixed IDA to work when vars are fixed/freed after the integration system is build.
There will still be problems where fixing/freeing a *derivative* causes relations to drop out.

Revision 1192 - Directory Listing
Modified Sun Jan 21 12:10:43 2007 UTC (17 years, 8 months ago) by johnpye
Fixed for non-differential problems.

Revision 1191 - Directory Listing
Modified Sun Jan 21 12:00:57 2007 UTC (17 years, 8 months ago) by johnpye
Added obs_id lists to analyse.c. Hopefully we can remove later when we work out a better architecture for that.

Revision 1189 - Directory Listing
Modified Sun Jan 21 09:56:43 2007 UTC (17 years, 8 months ago) by johnpye
Missed one (see prev)

Revision 1188 - Directory Listing
Modified Sun Jan 21 09:55:00 2007 UTC (17 years, 8 months ago) by johnpye
Removed redundant get_linsol* functions where all they do is return NULL.
Moved get_diffvars to slv_client.

Revision 1187 - Directory Listing
Modified Sun Jan 21 06:03:58 2007 UTC (17 years, 8 months ago) by johnpye
analyse.c can now pick up 'chains' of derivatives and pass them to the solver.

Revision 1186 - Directory Listing
Modified Sun Jan 21 00:29:21 2007 UTC (17 years, 8 months ago) by johnpye
Removed <compiler/*> dependencies in slv*.c where possible.
Did some minor reformatting of slv9.c.

Revision 1185 - Directory Listing
Modified Sun Jan 21 00:02:57 2007 UTC (17 years, 8 months ago) by johnpye
Removing these files (see models/test instead)

Revision 1184 - Directory Listing
Modified Sat Jan 20 09:34:45 2007 UTC (17 years, 8 months ago) by johnpye
Fixed test suite for moved files.
Removed unaccessible code in lsode.c.

Revision 1183 - Directory Listing
Modified Sat Jan 20 09:15:51 2007 UTC (17 years, 8 months ago) by johnpye
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.

Revision 1182 - Directory Listing
Modified Sat Jan 20 04:42:54 2007 UTC (17 years, 8 months ago) by johnpye
Change to allow LSODE to *attempt* models/nonstate.a4c. Not working correctly yet though.

Revision 1181 - Directory Listing
Modified Sat Jan 20 03:50:21 2007 UTC (17 years, 8 months ago) by johnpye
Shifted everything integration-related out into a separate directory.

Revision 1175 - Directory Listing
Modified Thu Jan 18 00:34:22 2007 UTC (17 years, 9 months ago) by johnpye
A few easily-fixed warnings dispelled

Revision 1174 - Directory Listing
Modified Thu Jan 18 00:27:50 2007 UTC (17 years, 9 months ago) by johnpye
Fixed 'ascdev' script to work correctly in MSYS (now needs retesting in linux).
Removed 'make_matrix' and 'free_matrix' from sensitivity code and reused densemtx.c instead.
Fixed linking issues in finitediff.dll.

Revision 1172 - Directory Listing
Modified Wed Jan 17 12:44:45 2007 UTC (17 years, 9 months ago) by johnpye
Fixed handling of ASCENDLIBRARY in installed ASCEND.

Revision 1169 - Directory Listing
Modified Wed Jan 17 12:17:25 2007 UTC (17 years, 9 months ago) by johnpye
Fixed EXTERNAL do_solve(instance)
Improved error message in ascParse.
Added collapsingcan2 model that uses freesteam steam properties.

Revision 1167 - Directory Listing
Modified Wed Jan 17 09:32:29 2007 UTC (17 years, 9 months ago) by johnpye
Added (failing) test case for do_sensitivity_all.

Revision 1163 - Directory Listing
Modified Wed Jan 17 06:33:30 2007 UTC (17 years, 9 months ago) by johnpye
Refactored sensitivity module a little further, added self_test.

Revision 1162 - Directory Listing
Modified Wed Jan 17 04:34:59 2007 UTC (17 years, 9 months ago) by johnpye
Fixed sensitivity module. It now runs as mostly external code, with just a few relics required by LSODE still in packages/sensitivity.c.

Revision 1161 - Directory Listing
Modified Wed Jan 17 01:35:13 2007 UTC (17 years, 9 months ago) by johnpye
Fixed value of 'dz' in dsgsat.a4c.
Added test case for saturated steam in terms of (u,v)
Other minor debug output changes.

Revision 1148 - Directory Listing
Modified Mon Jan 15 23:40:40 2007 UTC (17 years, 9 months ago) by johnpye
Fixed ANALYSE_DEBUG in integrator.c
Added printout of indep var in IntegratorReporterConsole class (C++)

Revision 1145 - Directory Listing
Modified Mon Jan 15 12:50:20 2007 UTC (17 years, 9 months ago) by johnpye
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 1144 - Directory Listing
Modified Mon Jan 15 10:42:11 2007 UTC (17 years, 9 months ago) by johnpye
Added except.[ch] which are intended to hold some TRY..CATCH..FINAL macro goodness to replace the explicit longjmp calls.
Added time-watching in LSODE to update GUI in case of long samplelist timesteps (TODO: permit interruption vai this mechanism too).

Revision 1143 - Directory Listing
Modified Mon Jan 15 06:58:12 2007 UTC (17 years, 9 months ago) by johnpye
Fixed test suite for case where !defined(ASC_SIGNAL_TRAPS)

Revision 1142 - Directory Listing
Modified Mon Jan 15 06:46:44 2007 UTC (17 years, 9 months ago) by johnpye
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced.
Signal handling is OFF by default now.

Revision 1141 - Directory Listing
Modified Mon Jan 15 04:44:12 2007 UTC (17 years, 9 months ago) by johnpye
More sensible slv_param_real bounds in LSODE and IDA.
Run ode_init by default for dsgsat.a4c.
Fixed dependencies for swig python outputs.
Fixed [X] button on Integrator dialog.


Revision 1140 - Directory Listing
Modified Mon Jan 15 04:08:08 2007 UTC (17 years, 9 months ago) by johnpye
Added support for setting Integrator parameters through PyGTK GUI.
Lots of whitespace changes in slv3.c (sorry).
Fixed problem with freeing sys->parms in slv.c


Revision 1138 - Directory Listing
Modified Sun Jan 14 13:43:16 2007 UTC (17 years, 9 months ago) by johnpye
Fixing external function calls in bisect.[ch]

Revision 1137 - Directory Listing
Modified Sun Jan 14 13:21:45 2007 UTC (17 years, 9 months ago) by johnpye
Attempting to fix sunos test.py problem.
Preparting dsgsat2. for IDA.

Revision 1136 - Directory Listing
Modified Sun Jan 14 13:18:17 2007 UTC (17 years, 9 months ago) by johnpye
Fixing bug with MMIO not present (for autotools)

Revision 1134 - Directory Listing
Modified Sun Jan 14 11:56:30 2007 UTC (17 years, 9 months ago) by johnpye
Fixed bug with MAXORD initialisation.

Revision 1133 - Directory Listing
Modified Sun Jan 14 11:51:48 2007 UTC (17 years, 9 months ago) by johnpye
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 1132 - Directory Listing
Modified Sun Jan 14 10:40:58 2007 UTC (17 years, 9 months ago) by johnpye
Converted slv3 (QRSlv) to new slv_param_bool (etc) parameter code.
Adding a testcase for dsgsat with LSODE as well as IDA.
Fixed some remaining external function calls (needing userdata ptr).
Adding LSODE parameters 'METH' and 'MITER' for setting AM and BDF methods.
Rerranged v_expr in iapwssat.a4c.
Removed lower bound on mdot in satsteamstream.a4c.

Revision 1131 - Directory Listing
Modified Sat Jan 13 12:47:44 2007 UTC (17 years, 9 months ago) by johnpye
Fixing for MMIO absent

Revision 1130 - Directory Listing
Modified Sat Jan 13 12:27:50 2007 UTC (17 years, 9 months ago) by johnpye
Added new 'densemtx.o' file to Makefile.in list.

Revision 1129 - Directory Listing
Modified Sat Jan 13 11:40:59 2007 UTC (17 years, 9 months ago) by johnpye
Added integrator_write_matrix routine to allow integrator matrices to be written out.
Modified integrator in PyGTK to output this matrix to a file in /tmp in the case where Integrator::solve fails.
Fixed a bug in densematrix_write_mmio.
The current implementation of integrator_write_matrix might not be quite right yet... needs some more thought.

Revision 1128 - Directory Listing
Modified Sat Jan 13 08:33:43 2007 UTC (17 years, 9 months ago) by johnpye
Migrated dense matrix functions out of lsode.c and into a new file.
Added Matrix Market format dense matrix output function in densemtx.c.

Revision 1126 - Directory Listing
Modified Sat Jan 13 06:11:02 2007 UTC (17 years, 9 months ago) by johnpye
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 1115 - Directory Listing
Modified Thu Jan 11 09:15:28 2007 UTC (17 years, 9 months ago) by johnpye
Added Matrix Market export (happens automatically any time there's a pivot problem at present)

Revision 1109 - Directory Listing
Modified Thu Jan 11 04:07:02 2007 UTC (17 years, 9 months ago) by johnpye
Added some more user error messages from the solver.
Added detection for the MFGRAPH library, which will be used to output GraphViz files based on the incidence matrix.

Revision 1108 - Directory Listing
Modified Wed Jan 10 22:04:52 2007 UTC (17 years, 9 months ago) by johnpye
Added importhandler.o to the autotools file list

Revision 1106 - Directory Listing
Modified Wed Jan 10 13:07:45 2007 UTC (17 years, 9 months ago) by johnpye
Fixed a bug introduced into slvDOF_structsing.
Fixed an LD_LIBRARY_PATH problem with test.py

Revision 1103 - Directory Listing
Modified Wed Jan 10 07:19:30 2007 UTC (17 years, 9 months ago) by johnpye
Removed some debug messages from anoncopy.c
Removed ASC_GDB=1 testing list from ascdev.in.

Revision 1099 - Directory Listing
Modified Wed Jan 10 06:26:02 2007 UTC (17 years, 9 months ago) by johnpye
Silenced some errors

Revision 1097 - Directory Listing
Modified Wed Jan 10 05:41:38 2007 UTC (17 years, 9 months ago) by johnpye
Fixed up some error reporting stuff in LSODE.
Fixed up command-line invocation of 'ascdev' and also 'ASC_GDB=1 ascdev'.

Revision 1087 - Directory Listing
Modified Tue Jan 9 15:23:48 2007 UTC (17 years, 9 months ago) by johnpye
Fixed independent variable detection (again).

Revision 1086 - Directory Listing
Modified Tue Jan 9 14:33:29 2007 UTC (17 years, 9 months ago) by johnpye
Fixed up problem with IDA version in SConscript.
Identified a bug with findIndependentVar in PyGTK GUI, ongoing.

Revision 1079 - Directory Listing
Modified Tue Jan 9 10:46:54 2007 UTC (17 years, 9 months ago) by johnpye
Fixed bug 309

Revision 1075 - Directory Listing
Modified Tue Jan 9 03:15:50 2007 UTC (17 years, 9 months ago) by johnpye
Attempts to fix utilities/config.h and ASC_WITH_CONOPT issues with autotools build

Revision 1072 - Directory Listing
Modified Tue Jan 9 00:37:25 2007 UTC (17 years, 9 months ago) by johnpye
Fixed 'const char *envv' in SearchArchiveLibraryPath prototype decl.

Revision 1071 - Directory Listing
Modified Tue Jan 9 00:29:16 2007 UTC (17 years, 9 months ago) by johnpye
Removed some outstanding references to g_ascend_errors (see #ifdef REIMPLEMENT_STREAMS)
Added a check in integrator.cpp for badly formed integrator_get_engines() return.

Revision 1070 - Directory Listing
Modified Mon Jan 8 14:36:31 2007 UTC (17 years, 9 months ago) by johnpye
The extent of my efforts with an improved analyse routine for IDA. All commented out but can be activated using scons IDA_NEW_ANALYSE=1.

Revision 1069 - Directory Listing
Modified Mon Jan 8 11:25:33 2007 UTC (17 years, 9 months ago) by johnpye
Added scons switch IDA_NEW_ANALYSE for the new code that implements a better DAE analysis procedure.
Minor tidying in list.[ch]
Removed some DIEDIEDIE stuff from analyze.c.
Added 'odeid' to the 'varip' structure in same.
Collapsed a bunch of repetitive stuff with those fancy #defines I like so much.
Flipped some return codes from functions integrator.c to return 0 on success.
Added #include for sensitivity.h in lsode.c.
Catch exceptions from sim.build() in do_integrate() in PyGTK GUI.
Attempted to fix tcl/tk for errors from integrator_analyse as well (not tested).

Revision 1068 - Directory Listing
Modified Mon Jan 8 04:45:47 2007 UTC (17 years, 9 months ago) by johnpye
Fixed some ASC_PANIC calls in atomvalue.c
Removed some <!-- --> comments from list.h
Added flagging of 'deriv' vars in analyse.c (no new lists are added though)
Created separate doxygen module 'Analyse' (only affect C comments)
Fixed return codes in slv9a.c, as well as some FPRINTFs.
Cleaned up some documentation in slv_client.h.
Removed var_diff, var_set_diff flag stuff.
Added docstring for Integrator_getEngines in python wrapper.


Revision 1067 - Directory Listing
Modified Sun Jan 7 10:11:50 2007 UTC (17 years, 9 months ago) by johnpye
woops

Revision 1066 - Directory Listing
Modified Sun Jan 7 10:02:41 2007 UTC (17 years, 9 months ago) by johnpye
Adding doxygen 'addtogroup' for Solver, Compiler, Integrator.

Revision 1065 - Directory Listing
Modified Sun Jan 7 09:25:45 2007 UTC (17 years, 9 months ago) by johnpye
Fixing header to fix doxygen

Revision 1064 - Directory Listing
Modified Sun Jan 7 09:15:56 2007 UTC (17 years, 9 months ago) by johnpye
Replaced all Asc_Panic calls with ASC_PANIC, which includes __FUNCTION__, __FILE__, __LINE__ reporting.

Revision 1063 - Directory Listing
Modified Sun Jan 7 07:54:06 2007 UTC (17 years, 9 months ago) by johnpye
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.

Revision 1062 - Directory Listing
Modified Sun Jan 7 07:21:02 2007 UTC (17 years, 9 months ago) by johnpye
Added missing @} at end of header

Revision 1061 - Directory Listing
Modified Sun Jan 7 07:19:52 2007 UTC (17 years, 9 months ago) by johnpye
Fixed compiler warnings from test_ascEnvVar.c

Revision 1060 - Directory Listing
Modified Sun Jan 7 07:10:16 2007 UTC (17 years, 9 months ago) by johnpye
Moved vector functions out of slv_common.c into mtx_vector.c
Created corresponding mtx_vector.h
Renamed vector_data to vec_vector and corresponding functions from slv_ to vec_* (with other minor named changed).
Made necessary changes to SConstruct, Makefile.in.
Done with regexxer, should have caught everything hopefully.

Revision 1055 - Directory Listing
Modified Sat Jan 6 14:47:13 2007 UTC (17 years, 9 months ago) by johnpye
simplified slv_check_bounds call.

Revision 1054 - Directory Listing
Modified Sat Jan 6 14:00:24 2007 UTC (17 years, 9 months ago) by johnpye
Sorry, it was bothering me :-)
http://www.randomhouse.com/wotd/index.pperl?date=19960916

Revision 1051 - Directory Listing
Modified Sat Jan 6 04:08:29 2007 UTC (17 years, 9 months ago) by johnpye
Changing to asc_assert in module.c
Changing WriteWhyNotFound to use char* instead of symchar*.
Fixing paths in models/steam/* to be relative to models/

Revision 1050 - Directory Listing
Modified Sat Jan 6 04:04:47 2007 UTC (17 years, 9 months ago) by johnpye
Adding integration test in TestSteam.testdsgsat.
Naming couple of anonymous structs.

Revision 1049 - Directory Listing
Modified Fri Jan 5 13:45:13 2007 UTC (17 years, 9 months ago) by johnpye
Changed integrator_solve to return 0 on success
Changed integrator_checkstatus to return 0 on success
Some flow-through changes as a result of these.
Fixed problem with reporting of errors in do_method (gtkbrowser.py)
Expanded error msg in integrator.cpp
Fixed catching of Integrator C++ exceptions in integratorreporter.py.
Removed M.checkStructuralSingularity() in TestSteam.testdsgsat -- causes crash (why?)

Revision 1048 - Directory Listing
Modified Fri Jan 5 12:19:41 2007 UTC (17 years, 9 months ago) by johnpye
Fixed 'TOO MUCH WRITING' error in error_tree.

Revision 1046 - Directory Listing
Modified Fri Jan 5 11:15:16 2007 UTC (17 years, 9 months ago) by johnpye
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 1044 - Directory Listing
Modified Fri Jan 5 06:26:12 2007 UTC (17 years, 9 months ago) by johnpye
Added return code to slv_check_bounds.
For solvers that make a call to slv_check_bounds, used the return code to set 'sys->s.inconsistent'
(but see my concerns as noted on the mailing list)

Revision 1039 - Directory Listing
Modified Thu Jan 4 23:21:20 2007 UTC (17 years, 9 months ago) by johnpye
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 1037 - Directory Listing
Modified Thu Jan 4 08:11:55 2007 UTC (17 years, 9 months ago) by johnpye
Fixed a few more TestBlackBox test cases.

Revision 1036 - Directory Listing
Modified Thu Jan 4 07:40:26 2007 UTC (17 years, 9 months ago) by johnpye
Fixed CONOPT to return int from slv_iterate etc.

Revision 1035 - Directory Listing
Modified Thu Jan 4 07:35:22 2007 UTC (17 years, 9 months ago) by johnpye
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 1034 - Directory Listing
Modified Thu Jan 4 05:37:55 2007 UTC (17 years, 9 months ago) by johnpye
Switch 'void slv_*' function to output a 0-on-success error flag.
Added some debug output to ensure that such output gets through.
Fixed TestBlackBox.testfail1 to work, using above changes.
Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)

Revision 1032 - Directory Listing
Modified Thu Jan 4 01:51:38 2007 UTC (17 years, 9 months ago) by johnpye
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.

Revision 1031 - Directory Listing
Modified Wed Jan 3 15:33:23 2007 UTC (17 years, 9 months ago) by johnpye
Merging Ben's changes from trunk, changeset 1105 to changeset 1234.
This breaks Python test suite TestExtFn, so will need investigation.

Revision 1029 - Directory Listing
Modified Wed Jan 3 14:00:27 2007 UTC (17 years, 9 months ago) by johnpye
Fixed for reporting of METHOD errors in PyGTK GUI.
Removed libasctest target (was causing messed up build on Windows)
Removed attempt to link libasctestsuite to -ldl on Windows (not necessary)
Adding reporting in test.c when no tests have been registered (to flag a problem with static/dynamic linking of CUnit on Windows)

Revision 1027 - Directory Listing
Modified Wed Jan 3 12:46:37 2007 UTC (17 years, 9 months ago) by johnpye
Fixing bug with importhandler_setsharedpointer (you need to RemoveTableData if you want to overwrite a value)
Minor correction to (not fully implemented) importhandler_destroylibrary for case where library is NULL.

Revision 1026 - Directory Listing
Modified Wed Jan 3 12:03:08 2007 UTC (17 years, 9 months ago) by johnpye
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.

Revision 1023 - Directory Listing
Modified Wed Jan 3 09:13:44 2007 UTC (17 years, 9 months ago) by johnpye
Fixed problem with output of scalar atol value in IDA.

Revision 1016 - Directory Listing
Modified Wed Jan 3 05:56:12 2007 UTC (17 years, 9 months ago) by johnpye
Fixed a silly bug with IDACalcIC.
Disabled all SPGMR tests from the python test suite.
All active tests in the Python tests should now be passing (24 tests currently)

Revision 1015 - Directory Listing
Modified Wed Jan 3 05:03:43 2007 UTC (17 years, 9 months ago) by johnpye
Trying doxygen comments once again

Revision 1014 - Directory Listing
Modified Wed Jan 3 04:49:17 2007 UTC (17 years, 9 months ago) by johnpye
Fixing @addtogroup comments

Revision 1013 - Directory Listing
Modified Wed Jan 3 03:41:35 2007 UTC (17 years, 9 months ago) by johnpye
Added doxygen comments for linear routines in base/generic/solver.
Fixed up missing (still unimplemented) idalinear jacobian sjex.

Revision 1012 - Directory Listing
Modified Wed Jan 3 03:13:20 2007 UTC (17 years, 9 months ago) by johnpye
Added idalinear.[ch], which will expose the linsolqr solver as a linear solver for IDA.
Modified ida.c to support this new linear solver under the name 'ASCEND'.

Revision 1011 - Directory Listing
Modified Tue Jan 2 12:55:56 2007 UTC (17 years, 9 months ago) by johnpye
...

Revision 1010 - Directory Listing
Modified Tue Jan 2 12:53:58 2007 UTC (17 years, 9 months ago) by johnpye
Fixed ASC_ASSERT_RANGE (hopefully)
Fixing C99isms in integrator.[ch]

Revision 1009 - Directory Listing
Modified Tue Jan 2 12:10:53 2007 UTC (17 years, 9 months ago) by johnpye
Fixing TestIDA.testdenx test case.
Removing some debug output from ida.c.

Revision 1008 - Directory Listing
Modified Tue Jan 2 11:45:24 2007 UTC (17 years, 9 months ago) by johnpye
Fixed bug with memory deallocation for partitioner in ida.c
Silenced some debug output in ascSignal.c
Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)

Revision 1007 - Directory Listing
Modified Tue Jan 2 11:44:52 2007 UTC (17 years, 9 months ago) by johnpye
Fixed bug with memory deallocation for partitioner in ida.c
Silenced some debug output in ascSignal.c
Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)

Revision 1004 - Directory Listing
Modified Sun Dec 31 03:45:13 2006 UTC (17 years, 9 months ago) by johnpye
Still haven't worked out what's wrong with test_ascSignal.c. (line 605 just won't raise the signal!)

Revision 1003 - Directory Listing
Modified Sun Dec 31 02:35:27 2006 UTC (17 years, 9 months ago) by johnpye
Some progress on fixing test_ascSignal.c

Revision 1002 - Directory Listing
Modified Sat Dec 30 14:27:47 2006 UTC (17 years, 9 months ago) by johnpye
Some work on fixing error with test_ascSignal.
Breaking down into smaller test cases.
Removed some debug output from detection of ASC_RESETNEEDED.
Changed all calls 'signal' to 'SIGNAL' macro that includes optional debug output.
Removed 'libasctest.so' (made part of libasctestsuite.so FWIW)
Fixed big in test.c wrt CUEA_ABORT.
Added 'print_stack' and 'Asc_SignalPrintStack' and 'Asc_SignalStackLength'.


Revision 1001 - Directory Listing
Modified Sat Dec 30 06:22:01 2006 UTC (17 years, 9 months ago) by johnpye
Removed disabled 'ascPanic' test case (needs reimplementing)

Revision 1000 - Directory Listing
Modified Sat Dec 30 06:19:13 2006 UTC (17 years, 9 months ago) by johnpye
Removed 'FAIL' for non-implemented tests in test_slv_common.c

Revision 999 - Directory Listing
Modified Sat Dec 30 06:15:56 2006 UTC (17 years, 9 months ago) by johnpye
Fixed test_ascDynaLoad so that assumed cwd for running tests is the ASCEND source root (eg ~/src/ascend).
Fixed missing ASC_FREE in ascSignal.c.

Revision 998 - Directory Listing
Modified Sat Dec 30 06:05:48 2006 UTC (17 years, 9 months ago) by johnpye
Fixed some memory leaks in ospath.c and test_ospath.c.

Revision 997 - Directory Listing
Modified Sun Dec 24 01:33:59 2006 UTC (17 years, 9 months ago) by johnpye
Refactored tests into a shared library of tests and a executable of
just the CUnit driver. This will allow the CUnit test suite to be executed via
python unittest as part of the growing Python-based test suite.
Renamed setjmp and longjmp to SETJMP and LONGJMP throughout ASCEND, to allow
some debugging output to be added at each call.

Revision 996 - Directory Listing
Modified Sat Dec 23 06:53:04 2006 UTC (17 years, 9 months ago) by johnpye
Added SIGFPE handling to IDACalcIC.
Added ctrl-F9 keystroke in Integrator dialog (PyGTK)
Fixed bun with 'Jac->N' not available under SUNDIALS 2.3.0.

Revision 994 - Directory Listing
Modified Fri Dec 22 14:28:40 2006 UTC (17 years, 9 months ago) by johnpye
Added VAR_DIFF and VAR_DERIV flags to var_variable type.
Added flagging of variables as such during integrator_analyse_dae.
Cleaned out some old guff from the mtx* headers.

Revision 993 - Directory Listing
Modified Fri Dec 22 11:03:51 2006 UTC (17 years, 9 months ago) by johnpye
Added Matrix Market export routines (from math.nist.gov).
Added necessary build commands for above.
Work on Jacobi preconditioner for IDA (ongoing)
Set integrator_analye to make a call to slv_block_partition. Not sure if that's a good idea or not.
Tidied up comments in linsol.h
Moved unnecessary #defines from model_reorder.h into model_reorder.c.
Cleaned up codedocs in mtx*.h
Added WITH_MMIO config.h flag.


Revision 992 - Directory Listing
Modified Thu Dec 21 13:37:45 2006 UTC (17 years, 9 months ago) by johnpye
Added support for preconditioner in IDA module. Not quite sure what to put inside it yet though.

Revision 991 - Directory Listing
Modified Thu Dec 21 10:44:32 2006 UTC (17 years, 9 months ago) by johnpye
Added IDA 'MAXNCF' option.
Added TestIDA.testlotkaDENSE.

Revision 986 - Directory Listing
Modified Thu Dec 21 04:22:07 2006 UTC (17 years, 9 months ago) by johnpye
Trying to improve error reporting from IDACalcIC for case of idakryx example.

Revision 985 - Directory Listing
Modified Thu Dec 21 04:06:02 2006 UTC (17 years, 9 months ago) by johnpye
Trying to get idakryx example working.
Better reporting of failures from IDACalcIC.

Revision 980 - Directory Listing
Modified Wed Dec 20 23:23:50 2006 UTC (17 years, 9 months ago) by johnpye
Fixed detection of libpython on Windows.
Fixed TestLSODE.testlotka test.py
Removed a sundials_dense.h assertion under windows.

Revision 979 - Directory Listing
Modified Wed Dec 20 14:34:16 2006 UTC (17 years, 9 months ago) by johnpye
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c.
Fixed var_filter_t stuff in djex and fvex.
More assertions in integrator.c
Added output of initial state from lsode.c (hoping that's a good idea?)
Fixed output code from relman_diff2.
Added asc_panic_nofunc for non var-arg CPPs.
Disabled -O3 flag in building C++ API
Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x)
Integrator::analyse throws exceptions on error now.


Revision 978 - Directory Listing
Modified Wed Dec 20 10:26:04 2006 UTC (17 years, 9 months ago) by johnpye
Failed 'ASSERT' statements in a METHOD now cause the statement to be output (as well as its location).
Improved code docs/GPL header for a few files.
Added support for 'ASSERT' in WriteStatement.
Added new WriteStatementError that included var-arg support.
Fixed ASC_ASSERT_RANGE in AscPanic.

Revision 977 - Directory Listing
Modified Wed Dec 20 00:39:52 2006 UTC (17 years, 10 months ago) by johnpye
Abstracted the internal integrator calls into a struct IntegratorInternals.
Fixed up compile-time list of integrators.
If IDA is not available, then 'INTEG_IDA' will not be defined.
Added ASC_ASSERT_RANGE for assertions x in [low,high).
Changed calling convention for integrator_get_engines().

Revision 976 - Directory Listing
Modified Tue Dec 19 13:52:51 2006 UTC (17 years, 10 months ago) by johnpye
Improved line/file/func reporting via Asc_Panic, using CPP var-arg macros under GCC.
Added ASC_ASSERT_LT and ASC_ASSERT_EQ assertion macros.
Tracking down a crash in IDA (ongoing).

Revision 975 - Directory Listing
Modified Tue Dec 19 11:49:59 2006 UTC (17 years, 10 months ago) by johnpye
Fixed bug with Compute_J (using NumberRels instead of slv_get_number_solvers_rels).
Added GPL header to sensitivity.c.
Renamed IDA test cases.

Revision 972 - Directory Listing
Modified Tue Dec 19 07:55:02 2006 UTC (17 years, 10 months ago) by johnpye
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 971 - Directory Listing
Modified Tue Dec 19 02:42:33 2006 UTC (17 years, 10 months ago) by johnpye
Fixed IDA 'maxl' parameter.

Revision 970 - Directory Listing
Modified Tue Dec 19 02:39:54 2006 UTC (17 years, 10 months ago) by johnpye
Adding missing 'aww.*' files for Art's DAE integrator.
Adding 'maxl' (Maximum Krylov dimension) option to IDA.

Revision 969 - Directory Listing
Modified Tue Dec 19 00:57:26 2006 UTC (17 years, 10 months ago) by johnpye
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 968 - Directory Listing
Modified Mon Dec 18 05:49:00 2006 UTC (17 years, 10 months ago) by johnpye
Added SCons tests to check SIGINT and to replace ascresetneeded (need replacement for this in Autoconf as well).
Removed debugging from createinst.c
Typo (text) in evaluate.c
Commented out redundant code in importhandler.c
Added signal handling in ExecuteCASGN.
Added missing ospath_free in ModuleSearchPath.
Exported InitSymbolTable, DestroySymbolTable in symtab (dubious)
Moved FPRESET macro out of ascConfig.h and into ascSignal.h
Added Asc_SignalHandler{Push,Pop}Default.
Added ASC_RESETNEEDED and HAVE_C99FPE macros in config.h.in.
Found the bug causing the SIGFPE in idakryx.a4c (raises a question about int/float division in modelling, I think)
Added system_destroy call in Simulation::~Simulation (dubious).

Revision 966 - Directory Listing
Modified Thu Dec 14 14:04:54 2006 UTC (17 years, 10 months ago) by johnpye
Cleaned up code comments in units.h
Fixed a bug with starting timesteps in LSODE (i think)
Added function to output a SampleList to the console (for debugging)
Removed debug output from base/generic/test/SConscript.
Removed 'custom' headers for UnitsM in ascpy.i
Made a sane default ctor for UnitsM
Added some more test cases to the Python unittest suite (still a problem running multiple solver-based tests in a single run)

Revision 965 - Directory Listing
Modified Wed Dec 13 23:53:57 2006 UTC (17 years, 10 months ago) by johnpye
Fixed OSPATH typo
Other minor doc changes.

Revision 963 - Directory Listing
Modified Tue Dec 12 13:36:52 2006 UTC (17 years, 10 months ago) by johnpye
Added ATOLVECT, RTOLVECT parameters to LSODE
Fixed silly bug in testing of newton.a4c
Text changes in ida.c.

Revision 962 - Directory Listing
Modified Mon Dec 11 14:43:02 2006 UTC (17 years, 10 months ago) by johnpye
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 961 - Directory Listing
Modified Mon Dec 11 14:04:13 2006 UTC (17 years, 10 months ago) by johnpye
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 956 - Directory Listing
Modified Sat Dec 9 15:38:05 2006 UTC (17 years, 10 months ago) by johnpye
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.

Revision 954 - Directory Listing
Modified Sat Dec 9 02:20:15 2006 UTC (17 years, 10 months ago) by johnpye
A few cleanups to get towards compilation on Solaris.

Revision 953 - Directory Listing
Modified Thu Dec 7 14:47:15 2006 UTC (17 years, 10 months ago) by johnpye
Added test for C99 FPE handling
Fixing mess-up of ChildByChar in arrayinst.h header.
Added 'safeeval' config option to IDA.
Changed 'SigHandler' to 'SigHandlerFn *' in line with other function pointer datatypes being used in ASCEND.
Moved processVarStatus *after* 'Failed integrator' exception (ongoing issue).

Revision 952 - Directory Listing
Modified Tue Nov 28 23:01:50 2006 UTC (17 years, 10 months ago) by johnpye
Pruned some debug messages from integrator.c, ida.c.
Improved exception messages from SolverParameter class.
Added array access functions to Instanc class (ongoing).
Attempting to run CUnit tests from the Python test suite (not successful, ongoing).
Cleaned up some headers, license notices, doxy docs, etc.
Fixed wrong #include <dmalloc.h> in ascpy.i (thanks Krishnan).

Revision 951 - Directory Listing
Modified Sun Nov 26 05:01:49 2006 UTC (17 years, 10 months ago) by johnpye
Added 'GSMODIFIED' parameter to IDA implementation.
Working on getting the idadenx model to converge using the SPGMR solver.

Revision 950 - Directory Listing
Modified Sun Nov 26 03:14:02 2006 UTC (17 years, 10 months ago) by johnpye
Completed adding idadenx to test suite.
Restored behaviour of mxstep to IDA.

Revision 949 - Directory Listing
Modified Sun Nov 26 03:04:30 2006 UTC (17 years, 10 months ago) by johnpye
Fixed IDA to solve the 'idadenx' problem (mxstep and mxsteps were causing problems)

Revision 948 - Directory Listing
Modified Sun Nov 26 01:36:49 2006 UTC (17 years, 10 months ago) by johnpye
Fixed bug with integrator_ida_djex, and switched to using *solvers* varlist in integrator 'visit' routine (needs checking with LSODE!)

Revision 947 - Directory Listing
Modified Sun Nov 26 00:26:57 2006 UTC (17 years, 10 months ago) by johnpye
Fixed problem with integrator_analyse_dae, IDA work ongoing.

Revision 946 - Directory Listing
Modified Sat Nov 25 15:28:56 2006 UTC (17 years, 10 months ago) by johnpye
Found bug in integrator_analyse_dae... ongoing

Revision 945 - Directory Listing
Modified Sat Nov 25 12:41:03 2006 UTC (17 years, 10 months ago) by johnpye
Fixed a bug in slv_param_char.
More work on IDA ongoing.

Revision 944 - Directory Listing
Modified Sat Nov 25 10:46:13 2006 UTC (17 years, 10 months ago) by johnpye
Implemented ATOLVECT, ATOL, RTOL parameters for the IDA integrator.

Revision 942 - Directory Listing
Modified Sat Nov 25 05:26:47 2006 UTC (17 years, 10 months ago) by johnpye
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.

Revision 941 - Directory Listing
Modified Fri Nov 24 10:46:32 2006 UTC (17 years, 10 months ago) by johnpye
Changed integrator_set_engine to return 0 on success.
Fixed Integrator::setEngine to throw range_error / IndexError on invalid selection.
Test suite contains testIDA that works now (more tests yet to come)

Revision 940 - Directory Listing
Modified Fri Nov 24 08:07:33 2006 UTC (17 years, 10 months ago) by johnpye
Fixed 'testLSODE' in test.py, added 'IntegratorReporterNull' that makes no output (for testing purposes)

Revision 939 - Directory Listing
Modified Fri Nov 24 07:00:05 2006 UTC (17 years, 10 months ago) by johnpye
Fixing test_ascMalloc for case where dmalloc is in use

Revision 938 - Directory Listing
Modified Fri Nov 24 06:09:46 2006 UTC (17 years, 10 months ago) by johnpye
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 937 - Directory Listing
Modified Fri Nov 24 03:58:49 2006 UTC (17 years, 10 months ago) by johnpye
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.

Revision 936 - Directory Listing
Modified Fri Nov 24 01:06:10 2006 UTC (17 years, 10 months ago) by johnpye
Fixed double-flush bug that results in duplicate output of some error_reporter messages.

Revision 935 - Directory Listing
Modified Fri Nov 24 00:37:11 2006 UTC (17 years, 10 months ago) by johnpye
Adopted suggestions wrt Py_None on Windows platform (extpy)
Fixed up default values of CUNIT_PREFIX (needs testing for case where missing)

Revision 933 - Directory Listing
Modified Thu Nov 23 22:28:00 2006 UTC (17 years, 10 months ago) by johnpye
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py

Revision 932 - Directory Listing
Modified Thu Nov 23 13:23:33 2006 UTC (17 years, 10 months ago) by johnpye
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 931 - Directory Listing
Modified Thu Nov 23 04:31:19 2006 UTC (17 years, 10 months ago) by johnpye
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 930 - Directory Listing
Modified Wed Nov 22 13:09:09 2006 UTC (17 years, 10 months ago) by johnpye
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.

Revision 929 - Directory Listing
Modified Wed Nov 22 11:01:06 2006 UTC (17 years, 10 months ago) by johnpye
Little more on removing stream redirection (ongoing)

Revision 928 - Directory Listing
Modified Wed Nov 22 10:32:18 2006 UTC (17 years, 10 months ago) by johnpye
Commented out some stream redirection stuff for simplicity.
The CUnit test suite now works as expected (but without output suppression, for the moment).
Some more effort on IDA (ongoing).

Revision 927 - Directory Listing
Modified Wed Nov 22 07:23:02 2006 UTC (17 years, 10 months ago) by johnpye
Fixed windows path for test_ascDynaLoad

Revision 926 - Directory Listing
Modified Wed Nov 22 07:22:17 2006 UTC (17 years, 10 months ago) by johnpye
Fixed test of ascDynaLoad

Revision 924 - Directory Listing
Modified Thu Nov 9 13:57:02 2006 UTC (17 years, 11 months ago) by johnpye
Added simple harmonic motion model.
Fixed loop-termination bug in ida.c

Revision 921 - Directory Listing
Modified Mon Nov 6 07:49:06 2006 UTC (17 years, 11 months ago) by johnpye
Fixing up some malloc/free problems with  integrator.c, removing some debug output from slv3.
Working on fixing IDA for systems with inactive variables (ongoing).

Revision 920 - Directory Listing
Modified Mon Nov 6 05:19:00 2006 UTC (17 years, 11 months ago) by johnpye
Fixed bug #297

Revision 919 - Directory Listing
Modified Mon Nov 6 04:48:59 2006 UTC (17 years, 11 months ago) by johnpye
Fixing bug #305 (CONOPT not working with testconopt.a4c).
Some effort to rearrange external 'solve' scripts, ongoing.
Note, relman_diff2 returns 0 on success, but relman_eval returns 1 on success!

Revision 917 - Directory Listing
Modified Thu Nov 2 21:34:59 2006 UTC (17 years, 11 months ago) by johnpye
Added some debug stuff to work on the on_load problem.

Revision 915 - Directory Listing
Modified Sat Oct 28 07:06:22 2006 UTC (17 years, 11 months ago) by johnpye
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...

Revision 914 - Directory Listing
Modified Sat Oct 28 05:27:58 2006 UTC (17 years, 11 months ago) by johnpye
Fixed prototype for extpy_destroy
Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)


Revision 913 - Directory Listing
Modified Sat Oct 28 03:55:19 2006 UTC (17 years, 11 months ago) by johnpye
Added test for SUNDIALS version (2.2.1 and 2.3.0-pre are preferred)
Fixed silly warning message about ignored return values from CONSOLE_DEBUG on GCC.

Revision 912 - Directory Listing
Modified Fri Oct 27 07:18:21 2006 UTC (17 years, 11 months ago) by johnpye
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 911 - Directory Listing
Modified Thu Oct 26 13:44:58 2006 UTC (17 years, 11 months ago) by johnpye
Removed a few more redundant debug msgs

Revision 910 - Directory Listing
Modified Thu Oct 26 13:35:25 2006 UTC (17 years, 11 months ago) by johnpye
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.

Revision 909 - Directory Listing
Modified Thu Oct 26 12:44:41 2006 UTC (17 years, 11 months ago) by johnpye
Added finite-difference evaluation of gradients in blackboxes.
Some work on J*v evaluation with IDA.

Revision 908 - Directory Listing
Modified Thu Oct 26 10:18:53 2006 UTC (17 years, 11 months ago) by johnpye
first attempt at merging with Ben's changes on the trunk

Revision 903 - Directory Listing
Modified Wed Oct 25 13:07:12 2006 UTC (17 years, 11 months ago) by johnpye
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).


Revision 902 - Directory Listing
Modified Wed Oct 25 07:35:39 2006 UTC (17 years, 11 months ago) by johnpye
Integrator remembers 'duration' used previously.
Implemented interuption of integration with 'stop' button.

Revision 900 - Directory Listing
Modified Wed Oct 25 06:03:04 2006 UTC (17 years, 11 months ago) by johnpye
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 898 - Directory Listing
Modified Tue Oct 24 13:34:13 2006 UTC (17 years, 11 months ago) by johnpye
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

Revision 897 - Directory Listing
Modified Tue Oct 24 11:05:18 2006 UTC (17 years, 11 months ago) by johnpye
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 896 - Directory Listing
Modified Tue Oct 24 05:04:24 2006 UTC (17 years, 11 months ago) by johnpye
Renamed 'tank' to 'dyn_tank' in dyntank.* (for benefit of 'on_load' behaviour in PyGTK GUI)
Formatting in ivpStep.a4c (ivpDAE), updated copyright block.
Improved formatting of typelint error messages (using error_reporter a bit better, eliminating 'StatioLabel' calls where possible).

Revision 895 - Directory Listing
Modified Tue Oct 24 00:12:34 2006 UTC (17 years, 11 months ago) by johnpye
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 894 - Directory Listing
Modified Mon Oct 23 01:07:58 2006 UTC (17 years, 11 months ago) by johnpye
Improved error message in integrator.c (added names of variables with clashing ode_id).
Removed debug output from observer.py.
Fixed icon paths in modelview (context menu)

Revision 888 - Directory Listing
Modified Wed Oct 11 14:53:27 2006 UTC (18 years ago) by johnpye
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 - Directory Listing
Modified Mon Oct 9 10:51:06 2006 UTC (18 years ago) by johnpye
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 874 - Directory Listing
Modified Thu Oct 5 15:13:22 2006 UTC (18 years ago) by johnpye
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.

Revision 873 - Directory Listing
Modified Thu Oct 5 14:51:49 2006 UTC (18 years ago) by johnpye
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.

Revision 870 - Directory Listing
Modified Wed Oct 4 15:18:18 2006 UTC (18 years ago) by johnpye
Added 'user_data' to the external method structure, changed some corresponding functions.
Tried adding to C++ API the means to declare a Python method, still ongoing.

Revision 869 - Directory Listing
Modified Wed Oct 4 14:03:46 2006 UTC (18 years ago) by johnpye
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 866 - Directory Listing
Modified Fri Sep 29 06:22:21 2006 UTC (18 years ago) by johnpye
Adding polar moment of inertia to atoms.a4l.
Fixing two small windows-related bugs in new importhandler stuff.

Revision 865 - Directory Listing
Modified Thu Sep 28 14:19:17 2006 UTC (18 years ago) by johnpye
First success at executing python code from inside ASCEND "IMPORT" statement :-)

Revision 864 - Directory Listing
Modified Thu Sep 28 13:39:16 2006 UTC (18 years ago) by johnpye
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.

Revision 863 - Directory Listing
Modified Thu Sep 28 08:17:18 2006 UTC (18 years ago) by johnpye


Revision 862 - Directory Listing
Modified Tue Sep 26 13:47:27 2006 UTC (18 years ago) by johnpye
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.

Revision 855 - Directory Listing
Modified Wed Sep 20 14:00:41 2006 UTC (18 years ago) by johnpye
Removed some verbage in Integrator output

Revision 854 - Directory Listing
Modified Wed Sep 20 13:36:40 2006 UTC (18 years ago) by johnpye
First tentative version in 'integration reporting':
Values of observed variables from the simulation are added to an Observer table after simulation completes.
This is not very efficiently coded at this stage but is a start.
Also some minor changes to text and comments in some base/generic files.

Revision 846 - Directory Listing
Modified Sun Sep 17 07:34:20 2006 UTC (18 years, 1 month ago) by johnpye
Added simple Lotka-Volterra population model. Needs validation still.
Added 'rate' to atoms.a4l.
Fixed 'pendulum' into a single-order version (needs checking).
Removed debug output from relation_util.c.

Revision 843 - Directory Listing
Modified Sun Sep 10 06:18:24 2006 UTC (18 years, 1 month ago) by johnpye
Changed over to ASC_NEW* for some solver memory allocation.
Fixed up file headers.
Change debug and error output to use new mechanism.

Revision 839 - Directory Listing
Modified Fri Sep 8 07:46:53 2006 UTC (18 years, 1 month ago) by johnpye
Removed some debug output from cond_config.c
Added superposition test (beam2.a4c)
Fixed up problems in beam.a4c (ongoing).

Revision 833 - Directory Listing
Modified Wed Aug 23 08:09:36 2006 UTC (18 years, 1 month ago) by johnpye
Added ability to invert a=tan(x).
Added test model 'testtan' to testfunc.a4c.

Revision 832 - Directory Listing
Modified Wed Aug 23 07:06:47 2006 UTC (18 years, 1 month ago) by johnpye
Renamed testTrig to testfunc.a4c.
Removed some buildtime messages.
Added self-test to testfunc model.
Some windows-specific changes to SConstruct (need testing?)

Revision 826 - Directory Listing
Modified Tue Aug 22 01:34:33 2006 UTC (18 years, 1 month ago) by johnpye
Increased max ext relations to 50.
Changed default web browser on linux to firefox.
Copied documentation files into source tree
Added build script to allow HTML and PDF generation via SCons.


Revision 823 - Directory Listing
Modified Thu Aug 17 15:50:42 2006 UTC (18 years, 2 months ago) by johnpye
Fixed a big with incorrect evaluation of 'arctan' in 'SAFE' evaluation mode.
NOT YET TESTED.

Revision 819 - Directory Listing
Modified Wed Aug 16 15:36:12 2006 UTC (18 years, 2 months ago) by johnpye
Moved the location of the PATHENVIRONMENTVAR to config.h.in so that
it can be shared with other places that want to use that variable.
Did some bug fixing of the simple TMY reader.

Revision 818 - Directory Listing
Modified Wed Aug 16 12:54:08 2006 UTC (18 years, 2 months ago) by johnpye
Renamed the installer from 'ASCEND PyGTK' to 'ASCEND'
Added the '-y' to YACCFLAGS and '-l' TO LEXFLAGS.
Other changes are trivial.

Revision 815 - Directory Listing
Modified Fri Aug 11 04:51:27 2006 UTC (18 years, 2 months ago) by johnpye
Removed some debug output

Revision 812 - Directory Listing
Modified Fri Aug 11 04:22:18 2006 UTC (18 years, 2 months ago) by johnpye
First apparently working version of data reader. This version just done linear interpolation.

Revision 811 - Directory Listing
Modified Thu Aug 10 17:08:16 2006 UTC (18 years, 2 months ago) by johnpye
Added vim 'syntax=python' comments to many SConscript files.
Lots more work on the datareader extfn.
The testtmy.a4c file requires the file obtained here ('gzip -d' before use)
http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z

Revision 808 - Directory Listing
Modified Fri Aug 4 09:08:16 2006 UTC (18 years, 2 months ago) by johnpye
Some debug output in cond_config.
Working on adding PyGTK GUI functionality to show inactive relaitons.

Revision 807 - Directory Listing
Modified Fri Aug 4 08:14:39 2006 UTC (18 years, 2 months ago) by johnpye
Added new CMSlv test model.
Fixed a speling misteak.

Revision 806 - Directory Listing
Modified Fri Aug 4 07:45:18 2006 UTC (18 years, 2 months ago) by johnpye
Added reporting of 'included' relations in PyGTK interface.
Minor commenting changes to instquery.h.

Revision 804 - Directory Listing
Modified Fri Aug 4 05:54:34 2006 UTC (18 years, 2 months ago) by johnpye
In slv9, made changes to keep CONOPT from complaining. CMSlv still not working as expected though.
Decreased required version of Bison to 2.0.
Switched search path for CONOPT on Linux to the CONOPT_PATH env var
(LD_LIBRARY_PATH was being interfered with when ASC_DEV=1).
Some other debug message changes.

Revision 802 - Directory Listing
Modified Thu Aug 3 02:24:45 2006 UTC (18 years, 2 months ago) by johnpye
Removed incorrect copyright in extfntest.c.
Fixed CONOPT detection on linux in SConstruct.
Tidied up comments in instquery.h.

Revision 800 - Directory Listing
Modified Tue Aug 1 12:22:09 2006 UTC (18 years, 2 months ago) by johnpye
Fixed for CONOPT under Windows.

Revision 799 - Directory Listing
Modified Tue Aug 1 00:56:10 2006 UTC (18 years, 2 months ago) by johnpye
Corrected syntax in testcmslv.
Changed instance.cpp so that residuals are not called for logrels.
Added CONOPT_BOUNDLIMIT to both slv8 and slv9.
Changed limits for colsta in slv9 (needs checking)

Revision 798 - Directory Listing
Modified Mon Jul 31 12:40:50 2006 UTC (18 years, 2 months ago) by johnpye
slight changes to ascpanic output in relation.c
commenting changge in testcmslv

Revision 791 - Directory Listing
Modified Thu Jul 27 12:04:19 2006 UTC (18 years, 2 months ago) by johnpye
Moved 'SearchArchiveLibraryPath' into ascDynaLoad so that it can be shared between
compiler/packages and solver/conopt.

Changed debug messages in ospath.

Fixed conopt to search for consub3 in $LD_LIBRARY_PATH or /usr/lib:/usr/local/lib
by default on Linux (or %PATH% or c:\Program Files\ASCEND on Windows).

Modified definition of testconopt so that some parameters can be varied via the interface.

Revision 790 - Directory Listing
Modified Thu Jul 27 07:33:45 2006 UTC (18 years, 2 months ago) by johnpye
Added support for dlopening of CONOPT. This means that we can distribute ASCEND without
needing to maintain two versions.

Revision 789 - Directory Listing
Modified Thu Jul 27 04:35:17 2006 UTC (18 years, 2 months ago) by johnpye
Working version of testconopt.a4c now. This model yeilds the solution given in the CONOPT tutorial.

Revision 788 - Directory Listing
Modified Thu Jul 27 03:17:54 2006 UTC (18 years, 2 months ago) by johnpye
CONOPT running with testconopt.a4c but seems to give the wrong answer still.

Revision 787 - Directory Listing
Modified Wed Jul 26 15:09:14 2006 UTC (18 years, 2 months ago) by johnpye
More detail about why CONOPT solver is ineligible

Revision 785 - Directory Listing
Modified Wed Jul 26 14:29:09 2006 UTC (18 years, 2 months ago) by johnpye
Some more work to integrate the new CONOPT API with ASCEND.
Also added ability to select different solvers from the PYGTK GUI

Revision 784 - Directory Listing
Modified Wed Jul 26 12:44:00 2006 UTC (18 years, 2 months ago) by johnpye
Enabled the LRSLV solver, so that CMSLV will be able to function correctly.

Revision 783 - Directory Listing
Modified Wed Jul 26 09:16:19 2006 UTC (18 years, 2 months ago) by johnpye
First work towards reinstating the CONOPT solver. So far, I've got it building
and linking without errors, but haven't tested the resulting runtime.

Revision 782 - Directory Listing
Modified Tue Jul 25 02:09:12 2006 UTC (18 years, 2 months ago) by johnpye
Radu Serban sent me a preview of the new version of IDA which has new header file layout.
This patch updates for the new layout.
Also couple of minor fixes for gcc warnings in numlist and library.cpp.

Revision 779 - Directory Listing
Modified Tue Jul 18 06:40:17 2006 UTC (18 years, 3 months ago) by johnpye
Trying to fix autotools build

Revision 778 - Directory Listing
Modified Tue Jul 18 05:10:03 2006 UTC (18 years, 3 months ago) by johnpye
Working to fix the 'NORETURN' stuff so that it works on both MSVC++ and GCC and fails
gracefully elsewhere.

Revision 777 - Directory Listing
Modified Tue Jul 18 04:40:08 2006 UTC (18 years, 3 months ago) by johnpye
Working on fixing a couple of VC++ warnings

Revision 775 - Directory Listing
Modified Sat Jul 15 07:18:54 2006 UTC (18 years, 3 months ago) by johnpye
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 771 - Directory Listing
Modified Fri Jul 14 04:31:54 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug noise.
Minor changes to dsg models.

Revision 770 - Directory Listing
Modified Fri Jul 14 03:35:16 2006 UTC (18 years, 3 months ago) by johnpye
Added 'use relation sharing' option to the PyGTK GUI.
Changed some debug output calls.
Tidied up headers in anoncopy, anonmerg, etc.

Revision 769 - Directory Listing
Modified Thu Jul 13 08:19:11 2006 UTC (18 years, 3 months ago) by johnpye
Tidying up

Revision 768 - Directory Listing
Modified Thu Jul 13 07:39:30 2006 UTC (18 years, 3 months ago) by johnpye
Tidying up, comments only.

Revision 767 - Directory Listing
Modified Thu Jul 13 07:18:06 2006 UTC (18 years, 3 months ago) by johnpye
Added 'mainpage' to docs

Revision 764 - Directory Listing
Modified Thu Jul 13 06:09:43 2006 UTC (18 years, 3 months ago) by johnpye
Removing the 'COPYING' file (we have 'LICENSE.txt' in the top dir).

Revision 759 - Directory Listing
Modified Thu Jul 13 04:16:10 2006 UTC (18 years, 3 months ago) by johnpye
Commenting and changes to deubg output. Some reformatting of ModifyBlackBoxRelationPointers.

Revision 755 - Directory Listing
Modified Wed Jul 12 03:57:02 2006 UTC (18 years, 3 months ago) by johnpye
Tidied up headers

Revision 753 - Directory Listing
Modified Wed Jul 12 03:16:51 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug output from 'extcall'.

Revision 752 - Directory Listing
Modified Wed Jul 12 02:50:54 2006 UTC (18 years, 3 months ago) by johnpye
Fixed bug with instantiation of 'outvars'.

Revision 748 - Directory Listing
Modified Tue Jul 11 05:54:26 2006 UTC (18 years, 3 months ago) by johnpye
Lot of svn ignore tagging.
Little more work on DSG model.

Revision 743 - Directory Listing
Modified Thu Jul 6 14:22:26 2006 UTC (18 years, 3 months ago) by johnpye
Few small changes to fix for Linux after the recent MSVC++ oriented changes.

Revision 742 - Directory Listing
Modified Thu Jul 6 13:47:41 2006 UTC (18 years, 3 months ago) by johnpye
I think this almost resolves all the Visual C++ issues.
Just an outstanding issue with the use of the option struct in LibraryProc.c
eg use of &g_compiler_warnings in initialiser.

Revision 741 - Directory Listing
Modified Thu Jul 6 08:54:42 2006 UTC (18 years, 3 months ago) by johnpye
Fixes for MSVC++

Revision 737 - Directory Listing
Modified Wed Jul 5 12:36:29 2006 UTC (18 years, 3 months ago) by johnpye
DSG model converges, using 3 external functions :-)
Added more info in 'diagnose' varinfo and relinfo popups, plus tabstops in display.
Allowed parameters to be used with instantiation_error in instantiate.c.
Fixed up some error messages in bintoken.c.
Renamed 'newcalc_done' to 'evaluation_required' in rel.c.
Other minor changes to error messages and commenting.


Revision 736 - Directory Listing
Modified Wed Jul 5 04:56:26 2006 UTC (18 years, 3 months ago) by johnpye
Relation expressions shown in diagnose window
(click in incidence matrix, then (i) or alt-r)

Revision 735 - Directory Listing
Modified Wed Jul 5 02:42:19 2006 UTC (18 years, 3 months ago) by johnpye
Improved implementation of 'diagnose' window in PyGTK interface.
You can now view solver-side details about variables and relations, see the '(i)' icons.

Revision 732 - Directory Listing
Modified Tue Jul 4 14:40:17 2006 UTC (18 years, 3 months ago) by johnpye
Added general-purpose text-information dialog to PyGTK interface.
Added reporting of clique of a variable to PyGTK GUI.
Changed 'fixable' and 'new bounds' to use the new dialog.
Removed 'set<...>' from ascpy.i (it wasn't working), changed to vector<...>.
Exported a couple of var incidences fns to the DLL/SO.

Revision 731 - Directory Listing
Modified Tue Jul 4 07:42:06 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug messages.
Fixed up return values for Integrators functions to comply with integrator.c API.

Revision 728 - Directory Listing
Modified Tue Jul 4 05:03:59 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug messages from external libraries stuff.
Fixed auto-sim stuff for files given with relative path on the commandline.

Revision 727 - Directory Listing
Modified Tue Jul 4 04:03:37 2006 UTC (18 years, 3 months ago) by johnpye
This change fixes the external relation evaluation! There are definite problems
with convergence but this may be due to tolerences being too fine in ASCEND compared
to freesteam.

Revision 726 - Directory Listing
Modified Mon Jul 3 14:30:26 2006 UTC (18 years, 3 months ago) by johnpye
Matrix evaluation of the jacobian is working now but there is something wrong
with the solver's view of the incidence matrix, or something, as it does
seem to be acting on the values it's receiving.

Revision 725 - Directory Listing
Modified Mon Jul 3 11:52:45 2006 UTC (18 years, 3 months ago) by johnpye
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...

Revision 724 - Directory Listing
Modified Mon Jul 3 08:07:04 2006 UTC (18 years, 3 months ago) by johnpye
Fixed bug with rel_instance_to_var

Revision 722 - Directory Listing
Modified Mon Jul 3 06:53:02 2006 UTC (18 years, 3 months ago) by johnpye
changing errors to warnings...

Revision 721 - Directory Listing
Modified Mon Jul 3 06:22:42 2006 UTC (18 years, 3 months ago) by johnpye
Added '--models' option to ascend-config.
Fixed a bug with packages.c wrt generating absolute paths to library files.
Added SCons directives to install header files in INSTALL_INCLUDE subdirs.
Changed rel.c so that init function is only run if provided in the package.
Added 'ospath_getabs' to convert relative paths into absolute paths by adding prefix of fully-resolved '.'

Revision 720 - Directory Listing
Modified Sun Jul 2 01:31:12 2006 UTC (18 years, 3 months ago) by johnpye
ExtRel_MapDataToMtx is working now (seems to be) but the incidences may not be correct,
as the var filter says var is not 'used'.

Revision 719 - Directory Listing
Modified Sat Jul 1 09:35:23 2006 UTC (18 years, 3 months ago) by johnpye
Added 'invars' and 'outvars' pointers (to var_variable pointer arrays) in ExtRelCache.
This will allow the ExtRel_MapDataToMtx function to be reimplemented using solver-side pointers
instead of going back to the arglist stuff in ExtCallNode.

Revision 718 - Directory Listing
Modified Sat Jul 1 05:28:17 2006 UTC (18 years, 3 months ago) by johnpye
Fixed relman_diffs to make call to ExtRel_Diffs_RHS and _LHS (this is 
a bad hack though, just to get the old code working again).

Revision 717 - Directory Listing
Modified Sat Jul 1 03:51:31 2006 UTC (18 years, 3 months ago) by johnpye
Fixed silly bug with extnode on non-blackbox rels

Revision 716 - Directory Listing
Modified Sat Jul 1 03:18:30 2006 UTC (18 years, 3 months ago) by johnpye
Fixed up ExtRel_Evaluate_LHS (was not accessing the arglist correctly),
it seems pretty inefficient at the moment, but we'll persist.

Revision 715 - Directory Listing
Modified Sat Jul 1 03:17:37 2006 UTC (18 years, 3 months ago) by johnpye
Fixed up some memory leaks, hopefully.

Revision 713 - Directory Listing
Modified Fri Jun 30 05:30:41 2006 UTC (18 years, 3 months ago) by johnpye
Removed disused 'cancel' facility in Asc_Panic (replaced it with
a warning saying so).

Revision 712 - Directory Listing
Modified Fri Jun 30 05:18:56 2006 UTC (18 years, 3 months ago) by johnpye
Implemented 'instance_getname' that should return a stringified
version of an enum inst_t (Instance::t).
Some other small -Wall fixes.

Revision 711 - Directory Listing
Modified Thu Jun 29 16:18:54 2006 UTC (18 years, 3 months ago) by johnpye
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 710 - Directory Listing
Modified Thu Jun 29 08:53:37 2006 UTC (18 years, 3 months ago) by johnpye
Added my so-called 'quick fix' to external relation processing.
Still need to pursue corruption of efunc->etype pointer, for some
reason.

Revision 709 - Directory Listing
Modified Wed Jun 28 16:28:57 2006 UTC (18 years, 3 months ago) by johnpye
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 708 - Directory Listing
Modified Tue Jun 27 07:34:31 2006 UTC (18 years, 3 months ago) by johnpye
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 707 - Directory Listing
Modified Tue Jun 27 05:49:11 2006 UTC (18 years, 3 months ago) by johnpye
Lots of tidying up in instantiate.c.
Fixed up some GPL headers.
Changed from 'solver_var' to 'factor' in extfntest.a4c.
Added test for AtomAssigned in extfunc.c.

Revision 704 - Directory Listing
Modified Mon Jun 26 23:00:56 2006 UTC (18 years, 3 months ago) by ben.allan
- fixed a minor bug in the use of dimensions in samplelist
and a #define misuse in ospath.
- defined eolstyle unix on the trunk, as I have encountered
at least 4 too many mixed-eol-style-in-one-file files in trying to 
rebuild today. obviously committer discipline is insufficient.


Revision 703 - Directory Listing
Modified Mon Jun 26 14:04:49 2006 UTC (18 years, 3 months ago) by johnpye
Turned off DEBUG_RELS
Fixed bug with system_build.

Revision 702 - Directory Listing
Modified Mon Jun 26 13:37:58 2006 UTC (18 years, 3 months ago) by johnpye
Missed another outstanding #include to instance.h

Revision 700 - Directory Listing
Modified Mon Jun 26 12:56:55 2006 UTC (18 years, 3 months ago) by johnpye
Removed 'instance.c' (it said we should).
A little bit more work on blackbox_evaluate_residual.

Revision 699 - Directory Listing
Modified Mon Jun 26 10:23:08 2006 UTC (18 years, 3 months ago) by johnpye
Added skeleton 'blackbox_evaluate_residual'...

Revision 698 - Directory Listing
Modified Mon Jun 26 08:08:05 2006 UTC (18 years, 3 months ago) by johnpye
Removed this, inadvertently made it into last commit.

Revision 697 - Directory Listing
Modified Mon Jun 26 07:55:45 2006 UTC (18 years, 3 months ago) by johnpye
Temporarily removed extrel.* from disused dir (to avoid spurious grep)
Commenting and tidying up of some other files related to extrels.

Revision 696 - Directory Listing
Modified Mon Jun 26 04:55:05 2006 UTC (18 years, 3 months ago) by johnpye
Reorganised extcall.h, extfunc.h (mostly just rearranging and commenting)

Revision 695 - Directory Listing
Modified Thu Jun 22 08:12:19 2006 UTC (18 years, 3 months ago) by johnpye
A trivial tweak to the way extrels are written out

Revision 694 - Directory Listing
Modified Thu Jun 22 07:54:53 2006 UTC (18 years, 3 months ago) by johnpye
Lots of tidying up to relation_util code. (Most commments but a 
little refactoring of repeated code chunks.)
Added 'IMPORT' to the Gedit syntax definition.
Added error_reporters in place of some console output.

Revision 693 - Directory Listing
Modified Thu Jun 22 02:54:40 2006 UTC (18 years, 3 months ago) by johnpye
Fixed a problem with external packages when loaded from PyGTK

Revision 692 - Directory Listing
Modified Thu Jun 22 02:45:47 2006 UTC (18 years, 3 months ago) by johnpye
Fixed up behaviour of default ASCENDLIBRARY in python interface (for the case
where you're using ascpy without using the PyGTK GUI).
Removed some debug output when loading external libraries.
Fixed up the 'extfntest' example & SConscript file.

Revision 690 - Directory Listing
Modified Thu Jun 22 00:48:31 2006 UTC (18 years, 3 months ago) by johnpye
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.

Revision 689 - Directory Listing
Modified Thu Jun 22 00:19:54 2006 UTC (18 years, 3 months ago) by johnpye
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 681 - Directory Listing
Modified Wed Jun 21 11:16:59 2006 UTC (18 years, 3 months ago) by johnpye
Found the problem with the autotools build

Revision 680 - Directory Listing
Modified Wed Jun 21 11:14:49 2006 UTC (18 years, 3 months ago) by johnpye
Adding explicit dependency of tarball on 'ascend.spec'.
Use automated creation of SRCS lists in base/generic/general makefile.

Revision 678 - Directory Listing
Modified Wed Jun 21 10:07:54 2006 UTC (18 years, 3 months ago) by johnpye
Added references to integrator, lsode, samplelist to autotools build

Revision 669 - Directory Listing
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 3 months ago) by johnpye
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 664 - Directory Listing
Modified Wed Jun 14 09:58:42 2006 UTC (18 years, 4 months ago) by johnpye
Fixed bug with pathless resolution of module filenames.

Revision 662 - Directory Listing
Modified Wed Jun 14 09:33:04 2006 UTC (18 years, 4 months ago) by johnpye
module.c switched over to use ospath_searchpath_iterate for REQUIRE statments.
Removed some too-new libglade keywords from ascend.glade.
Fixed up some error messages in scanner.l and library.c.
Corrected some non-terminated string bugs in ospath.c.

Revision 661 - Directory Listing
Modified Wed Jun 14 06:20:50 2006 UTC (18 years, 4 months ago) by johnpye
Cleaned up module.c and some more minor changes to scanner.h and scanner.l commenting.

Revision 660 - Directory Listing
Modified Wed Jun 14 06:03:43 2006 UTC (18 years, 4 months ago) by johnpye
Cleaned up scanner.h header

Revision 652 - Directory Listing
Modified Thu Jun 1 12:06:30 2006 UTC (18 years, 4 months ago) by johnpye
Adding Tcl/Tk interface to the GNOME menu.
Small doc change in slv_common.h.

Revision 648 - Directory Listing
Modified Tue May 30 01:33:37 2006 UTC (18 years, 4 months ago) by johnpye
Changing all token from *_T to *_TOK. This is to prevent a clash with MSVC which defines 'SIZE_T'
in one if its Windows headers. 

Revision 641 - Directory Listing
Modified Mon May 29 06:51:22 2006 UTC (18 years, 4 months ago) by johnpye
Putting back #include <windows.h> in ascConfig.

Revision 640 - Directory Listing
Modified Mon May 29 06:35:14 2006 UTC (18 years, 4 months ago) by johnpye
Fixing bug #267 in trunk.

Revision 639 - Directory Listing
Modified Mon May 29 06:32:42 2006 UTC (18 years, 4 months ago) by johnpye
Fixing up declaration of ascstrdupf_dbg to stop MSVC whinge.

Revision 638 - Directory Listing
Modified Mon May 29 06:28:14 2006 UTC (18 years, 4 months ago) by johnpye
Shifting to alleged ISO C++ form of 'getcwd' command, '_getcwd', for MSVC2005.

Revision 636 - Directory Listing
Modified Mon May 29 06:22:52 2006 UTC (18 years, 4 months ago) by johnpye
Fixed up some other small probs with MSVC2005

Revision 635 - Directory Listing
Modified Mon May 29 06:16:26 2006 UTC (18 years, 4 months ago) by johnpye
Small fix to keep MSVC2005 happy.

Revision 634 - Directory Listing
Modified Sat May 27 05:52:47 2006 UTC (18 years, 4 months ago) by johnpye
The ';' was messing up the build, see
http://buildbot.cruncher2.dyndns.org/ascend-autotools/builds/36/step-compile/0

Revision 633 - Directory Listing
Modified Fri May 26 17:02:31 2006 UTC (18 years, 4 months ago) by ben.allan
ubuntu fix.

Revision 629 - Directory Listing
Modified Wed May 24 04:34:25 2006 UTC (18 years, 4 months ago) by johnpye
Added changes to allow autotools build on ubuntu. There were some wrong assumptions
about file locations that I was able to correct using information in the 
tclConfig.sh and tkConfig.sh files. This will need testing on Fedora/Unix/etc.

Revision 628 - Directory Listing
Modified Wed May 24 01:45:02 2006 UTC (18 years, 4 months ago) by johnpye
Fixed up standard paths stuff to use 'INSTALL_ASCDATA' as the place where tcltk/python/models etc
will live. The confusion here came from the fact that I was taking 'INSTALL_SHARE' to be be assumed
to mean 'the location of /usr/share' -- hence the resulting '$INSTALL_SHARE/ascend' that was bothering
Ben. The 'INSTALL_ASCDATA' fixes this, and behaves as he will like, I hope.

Also note that I have switched the default situation in config.h.in to use relative paths by default,
which is the preferred CMU way. SCons builds will default to absolute paths on non-Windows systems.

Revision 624 - Directory Listing
Modified Thu May 18 15:39:38 2006 UTC (18 years, 5 months ago) by ben.allan
Summary: most of the recent complaints about autotools build fixed,
but the buildbot might find a problem with the scons build/install/rpmbuild.


Details:

configure,Driver.c,utilities/config.h.in:
The choice of INSTALL_DATA as a configure variable name
has been repaired (renamed INSTALL_SHARE); INSTALL_DATA is the unix
canonical name for the program 'install' handling a data file.
Both autotools and scons builds have been updated to reflect this,
in the process correcting the definition from prefix/share to
prefix/share/ascend. 

autotools build:
Added --with-quiet option to make the install of already installed and
unchanged files less verbose.
Put in a workaround for the '' problem in tkConfig.sh seen by KC/JP.
Added --datadir support to autotools configure. If you configure
the autotools --datadir=PREFIX/share/ascend you get the same behavior
as the Pye packaging; by default you get the CMU packaging convention instead.
Added utilities/env.c to build.

compiler:
Turned off AWAL in anontype.c.
Noodling away at blackboxes continues...


Revision 620 - Directory Listing
Modified Thu May 18 06:24:24 2006 UTC (18 years, 5 months ago) by johnpye
Added reporting of invalid units in assignments (inside METHODs)

Revision 619 - Directory Listing
Modified Thu May 18 03:07:51 2006 UTC (18 years, 5 months ago) by johnpye
Working on bug #215...

Revision 618 - Directory Listing
Modified Wed May 17 07:01:09 2006 UTC (18 years, 5 months ago) by johnpye
remove duplicate line

Revision 615 - Directory Listing
Modified Wed May 17 06:29:40 2006 UTC (18 years, 5 months ago) by johnpye
Forced pygtk to share major env vars with base library.
Modified 'can't use this here' error messages.
Added notification when colour codes are being disabled.

Revision 614 - Directory Listing
Modified Wed May 17 05:10:18 2006 UTC (18 years, 5 months ago) by johnpye


Revision 613 - Directory Listing
Modified Wed May 17 05:09:17 2006 UTC (18 years, 5 months ago) by johnpye
Fixing to use temporary filename instead of /tmp/atmlist

Revision 609 - Directory Listing
Modified Tue May 16 04:43:34 2006 UTC (18 years, 5 months ago) by johnpye
Added ospath test to the registration function. Rewrote with short macro-based code.

Revision 608 - Directory Listing
Modified Tue May 16 04:32:46 2006 UTC (18 years, 5 months ago) by johnpye
Fixing ospath tests, hopefully.

Revision 607 - Directory Listing
Modified Tue May 16 04:19:20 2006 UTC (18 years, 5 months ago) by johnpye
Updated license/doc blocks at start of files.
Added test_ospath.c and test_ospath.h.

Revision 605 - Directory Listing
Modified Tue May 16 00:29:51 2006 UTC (18 years, 5 months ago) by johnpye
Completing missing part of RELATIVE_PATHS configuration for SCons, to address bug #262.

Revision 600 - Directory Listing
Modified Fri May 12 14:30:18 2006 UTC (18 years, 5 months ago) by johnpye
Added some missing export symbols. Unfortunately this seems to have caused a segfaul in the CUnit tests.

Revision 599 - Directory Listing
Modified Fri May 12 12:53:57 2006 UTC (18 years, 5 months ago) by johnpye
Fixing up MALLOC_DEBUG to use config.h

Revision 598 - Directory Listing
Modified Fri May 12 12:43:57 2006 UTC (18 years, 5 months ago) by johnpye
woops

Revision 597 - Directory Listing
Modified Fri May 12 12:29:45 2006 UTC (18 years, 5 months ago) by johnpye
Still working on a way to add options to config.h.in such that it doesn't break
autotools.

Revision 596 - Directory Listing
Modified Fri May 12 11:37:24 2006 UTC (18 years, 5 months ago) by johnpye
fixed for scons, can't work out a way to allows @MISSING_SOMETHING@ to fallback safely, unfort.

Revision 595 - Directory Listing
Modified Fri May 12 11:28:44 2006 UTC (18 years, 5 months ago) by johnpye
fixing so that Ben won't need to add this macro to autoconf, hopefully.

Revision 594 - Directory Listing
Modified Fri May 12 11:10:34 2006 UTC (18 years, 5 months ago) by johnpye
Adding configuration option to turn off xterm colours in output.

Revision 593 - Directory Listing
Modified Fri May 12 10:03:59 2006 UTC (18 years, 5 months ago) by johnpye
Bumped version to 0.9.5.91.
Changed WITH_CUNIT_TESTS to WITH_CUNIT.
Added GCOV scons option.
Fixed up 'test' target for SCons.
Added lots of export symbols to libascend.so.


Revision 592 - Directory Listing
Modified Fri May 12 09:50:57 2006 UTC (18 years, 5 months ago) by johnpye
Working on adding some more export symbols, for purpose of getting Jerry's test suite to work with SCons build.

Revision 589 - Directory Listing
Modified Thu May 11 03:10:43 2006 UTC (18 years, 5 months ago) by johnpye
Fixing some malloc bugs.

Revision 588 - Directory Listing
Modified Thu May 11 02:06:46 2006 UTC (18 years, 5 months ago) by johnpye
This fixes the new Driver.c implementation. Now, default values of the environment variables
are specified in the file base/generic/utilities/config.h.in, which should be tooled up with
you configuration process. These default values will be subject to environment substiution,
so that if you set the default ASCENDTK=$ASCENDDIST/TK, that will be expanded *at runtime*.
This is to help with the 'application folder' style of installation off-root.

Revision 587 - Directory Listing
Modified Thu May 11 01:37:08 2006 UTC (18 years, 5 months ago) by johnpye
Fixed a bug with this for copy-in-place.

Revision 586 - Directory Listing
Modified Thu May 11 00:47:54 2006 UTC (18 years, 5 months ago) by johnpye
Working on improving handling of paths.

Revision 585 - Directory Listing
Modified Wed May 10 17:02:21 2006 UTC (18 years, 5 months ago) by johnpye
Making ospath accessible from other libraries. In progress.

Revision 584 - Directory Listing
Modified Wed May 10 16:56:00 2006 UTC (18 years, 5 months ago) by johnpye
Adding these files which will help with the environment variable/default path problem.

Revision 573 - Directory Listing
Modified Tue May 9 01:05:40 2006 UTC (18 years, 5 months ago) by johnpye
No error thrown when slv_set_logincidence is passed a NULL.

Revision 569 - Directory Listing
Modified Tue May 9 00:10:03 2006 UTC (18 years, 5 months ago) by johnpye
Changing from 'tcltk98' to 'tcltk', in progress.

Revision 552 - Directory Listing
Modified Sat Apr 29 08:53:04 2006 UTC (18 years, 5 months ago) by johnpye
Created 'scons install' command that also works for Tcl/Tk interface.
These changes required some modifications to the default values of the environment variables.
Installed Tcl/Tk version now works with only the LD_LIBRARY_PATH env var being required.

Revision 551 - Directory Listing
Modified Sat Apr 29 04:19:17 2006 UTC (18 years, 5 months ago) by johnpye
Added LICENSE.txt to root directory
Fixed a 'const' problem in ospath
Fixed up some variable names and key errors in SConstruct
Modified License-Warranty.tcl in accordance with the recommendations in the GPL.

Revision 545 - Directory Listing
Modified Thu Apr 27 03:14:08 2006 UTC (18 years, 5 months ago) by ben.allan
fixed autotools build for ospath file, config.h.in file.

Revision 543 - Directory Listing
Modified Thu Apr 27 00:04:13 2006 UTC (18 years, 5 months ago) by johnpye
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'

Revision 542 - Directory Listing
Modified Wed Apr 26 15:15:40 2006 UTC (18 years, 5 months ago) by johnpye
This is a patch to allow statements like "IMPORT johnpye/extfn/extfntest".
It modifies the methods in packages.c. Plan is to reuse the same code for "REQUIRE xxxxxx" statements as well.


Revision 541 - Directory Listing
Modified Wed Apr 26 07:32:13 2006 UTC (18 years, 5 months ago) by johnpye
More work on the ospath.c file, trying to iron out some windows-specific issues
Fixed McGraw-Hill URL in TCL files.
Created platform-specific TCL_LIBPATH so that c:\Tcl\bin is used instead of c:\Tcl\lib for .dlls.

Revision 539 - Directory Listing
Modified Tue Apr 25 23:11:59 2006 UTC (18 years, 5 months ago) by johnpye
Removed references to ascPrintType.h

Revision 535 - Directory Listing
Modified Tue Apr 25 14:55:48 2006 UTC (18 years, 5 months ago) by johnpye
Little more progress on the ospath stuff. Hoping that this can be used to refactor the module (a4c) and external library (.so/.dll) search methods. Still some bugs though.

Revision 534 - Directory Listing
Modified Tue Apr 25 13:25:04 2006 UTC (18 years, 5 months ago) by johnpye
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.

Revision 530 - Directory Listing
Modified Sat Apr 22 07:52:30 2006 UTC (18 years, 5 months ago) by johnpye
Found the problem with the PyGTK interface: a too-long vsprintf. Changed to vsnprintf.

Revision 529 - Directory Listing
Modified Sat Apr 22 06:26:23 2006 UTC (18 years, 5 months ago) by johnpye
Working of debugging the mysterious PyGTK bug. Seems to be coming from a wrong
char *filename in an error_reporter call from the DEBUG_RELS sections of the
compiler code.
Also renamed the WSEM and WSNM macros for clarity, removed unused file pointer.

Revision 526 - Directory Listing
Modified Fri Apr 21 13:47:31 2006 UTC (18 years, 5 months ago) by johnpye
Fixed up a problem with ordering of headers with Python.h.
Removed psyco initialisation, pending evidence that it actually does something :-)
Disabled python 'director' error message callbacks, trying to debug a segfault.
Added ability to disable GCC Visibility, scons WITH_GCCVISIBILITY=0.
Turned off runtime signal tests for SIG_INT and SIG_FPE (makes using GDB a pain), see base/generic/utilities/ascSignal.[ch].

Revision 525 - Directory Listing
Modified Fri Apr 21 10:41:45 2006 UTC (18 years, 5 months ago) by johnpye
Rolled 'ascPrintType.h' into 'ascPrint.h' for simplicity.

Revision 522 - Directory Listing
Modified Fri Apr 21 07:22:20 2006 UTC (18 years, 5 months ago) by johnpye
Fixed all the missing symbols so that ASCEND Tcl/Tk interface builds with separate 'ascendtcl.dll'.
Split Driver.c across Driver.c and new main.c, which has no Tcl/Tk references.


Revision 521 - Directory Listing
Modified Fri Apr 21 05:35:59 2006 UTC (18 years, 5 months ago) by johnpye
Getting the modular version the Tcl/Tk GUI working. In progress.

Revision 515 - Directory Listing
Modified Thu Apr 20 00:24:34 2006 UTC (18 years, 6 months ago) by ben.allan
commented an endif.

Revision 513 - Directory Listing
Modified Wed Apr 19 14:18:05 2006 UTC (18 years, 6 months ago) by johnpye
Fixing error.h so variadic macros only used in MSVC++ 2005.

Revision 512 - Directory Listing
Modified Wed Apr 19 08:21:13 2006 UTC (18 years, 6 months ago) by wangym
display ASC_SHLIBSUFFIX error only if platform is unknow

Revision 508 - Directory Listing
Modified Wed Apr 19 04:48:32 2006 UTC (18 years, 6 months ago) by johnpye
More fixes for compiling and running on ubuntu 5.10 with GCC:
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Added ASC_SHLIBSUFFIX and ASC_SHLIBPREFIX which are used in packages.c in preference to platform-specific #ifdefs.


Revision 507 - Directory Listing
Modified Wed Apr 19 02:44:25 2006 UTC (18 years, 6 months ago) by johnpye
Fixing for ubuntu GCC 4

Revision 506 - Directory Listing
Modified Tue Apr 18 14:30:39 2006 UTC (18 years, 6 months ago) by johnpye
The Visual C++ 2005 version now builds without linker errors.
But I ran the installer and it crashed during the first C++ call, so still problems.

Revision 502 - Directory Listing
Modified Tue Apr 18 12:57:30 2006 UTC (18 years, 6 months ago) by johnpye
Added check to see that YACC runs OK.
Fixing build with MSVC++ 2005.
All builds now except for some problems in the SWIG-generated code.

Revision 501 - Directory Listing
Modified Tue Apr 18 12:40:59 2006 UTC (18 years, 6 months ago) by johnpye
Managing GCC visibility is the job of the build too, not ascConfig.h

Revision 500 - Directory Listing
Modified Tue Apr 18 11:55:12 2006 UTC (18 years, 6 months ago) by johnpye
Reduced some runtime debug messages from Python and C++ and base/generic/compiler/type_descio.c.
Fixed up support for GCC Visibility and add SCons 'sniffer' for this.
Fixed a bug with 'fileopenpath' in PyGTK interface (File->Open location is remembered from last time).
Fixed a bug with missing includes in C++.

Revision 498 - Directory Listing
Modified Tue Apr 18 08:07:13 2006 UTC (18 years, 6 months ago) by johnpye
MinGW build fixed and working again.
Changed SConstruct so that if you run SCons from MSYS, SCons won't try to use MV++ tools.
Wrapped extern "C" {} around #include <utilities/ascConfig.h> in pygtk/interface/config.h.in.
Added 'HAVE_LEX' and 'HAVE_YACC' env vars in SCons so that we can be smart about using _no_yacc source.
Changed tcltk98 SCons script so that _no_yacc is switchable.

Revision 495 - Directory Listing
Modified Tue Apr 18 07:25:04 2006 UTC (18 years, 6 months ago) by johnpye
Still trying to get the Lionux build working again. I think it's still broken.

Revision 494 - Directory Listing
Modified Tue Apr 18 07:14:48 2006 UTC (18 years, 6 months ago) by johnpye
Restoring plainqr.c

Revision 493 - Directory Listing
Modified Tue Apr 18 07:11:42 2006 UTC (18 years, 6 months ago) by johnpye
Removing reference to interface.h

Revision 492 - Directory Listing
Modified Tue Apr 18 07:10:01 2006 UTC (18 years, 6 months ago) by johnpye
Incorporating 'extern' into ASC_DLLSPEC

Revision 491 - Directory Listing
Modified Tue Apr 18 07:04:34 2006 UTC (18 years, 6 months ago) by wangym
move unused file to dummy dir

Revision 490 - Directory Listing
Modified Tue Apr 18 06:55:20 2006 UTC (18 years, 6 months ago) by johnpye
Moved 'extern "C"' into the ASC_DLLSPEC macro.
Renamed .no.yacc and .no.flex files to have .c extension, so that SCons can tell what they are.
Working on getting things building on VC++, still some problems (maybe just issues with $PATH tho)./

Revision 489 - Directory Listing
Modified Tue Apr 18 06:45:06 2006 UTC (18 years, 6 months ago) by wangym
a warning free for ascDynaLoad.c
winVC8 project update for libascend
add dir dummy to contain dummy file in the future

Revision 488 - Directory Listing
Modified Tue Apr 18 06:08:03 2006 UTC (18 years, 6 months ago) by wangym
warning free for vc compile.

Revision 487 - Directory Listing
Modified Tue Apr 18 06:04:16 2006 UTC (18 years, 6 months ago) by wangym
fix the dll built for win32

Revision 486 - Directory Listing
Modified Tue Apr 18 05:31:35 2006 UTC (18 years, 6 months ago) by johnpye
Adding GCC 'pragma' default hidden symbol visibility.

Revision 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (18 years, 6 months ago) by johnpye
Huge cleanup of file header comments (GPL notice etc).

Changed from ASC_DLLSPEC to ASC_DLLSPEC(TYPE) -- like python

Fixed up some badly export symbols (missing 'extern')

Fixed exporting of symbols from error.h

Removed ASC_DLLSPEC from .c files-- only in .h files now (hope that's right...)

Changed the way bintoken does its exporting, to take 
advantage of ASC_BUILDING_LIBASCEND (needs testing)

I wonder if the 'extern' keywork should be a part of the ASC_DLLSPEC macro?


Revision 483 - Directory Listing
Modified Mon Apr 17 18:20:20 2006 UTC (18 years, 6 months ago) by ben.allan
Rolled back the removal of #include "compiler/*"
from ascParse.y. This broke the vpath build
support for flex/yacc unnecessarily. The
generated c,h files do not live in the source
tree and so the unqualified include file names
are not appropriate.


Revision 480 - Directory Listing
Modified Mon Apr 17 10:45:23 2006 UTC (18 years, 6 months ago) by johnpye
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 478 - Directory Listing
Modified Mon Apr 17 08:10:48 2006 UTC (18 years, 6 months ago) by johnpye
Fixing build for SWIG 1.3.24 (no -O flag)
Adding more debug info to loading output in PyGTK interface/config.py.in
Adding SWIGVERSION flag to SCons env.
Commenting in ascDynaLoad.c and ascParse.y
Adding VERSION to config.py

Revision 477 - Directory Listing
Modified Mon Apr 17 07:21:35 2006 UTC (18 years, 6 months ago) by johnpye
A little reformatting of Ben's added doxygen comments

Revision 475 - Directory Listing
Modified Mon Apr 17 05:46:47 2006 UTC (18 years, 6 months ago) by ben.allan
much more commenting for blackbox relations implementers.

Revision 473 - Directory Listing
Modified Mon Apr 17 04:52:34 2006 UTC (18 years, 6 months ago) by ben.allan
restored the bypass missing yacc capability.

Revision 467 - Directory Listing
Modified Mon Apr 17 03:18:06 2006 UTC (18 years, 6 months ago) by ben.allan
Changed the syntax of import from
IMPORT id FROM id;
to
IMPORT id FROM "quoted/text/lib";
Writing external
METHOD calls via the EXTERNAL methname(arglist);
now works.

Against my better judgement in a few cases,
cleaned up the old EXT statement code from Abbott
to work in a typesafe manner. A better solution
is to get the CALL syntax working as defined in 
the grammar, but this takes a good deal more work
and meanwhile people want to get their phds...

Still some known bugs in relation_util.
I need to commit the test models that go with
the EXT statements. Fixed a bunch of lintish
compiler complaints. Don't try to solve external
models yet.


Revision 466 - Directory Listing
Modified Sun Apr 16 15:07:48 2006 UTC (18 years, 6 months ago) by johnpye
Rolled back revision 451, since the DLL loading issue on Windows is now resolved.
Fixed up some #ifdef brackets in slv*.h headers.
Added NSIS functionality to SConstruct file
Renamed default installer to 'ascend-setup.exe' pending a more clever approach to version numbers.

Revision 463 - Directory Listing
Modified Sun Apr 16 10:18:16 2006 UTC (18 years, 6 months ago) by johnpye
Converting to the new shared-object configuration (on email discussion with Ben)
First stage: PyGTK interface on windows. More to come.

Revision 459 - Directory Listing
Modified Fri Apr 7 08:05:05 2006 UTC (18 years, 6 months ago) by johnpye
Fixing default PackageOption values
Adding --library option to gtkbrowser for ASC_DEVELOPING override of 'models' path.

Revision 456 - Directory Listing
Modified Wed Apr 5 13:35:15 2006 UTC (18 years, 6 months ago) by wangym
move redifinition macros from HAVE_C99 TO MSVC

Revision 455 - Directory Listing
Modified Wed Apr 5 07:50:22 2006 UTC (18 years, 6 months ago) by johnpye
Tidying up some debug output
Fixing up use of icon filenames on Windows
Removing reference to .svg file in glade/ascend.glade

Revision 453 - Directory Listing
Modified Wed Apr 5 06:47:01 2006 UTC (18 years, 6 months ago) by johnpye
Remove default CUnit locations for failsafe 'scons -h' on Windows

Revision 452 - Directory Listing
Modified Wed Apr 5 06:01:25 2006 UTC (18 years, 6 months ago) by johnpye
fixing #ifndef bracket name

Revision 451 - Directory Listing
Modified Wed Apr 5 05:14:20 2006 UTC (18 years, 6 months ago) by johnpye
Got the test suite to compile with SCons. Seems that there are some
serious problems still though.

Revision 444 - Directory Listing
Modified Tue Apr 4 18:14:03 2006 UTC (18 years, 6 months ago) by ben.allan
bettrer error reporting.

Revision 433 - Directory Listing
Modified Tue Apr 4 07:30:54 2006 UTC (18 years, 6 months ago) by ben.allan
got rid of old solaris executable in mtx_test.
fixed buggy perm bits on sourcecode.
put better error reporting in external rel evaluation in compiler.

Revision 431 - Directory Listing
Modified Tue Apr 4 07:20:49 2006 UTC (18 years, 6 months ago) by ben.allan
byby exec bits.

Revision 430 - Directory Listing
Modified Tue Apr 4 07:18:41 2006 UTC (18 years, 6 months ago) by ben.allan
got rid of errant executable bits.

Revision 427 - Directory Listing
Modified Tue Apr 4 04:13:34 2006 UTC (18 years, 6 months ago) by johnpye
tentative: Disabled ascDynaload functions when DYNAMIC_PACKAGES is not defined. 
Altered error.[ch] so that MS VC++ variadic macros are used when available. 
Disabled Windows MessageBox in ascPanic, so that compilation of base engine is possible with the Platform SDK.
Added SConscript files to build FORTRAN components.
Removed some autoconf-related stuff from the pygtk/interface directory.

Revision 425 - Directory Listing
Modified Tue Apr 4 01:05:09 2006 UTC (18 years, 6 months ago) by johnpye
Fixed bug #252

Revision 423 - Directory Listing
Modified Mon Apr 3 23:15:49 2006 UTC (18 years, 6 months ago) by ben.allan
Fixed instatiation of blackbox (and probably glassbox)
relations, for poorly tested definitions of 'fix'.
Blackbox evaluation is still broken.

There seems to be some chaos around win32_lean_and_mean
in ascConfig.h

updated reconfig. setenv TKROOT /where/is/tk8.3dir before 
running and all is good.

Revision 421 - Directory Listing
Modified Mon Apr 3 17:26:22 2006 UTC (18 years, 6 months ago) by ben.allan
updated kvalues example to parse and put in model library.
changed import library name to dquote text for more generality.
fixed many, but not all problems in kvalues.c

Revision 414 - Directory Listing
Modified Mon Apr 3 04:55:35 2006 UTC (18 years, 6 months ago) by johnpye
Some progress on getting a MSVC build to work with SCons. Issues with linking still.

Revision 412 - Directory Listing
Modified Mon Apr 3 03:31:30 2006 UTC (18 years, 6 months ago) by johnpye
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.

Revision 411 - Directory Listing
Modified Sun Apr 2 07:05:54 2006 UTC (18 years, 6 months ago) by ben.allan
Restored autotools to working, parsers to typ_ and zz_,
Fixed many missing initializations, many casting insanities
that have been creeping in, many missing forward declarations
in preparation for fixing external relations.


Revision 410 - Directory Listing
Modified Sun Apr 2 06:12:01 2006 UTC (18 years, 6 months ago) by ben.allan
leave it in there.

Revision 409 - Directory Listing
Modified Sun Apr 2 05:51:09 2006 UTC (18 years, 6 months ago) by johnpye
Backed out Ben's #define yylex change. Works again now (tested with Scons only)

Revision 408 - Directory Listing
Modified Sat Apr 1 22:51:06 2006 UTC (18 years, 6 months ago) by ben.allan
Fixed a mouse paste error in the slv system for the vars buf.
Whoever migrated the bufs into the system struct really needs to
turn on -Wall and pay attention to the compiler complaints.

Revision 407 - Directory Listing
Modified Sat Apr 1 21:13:03 2006 UTC (18 years, 6 months ago) by ben.allan
- Fixed missing header and casting problems in initialize.c around
JP FIX implementation.
- Repaired extfunc header declaration-- someone deleted array pointers without asking.
- Repaired casting errors in extfunc.c, probably ala kirk.
- Put in a #define for zz_lval in scanner.h to work around brokenness in flex 2.5.4;
if this breaks something for others, we need a better solution.


Revision 400 - Directory Listing
Modified Fri Mar 31 10:59:36 2006 UTC (18 years, 6 months ago) by johnpye
Almost there with getting Jerry's tests to run. Just sorting out the linking.

Revision 399 - Directory Listing
Modified Fri Mar 31 08:52:57 2006 UTC (18 years, 6 months ago) by johnpye
Normalised all #include statements so that files in the current directory
are included as "localfile.h" and files in other directories are included as
<directory/file.h>
This is in accordance with the spec at
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax

Revision 394 - Directory Listing
Modified Thu Mar 30 14:50:35 2006 UTC (18 years, 6 months ago) by wangym
move the function call after the variable define, a compile bug fix

Revision 392 - Directory Listing
Modified Thu Mar 30 12:36:15 2006 UTC (18 years, 6 months ago) by johnpye
Some fixes to the SCons build:
- adding flags to enable QRSLV and CMSLV by default.
- adding commands to build SWIG library correctly for Python interface.

Revision 390 - Directory Listing
Modified Thu Mar 30 06:41:17 2006 UTC (18 years, 6 months ago) by johnpye
The Tcl/Tk interface now runs as well. Tried with Tcl/Tk 8.4, so needs to be run
on a system with Tcl/Tk 8.3 next up.

Revision 386 - Directory Listing
Modified Thu Mar 30 04:46:48 2006 UTC (18 years, 6 months ago) by johnpye
Added SConscript to Tcl/Tk directory.
Still having some problems with linking.

Revision 385 - Directory Listing
Modified Thu Mar 30 04:14:29 2006 UTC (18 years, 6 months ago) by johnpye
First attempt at SCons build. This will build the static libraries
for me on Linux with GCC 4.0.2. Will work now on getting it to 
build the Tcl/Tk GUI.

Revision 381 - Directory Listing
Modified Sun Mar 19 23:01:39 2006 UTC (18 years, 7 months ago) by johnpye
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.

Revision 380 - Directory Listing
Modified Sat Mar 18 07:29:48 2006 UTC (18 years, 7 months ago) by johnpye
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 379 - Directory Listing
Modified Wed Mar 15 12:48:03 2006 UTC (18 years, 7 months ago) by johnpye
Ensuring that plugins contain no undefined symbols (for the sake of Windows).
Rearranging and commending error.c slightly.
Removing some debug output in solverreporter.

Revision 377 - Directory Listing
Modified Wed Mar 15 11:27:22 2006 UTC (18 years, 7 months ago) by johnpye
By default, no xterm console colour codes are used now.
More output in extfn test python script.
pygtk/interface/Makefile cleans up gcov files when 'make clean'.

Revision 375 - Directory Listing
Modified Wed Mar 15 06:35:50 2006 UTC (18 years, 7 months ago) by johnpye
Removing some debug output

Revision 373 - Directory Listing
Modified Tue Mar 14 08:39:37 2006 UTC (18 years, 7 months ago) by johnpye
Tidied up formatting in measures.a4l
Added GPL notice to cavity.a4c
Fixed up reconfig to turn OFF gcov testing by default.
Removed some debug output from typedef.c and instantiate.c and arrayinst.c.
Commenting changes in extinst.h.
Working on getting the buildbot working :-)

Revision 371 - Directory Listing
Modified Tue Mar 14 05:04:06 2006 UTC (18 years, 7 months ago) by johnpye
Added some debug output related to external relations.
Added ./configure flags for relation debugging and compiler timing.
Removed some <!-- --> comments.

Revision 369 - Directory Listing
Modified Fri Mar 10 09:14:29 2006 UTC (18 years, 7 months ago) by johnpye
Debugging output for loading external packages.
Export error_reporter to windows DLL (needs testing).

Revision 363 - Directory Listing
Modified Wed Mar 8 04:47:31 2006 UTC (18 years, 7 months ago) by johnpye
Working on fixing Tcl/Tk support

Revision 355 - Directory Listing
Modified Mon Mar 6 03:11:28 2006 UTC (18 years, 7 months ago) by johnpye
In PyGTK 'modules' list, you can now see non-parameterised types in bold.

Revision 341 - Directory Listing
Modified Wed Mar 1 05:25:23 2006 UTC (18 years, 7 months ago) by johnpye
Added support for default ASCENDLIBRARY value specified in the configure.in script.
This value used in Library(string defaultpath) and and is also passed to ASCEND by
gtkbrowser.py. Getting and setting of environment variables seems pretty messy
but hopefully this will work for now.

Revision 337 - Directory Listing
Modified Wed Mar 1 00:51:23 2006 UTC (18 years, 7 months ago) by johnpye
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 334 - Directory Listing
Modified Tue Feb 28 11:37:59 2006 UTC (18 years, 7 months ago) by johnpye
Ensure error messages find their way into PyGTK output

Revision 332 - Directory Listing
Modified Tue Feb 28 04:39:00 2006 UTC (18 years, 7 months ago) by johnpye
These changes fix compilation 'make libs' on MinGW.

I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.

Revision 326 - Directory Listing
Modified Fri Feb 24 02:03:45 2006 UTC (18 years, 7 months ago) by johnpye
Made QRSlv line search error output to ASCERR (not 'mif')

Revision 306 - Directory Listing
Modified Wed Feb 22 03:30:18 2006 UTC (18 years, 7 months ago) by johnpye
Fixing indenting
Fixed bug #207 (missing 'case' statements for FIX)

Revision 304 - Directory Listing
Modified Wed Feb 22 03:05:37 2006 UTC (18 years, 7 months ago) by johnpye
Some rationalising of duplicated code in statement.c.
Fixed bug #206 (support for FREE statement).

Revision 303 - Directory Listing
Modified Tue Feb 21 02:38:13 2006 UTC (18 years, 7 months ago) by johnpye
Documentation, indentation and debugging-message changes.

Revision 301 - Directory Listing
Modified Mon Feb 20 07:39:14 2006 UTC (18 years, 7 months ago) by johnpye
Documentation and indentation changes

Revision 272 - Directory Listing
Modified Sun Feb 5 06:43:19 2006 UTC (18 years, 8 months ago) by johnpye
Documentation changes.
Modified one slv3 error message.

Revision 262 - Directory Listing
Modified Fri Feb 3 00:19:41 2006 UTC (18 years, 8 months ago) by johnpye
Correcting a bug introduced in changeset 314.

Revision 256 - Directory Listing
Modified Thu Feb 2 14:09:44 2006 UTC (18 years, 8 months ago) by johnpye
Standardising header #ifdef

Revision 239 - Directory Listing
Modified Mon Jan 30 08:13:33 2006 UTC (18 years, 8 months ago) by johnpye
Documentation changes

Revision 236 - Directory Listing
Modified Mon Jan 30 06:09:52 2006 UTC (18 years, 8 months ago) by johnpye
Minor #ifdef changes

Revision 232 - Directory Listing
Modified Sun Jan 29 14:22:43 2006 UTC (18 years, 8 months ago) by johnpye
Added GPL header

Revision 231 - Directory Listing
Modified Sun Jan 29 14:15:44 2006 UTC (18 years, 8 months ago) by johnpye
Moved some incidence matrix routines to generic/solver from tcltk98.
Documentation changes.
Added (inactive) incidence matrix menu item to PyGTK interface
Fixed autotools make for above changed (need to fix for Jam as well)

Revision 225 - Directory Listing
Modified Fri Jan 27 14:55:43 2006 UTC (18 years, 8 months ago) by johnpye
Added const-ness to 2nd parameter of slv_set_char_parameter.
Implemented setting of int, real and string parameters via PyGTK interface.

Revision 224 - Directory Listing
Modified Fri Jan 27 08:19:51 2006 UTC (18 years, 8 months ago) by johnpye
Correcting a bug with error_reporter macros, reversing change of funciton name in bnd.c

Revision 222 - Directory Listing
Modified Fri Jan 27 04:23:20 2006 UTC (18 years, 8 months ago) by johnpye
Updating for Jerry's new error_reporter syntax, bug #179

Revision 220 - Directory Listing
Modified Wed Jan 25 07:44:41 2006 UTC (18 years, 8 months ago) by johnpye
More doc changes

Revision 219 - Directory Listing
Modified Wed Jan 25 07:41:58 2006 UTC (18 years, 8 months ago) by johnpye
Documentation changes

Revision 216 - Directory Listing
Modified Wed Jan 25 02:12:20 2006 UTC (18 years, 8 months ago) by jds
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.

Revision 214 - Directory Listing
Modified Wed Jan 25 00:25:56 2006 UTC (18 years, 8 months ago) by johnpye
Fixing typo

Revision 206 - Directory Listing
Modified Mon Jan 23 06:46:08 2006 UTC (18 years, 8 months ago) by johnpye
Changing 'new' to 'new_xxx' so that headers can be compiled in C++

Revision 205 - Directory Listing
Modified Mon Jan 23 06:19:12 2006 UTC (18 years, 8 months ago) by johnpye
Documentation changes

Revision 204 - Directory Listing
Modified Mon Jan 23 04:27:11 2006 UTC (18 years, 8 months ago) by johnpye
Documentation changes

Revision 203 - Directory Listing
Modified Mon Jan 23 04:13:17 2006 UTC (18 years, 8 months ago) by johnpye
Documentation changes; making 'FIX' statement less verbose;
Commenting out ununsed 'CreateExternalFunction' function

Revision 202 - Directory Listing
Modified Mon Jan 23 03:56:57 2006 UTC (18 years, 8 months ago) by johnpye
Fixed a problem with NULL passed to slv_set_logincidence

Revision 201 - Directory Listing
Modified Sat Jan 21 03:48:27 2006 UTC (18 years, 8 months ago) by johnpye
Cleaning up a little

Revision 200 - Directory Listing
Modified Sat Jan 21 03:45:15 2006 UTC (18 years, 8 months ago) by johnpye
More crazy macros in slv.c :)

Revision 199 - Directory Listing
Modified Sat Jan 21 02:23:55 2006 UTC (18 years, 8 months ago) by johnpye
Finished adding macros in slv.c.

Revision 198 - Directory Listing
Modified Thu Jan 19 08:14:26 2006 UTC (18 years, 9 months ago) by johnpye
More simplification...

Revision 197 - Directory Listing
Modified Thu Jan 19 07:59:19 2006 UTC (18 years, 9 months ago) by johnpye
Major simplification: wrap up many 'slv_' methods using preprocessor macros.

Revision 195 - Directory Listing
Modified Tue Jan 17 05:49:40 2006 UTC (18 years, 9 months ago) by johnpye
Commenting
Adding coloured output on CONSOLE_DEBUG
Adding test testextfn for monolithic tests of external function calls.

Revision 194 - Directory Listing
Modified Tue Jan 17 05:48:00 2006 UTC (18 years, 9 months ago) by johnpye
Documentation and CONSOLE_DEBUGging.

Revision 190 - Directory Listing
Modified Mon Jan 16 08:53:30 2006 UTC (18 years, 9 months ago) by johnpye
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 188 - Directory Listing
Modified Mon Jan 16 07:47:02 2006 UTC (18 years, 9 months ago) by johnpye
Adding some missing 'EXT' code, adding 'error_reporter_here' functionality.

Revision 187 - Directory Listing
Modified Mon Jan 16 07:45:51 2006 UTC (18 years, 9 months ago) by johnpye
Fixing up documentation for sensitivity.h
Simplifying Makefile.in

Revision 184 - Directory Listing
Modified Fri Jan 13 03:30:09 2006 UTC (18 years, 9 months ago) by johnpye
Fixing up error reporting for the 'FIX' statement. Addresses bug 204.

Revision 183 - Directory Listing
Modified Fri Jan 13 02:35:00 2006 UTC (18 years, 9 months ago) by johnpye
Added 'FIX varlist' statement to ASCEND.

Revision 174 - Directory Listing
Modified Sun Jan 8 06:24:10 2006 UTC (18 years, 9 months ago) by ben.allan
fixed bug 201, incorrect use of assert.

Revision 170 - Directory Listing
Modified Fri Jan 6 08:55:06 2006 UTC (18 years, 9 months ago) by johnpye
Moving plot.h and plot.c back to the base/generic/compiler.
This is so that I can use those routines in PyGTK plotting.

Revision 163 - Directory Listing
Modified Tue Jan 3 07:17:41 2006 UTC (18 years, 9 months ago) by johnpye
Fixed bug #198

Revision 162 - Directory Listing
Modified Tue Jan 3 06:51:30 2006 UTC (18 years, 9 months ago) by johnpye
Fixing problem with btprolog.h in Tcl/Tk interface

Revision 159 - Directory Listing
Modified Mon Jan 2 09:54:52 2006 UTC (18 years, 9 months ago) by johnpye
Changing FPRINTF to error_reporter

Revision 158 - Directory Listing
Modified Mon Jan 2 09:02:52 2006 UTC (18 years, 9 months ago) by johnpye
Removed support for Ultrix, OSF, which seem to be dead. This
makes the ascDynaload.c file much smaller. Also removed unused DynamicLoad
function (use Asc_DynamicLoad instead). Please let me know if these changes
break anything for you.

Revision 157 - Directory Listing
Modified Fri Dec 23 01:30:46 2005 UTC (18 years, 9 months ago) by johnpye
Adding test for other WHEN branch
Colour highlighting of failed ASSERTs on xterm

Revision 154 - Directory Listing
Modified Thu Dec 22 15:18:02 2005 UTC (18 years, 9 months ago) by johnpye
Removing debug output, adding self_test to iapws95.

Revision 153 - Directory Listing
Modified Thu Dec 22 13:53:42 2005 UTC (18 years, 9 months ago) by johnpye
Fixing bug #178.

Revision 152 - Directory Listing
Modified Thu Dec 22 13:26:21 2005 UTC (18 years, 9 months ago) by johnpye
Cosmetic changes to commenting

Revision 151 - Directory Listing
Modified Thu Dec 22 10:58:33 2005 UTC (18 years, 9 months ago) by johnpye
Working on a test case for bug #178

Revision 150 - Directory Listing
Modified Thu Dec 22 09:24:56 2005 UTC (18 years, 9 months ago) by johnpye
Committed changes to C++ solver class to accommodate new slv_lookup_client.
Still seeing bug #178 though.

Revision 149 - Directory Listing
Modified Thu Dec 22 08:51:04 2005 UTC (18 years, 9 months ago) by johnpye
Woops :)

Revision 148 - Directory Listing
Modified Thu Dec 22 08:49:39 2005 UTC (18 years, 9 months ago) by johnpye
Changed from 'TEST expr' syntax to 'ASSERT expr' syntax.
Corrected ConfigAscend ability to compile with CMSlv solver.

Revision 147 - Directory Listing
Modified Thu Dec 22 06:24:16 2005 UTC (18 years, 9 months ago) by ben.allan
added slv_lookup_client which should help resolve misunderstanding #178.

Revision 144 - Directory Listing
Modified Thu Dec 22 04:00:53 2005 UTC (18 years, 9 months ago) by johnpye
Removing trunk/base/jam (it's been replaced by trunk/jam)
Add 'make libs' to autotools build.

Revision 141 - Directory Listing
Modified Thu Dec 22 02:16:37 2005 UTC (18 years, 9 months ago) by johnpye
Modifying build so that static libraries have same name under both Jam and Autotools builds.

Revision 130 - Directory Listing
Modified Tue Dec 20 23:37:10 2005 UTC (18 years, 9 months ago) by johnpye
Working on eliminating some compiler warnings about unitialised vars
and the like.

Revision 129 - Directory Listing
Modified Tue Dec 20 20:22:56 2005 UTC (18 years, 9 months ago) by jds
Reworked jam build system:
- integrated Jamrules.in and Jamrules_tcltk98.in with autoconf
- now support single-point building from trunk/jam
- old jam files still in place but deprecated
- may be buggy, please report back bugs for fixing

Compiled on both Windows and Linux.

Revision 128 - Directory Listing
Modified Tue Dec 20 14:35:09 2005 UTC (18 years, 9 months ago) by johnpye
Changing TEST success to ASC_USER_SUCCESS

Revision 127 - Directory Listing
Modified Tue Dec 20 14:34:32 2005 UTC (18 years, 9 months ago) by johnpye
Improving reporting of Asc_Panic for cases where the GUI is going to be killed.

Revision 126 - Directory Listing
Modified Tue Dec 20 13:27:11 2005 UTC (18 years, 9 months ago) by johnpye
Reformating comments in the SLV files

Revision 124 - Directory Listing
Modified Tue Dec 20 08:32:25 2005 UTC (18 years, 10 months ago) by johnpye
Adding 'TEST' statement to ASCEND METHOD syntax.
Standardising messages in slv3.
Trying to debug bug #175.

Revision 123 - Directory Listing
Modified Mon Dec 19 06:59:40 2005 UTC (18 years, 10 months ago) by johnpye
Changing 'log' function to 'log10'

Revision 122 - Directory Listing
Modified Mon Dec 19 06:12:40 2005 UTC (18 years, 10 months ago) by johnpye
Refactoring all MAX, MIN, ABS calls to general/mathmacros.
Adding a GCC optimisation for these macros.

Revision 119 - Directory Listing
Modified Mon Dec 19 05:14:27 2005 UTC (18 years, 10 months ago) by johnpye
Fixing bug #170.

Revision 118 - Directory Listing
Modified Mon Dec 19 04:16:27 2005 UTC (18 years, 10 months ago) by ben.allan
Workaround for a bug in gcc math inline of functions as
arguments to max. This should cure bug 154 in the pye tracker.


Revision 117 - Directory Listing
Modified Sun Dec 18 15:29:05 2005 UTC (18 years, 10 months ago) by aw0a
removed rootfind.c and h from solver subdirectory, from Makefile.in and vc files

Revision 114 - Directory Listing
Modified Fri Dec 16 00:20:44 2005 UTC (18 years, 10 months ago) by jds
Fixed various bugs & compiler warnings:
- numerous AssertAllocateMemory & AssertMemory() bugs
- converted strdup() calls to ascstrdup() (and ascfree())
- several minor (mostly VisualC) compiler warnings (old style declarations, assignment in conditional, ...)

Revision 108 - Directory Listing
Modified Tue Dec 13 05:53:20 2005 UTC (18 years, 10 months ago) by johnpye
Moved some solver error messages to FPRINTF(ASCERR) convention.
Trying to get IAPWS-95 to work two-phase.

Revision 103 - Directory Listing
Modified Sun Dec 11 14:31:02 2005 UTC (18 years, 10 months ago) by jds
Bug fixes & killing more compiler warnings:
- general/list.c - fixed AssertAllocatedMemory and AssertContainedMemory bugs.
- added #include of ascPanic.h where necessary to compile with ALLOCATED_TESTS defined.
- reworked utilities/ascDynaLoad to eliminate compiler warnings related to casting between data & function pointers.
- switched utilities/ascEnvVar.c over to ascstrdup (had static ascstringcopy, which did the same thing).

All regression tests passed on Windows and Linux (except pre-existing solver/slv_common issues).

Revision 102 - Directory Listing
Modified Sat Dec 10 13:53:20 2005 UTC (18 years, 10 months ago) by jds
Reworked internal ascSignal handler storage.  
Was using gl_lists, which ought not be used for function pointers.  Changed to local array implementation.  Eliminated compiler warnings related to object pointer - function pointer mismatch.  Passed regression test on Win32.

Revision 101 - Directory Listing
Modified Sat Dec 10 04:22:07 2005 UTC (18 years, 10 months ago) by jds
A little more progress killing compiler warnings.

Revision 100 - Directory Listing
Modified Fri Dec 9 23:25:15 2005 UTC (18 years, 10 months ago) by jds
ascMalloc now working on Linux.
Fixed minor bugs in ascPanic.c, test suite functions.

Revision 99 - Directory Listing
Modified Fri Dec 9 20:27:28 2005 UTC (18 years, 10 months ago) by jds
Stupid backslash habit.

Revision 98 - Directory Listing
Modified Fri Dec 9 10:32:18 2005 UTC (18 years, 10 months ago) by jds
Moved interface/checkdim.h to solver.  It has no Tcl/Tk dependencies and is only used (sortof) by solver/slv_interface.

Revision 97 - Directory Listing
Modified Fri Dec 9 03:49:19 2005 UTC (18 years, 10 months ago) by jds
Minor fixes to:
 - continue killing compiler warnings on gcc & msvc 
 - start working on function/data pointer mismatches
 - documentation tweaks

Fixed ascMalloc.c memory logging problems.  This has not been tested on linux/unix.  If it fails to compile, please revert to the previous version and let me know.

Revision 95 - Directory Listing
Modified Thu Dec 8 16:20:25 2005 UTC (18 years, 10 months ago) by johnpye
Fixing bug #162

Revision 92 - Directory Listing
Modified Wed Dec 7 16:30:13 2005 UTC (18 years, 10 months ago) by johnpye
Restored a commented-out function which is needed by standard FC4 autotools build

Revision 91 - Directory Listing
Modified Wed Dec 7 16:17:03 2005 UTC (18 years, 10 months ago) by johnpye
Removed rootfind.c from solver lib in jamfile
Tidied up error messages in safe.c
Fixed a missing #endif in sensitivity.c

Revision 89 - Directory Listing
Modified Wed Dec 7 15:44:43 2005 UTC (18 years, 10 months ago) by johnpye
Small changes to eliminate GCC warnings

Revision 86 - Directory Listing
Modified Wed Dec 7 04:38:54 2005 UTC (18 years, 10 months ago) by johnpye
Fixing bug #152 (jerry's solution)
Also some minor fixes to error reporting calls
Changed default values of IAPWS95 to some that converge.

Revision 85 - Directory Listing
Modified Tue Dec 6 18:04:27 2005 UTC (18 years, 10 months ago) by johnpye
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 82 - Directory Listing
Modified Tue Dec 6 08:56:24 2005 UTC (18 years, 10 months ago) by johnpye
Minor fixes

Revision 77 - Directory Listing
Modified Tue Dec 6 04:06:12 2005 UTC (18 years, 10 months ago) by johnpye
Reorganised 'HAVE_PACKAGES' in Jamrules_general.
Removed -DTHIS_IS_AN_UNUSED_FUNCTION from Jamfile so that we find if they really *are* unused.
Added CCFLAGS += stdc=c99 to Jamfile
Changed ASCEND contact details to Wiki URL instead of outdated(?) email address
Conditional HAVE_C99 flag in ascConfig.
ascDynaload.h added __unix__ CPP flag
error.h using C99 rather than GNUC extension

Revision 76 - Directory Listing
Modified Mon Dec 5 17:31:00 2005 UTC (18 years, 10 months ago) by johnpye
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.

Revision 75 - Directory Listing
Modified Sat Dec 3 11:53:13 2005 UTC (18 years, 10 months ago) by jds
Bug fix - compile gl_set_expandable() always.

Revision 74 - Directory Listing
Modified Fri Dec 2 23:33:32 2005 UTC (18 years, 10 months ago) by jds
Doxygen comment update for a few headers.

Revision 73 - Directory Listing
Modified Fri Dec 2 15:04:23 2005 UTC (18 years, 10 months ago) by johnpye
Minor changes to error reporting

Revision 71 - Directory Listing
Modified Fri Dec 2 13:57:07 2005 UTC (18 years, 10 months ago) by johnpye
Minor changes to error reporting

Revision 67 - Directory Listing
Modified Wed Nov 30 16:31:29 2005 UTC (18 years, 10 months ago) by johnpye
Standardised the "if seen" #defines to [ASC|ASCTK|ASCPY|ASCXX]_FILENAME_H
Fixed compile on FC3

Revision 66 - Directory Listing
Modified Wed Nov 30 09:33:54 2005 UTC (18 years, 10 months ago) by johnpye
Fixing a typo

Revision 65 - Directory Listing
Modified Wed Nov 30 09:31:55 2005 UTC (18 years, 10 months ago) by johnpye
Add error.c to autotools and jam build files

Revision 64 - Directory Listing
Modified Wed Nov 30 06:06:46 2005 UTC (18 years, 10 months ago) by johnpye
Moved non-Tcl parts of qlfdid to base/generic.
Moved non-Tcl parts of SimsProc to base/generic/compiler/simlist (changeset 96).
Moved g_compiler_timing to base/generic/compiler/simlist.

Revision 62 - Directory Listing
Modified Wed Nov 30 05:53:20 2005 UTC (18 years, 10 months ago) by johnpye
My first commit:
Added 'error_reporter' for standardised error reporting
Working on getting external functions running again
Also: issue 130, issue 68, issue 131, issue 89, issue 127, issue 138, issue 94.

Revision 61 - Directory Listing
Modified Mon Nov 14 02:37:20 2005 UTC (18 years, 11 months ago) by jds
Minor bug fixes, extend unit tests to solver:

minor doc changes - compiler/func.h, general/list.h, solver/mtx.h, utilities/mem.h
solver/example - upgraded examples so they run under current system
solver/slv_common.[ch] - added unit tests, minor bug fixes, extended vector_data functions
utilities/ascDynaLoad.c - bug fix on *nix so dlopen, dlsym not called with NULL arguments

Revision 60 - Directory Listing
Modified Mon Oct 31 03:39:15 2005 UTC (18 years, 11 months ago) by jds
- jam build up and limping on Linux (finally).
- fixes to CUnit test suite to compile on Linux (still not operable, though).

Revision 59 - Directory Listing
Modified Sun Oct 30 01:38:20 2005 UTC (18 years, 11 months ago) by jds
- prototype unit test suite based on CUnit added.
- unit tests for base/generic/general and base/generic/utilites added.
- 2nd manual rework of doxygen documentation in general and utilities.
- bug fixes (mostly general & utilities) found during test development.
- added asc_assert prototype to redirect failures to Asc_Panic() and enable decoupling assertions from NDEBUG.
- some modifications of interface & implementation to facilitate testing.
- utilities/ascPrint & utilities/ascMalloc functions now always included in base libs to minimize recompilation when an interface chooses different options.

Revision 56 - Directory Listing
Modified Sat Oct 1 00:22:50 2005 UTC (19 years ago) by jds
Updates to jam build:
   - moved FORTRAN library references to Jamrules_general
   - reworked internal referencing; now via Jamrules_general
   - FORTRAN support libs now built & referenced properly
   - initial build of prototype test suite

Other minor source updates:
   - removed references to base.h from header file comments
   - exempted Mingw from __WIN32__ #define of LSODE in Lsode.c

Revision 55 - Directory Listing
Modified Sat Sep 3 01:25:36 2005 UTC (19 years, 1 month ago) by jds
Minor comment updates, add doc subdir to tclck98 subdir

Revision 54 - Directory Listing
Modified Tue Aug 2 11:20:09 2005 UTC (19 years, 2 months ago) by jds
Manual rework of doxygen comments in all headers.
- Added @file comment to all headers.
- Added parameter names to all function declarations in headers.
- Corrected comment referencing where necessary.
- Split some comments which documented blocks of declarations.
- Converted notes about required work into @todo comments so doxygen can generate a todo list.
Minor bug fixes.

Revision 53 - Directory Listing
Modified Fri Jul 1 15:06:17 2005 UTC (19 years, 3 months ago) by ben.allan
made solver/rootfind.h fatal in case any one uses it.

Revision 52 - Directory Listing
Modified Sat May 21 06:14:31 2005 UTC (19 years, 5 months ago) by ben.allan
moved print vtable struct into a separate header
as only implementers of the printtype need to see
it. callers on print functions do not.


Revision 49 - Directory Listing
Modified Tue Apr 12 23:36:01 2005 UTC (19 years, 6 months ago) by ben.allan
fixed the problems with return codes jerry found.

Revision 48 - Directory Listing
Modified Sat Apr 9 13:04:03 2005 UTC (19 years, 6 months ago) by jds
Fix typo in utilities/ascConfig.h.  mea culpa.
Update WinVC7 project files.

Revision 47 - Directory Listing
Modified Thu Apr 7 23:59:22 2005 UTC (19 years, 6 months ago) by jds
Updated jam build files:
-Added support for -DTIMESTAMP builder credit.
- Renamed Tcl/Tk/TkTable libs for MinGW to match common gcc names.
- Corrected Linux ref in tcltk98 Jamfile.
- Added ascPrintTcl.c to list of interface sources.
- Fixed default CP definition in Jambase.
- Reworked gcc warning options in Jamrules_general.

utilities/ascConfig.h
- Added UNREFERENCED_PARAMETER() macro to standardize handling of unreferenced parameters.
-__WIN32__ macros for isnan(), isinf(), finite() not redefined if the plain versions exist (underscore not added in all __WIN32__ compiler systems, e.g. MinGW)

interface/ascPrintTcl.[ch]
- Added return value to Asc_PrintInit_TclVtable().
- Modified doxygen comments to describe function return values.

interface/Driver.c
- Added #include "interface/tkConsole.h" for __WIN32__ to pull in console functions.
- Added UNREFERENCED_PARAMETER() for WinMain() parameters.

Revision 45 - Directory Listing
Modified Sat Mar 5 01:53:39 2005 UTC (19 years, 7 months ago) by ben.allan
Split the tcl-io redirects out of the ascend core and moved
it to the tcltk98 interface directory. In the core
is now an expanded facility. by default  Driver.c
inits this facility to redirect stderr/out to tcl io channels.
It is also possible to add additional stderr/out
output clients for example to extra log files.

This has not been tested on windows.

in theory, we now have a tcl free core for ascend.


Revision 44 - Directory Listing
Modified Thu Mar 3 07:19:05 2005 UTC (19 years, 7 months ago) by ben.allan
Updated configure and all the makefiles to handle
VPATH with or without --srcdir. gnu make is now
required on unix.

Revision 42 - Directory Listing
Modified Wed Feb 9 17:36:43 2005 UTC (19 years, 8 months ago) by ben.allan
got rid of config.status from dependencies. bad idea.

Revision 40 - Directory Listing
Modified Sat Jan 22 14:22:13 2005 UTC (19 years, 8 months ago) by jds
Initial commit of WinVC7 and jam build files.  jam builds Ascend base libs and tcltk98 executable on Windows using msvc, borland, mingw, and watcom (watcom can't yet link executable due to lack of isnan() and copysign() functions).

Also includes minor source updates to compile & run on Windows.

Revision 35 - Directory Listing
Modified Wed Dec 29 15:05:47 2004 UTC (19 years, 9 months ago) by aw0a
corrections to make ascend compile in parallel tree

Revision 34 - Directory Listing
Modified Sun Dec 26 20:35:09 2004 UTC (19 years, 9 months ago) by ben.allan
fixed missing close comment in the two files i did by hand.

Revision 33 - Directory Listing
Modified Sun Dec 26 20:06:01 2004 UTC (19 years, 9 months ago) by ben.allan
First pass at doxygenation -- mechanically putting in ** and where
most likely needed **< using sed. Lots of cleanup needed to
be really useful, including grouping data types and their
member methods into class-like documentation.

Revision 32 - Directory Listing
Modified Thu Dec 23 18:07:19 2004 UTC (19 years, 9 months ago) by aw0a
updating configure.in - still not correct

Revision 27 - Directory Listing
Modified Thu Dec 9 18:22:50 2004 UTC (19 years, 10 months ago) by aw0a
Correcting package checkin

Revision 26 - Directory Listing
Modified Thu Dec 9 16:25:02 2004 UTC (19 years, 10 months ago) by aw0a
adding lib directory less Makefile

Revision 25 - Directory Listing
Modified Thu Dec 9 16:18:40 2004 UTC (19 years, 10 months ago) by aw0a
goofed: remove executable and Makefile from bin directory

Revision 24 - Directory Listing
Modified Thu Dec 9 16:16:47 2004 UTC (19 years, 10 months ago) by aw0a
add bin subdirectory to repository

Revision 22 - Directory Listing
Modified Thu Dec 9 16:04:34 2004 UTC (19 years, 10 months ago) by aw0a
adding missing files

Revision 18 - Directory Listing
Modified Tue Dec 7 20:53:37 2004 UTC (19 years, 10 months ago) by aw0a
updating configure.in and Makefile.in files throughout

Revision 16 - Directory Listing
Modified Thu Nov 25 22:52:42 2004 UTC (19 years, 10 months ago) by ben.allan
replaced nonportable strdup with ascend equivalent.

Revision 14 - Directory Listing
Modified Thu Nov 18 06:17:50 2004 UTC (19 years, 11 months ago) by ben.allan
Lots of patches to enable debugging with valgrind and
gdb (conditional use of signal.h and friends, pool and friends).
Bug fix for compiler anontype.c that was breaking
arts model under relation sharing.

Revision 12 - Directory Listing
Modified Sat Nov 13 20:52:45 2004 UTC (19 years, 11 months ago) by aw0a
committing partly modified configure.in plus the moving of config/

Revision 11 - Directory Listing
Added Sat Nov 13 16:45:56 2004 UTC (19 years, 11 months ago) by aw0a
moving things to base/generic

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22