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

Log of /trunk/base/generic/solver

View Directory Listing Directory Listing


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

Revision 1436 - Directory Listing
Modified Mon May 21 09:39:28 2007 UTC (17 years, 5 months ago) by jpye
Fixed build for SCons 0.96.92. Needs testing.

Revision 1435 - Directory Listing
Modified Sun May 20 16:58:44 2007 UTC (17 years, 5 months ago) by ballan
updated the makefile stuff to work in the current dir structure.
still lots of problems with the install target and now doing
the evil double link because the directories
system, linear, and solver really are NOT independent.

Revision 1362 - Directory Listing
Modified Tue Mar 27 13:17:54 2007 UTC (17 years, 7 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 1320 - Directory Listing
Modified Tue Mar 6 12:15:21 2007 UTC (17 years, 8 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, 8 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, 8 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, 8 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, 8 months ago) by johnpye
Adding flagging of differential variables (those which have derivatives) via var.h.

Revision 1309 - Directory Listing
Modified Sun Mar 4 07:40:17 2007 UTC (17 years, 8 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 1303 - Directory Listing
Modified Thu Mar 1 06:04:21 2007 UTC (17 years, 8 months ago) by johnpye
silenced some debug output

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

Revision 1271 - Directory Listing
Modified Sun Feb 4 02:00:01 2007 UTC (17 years, 9 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, 9 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 1259 - Directory Listing
Modified Sun Jan 28 01:49:38 2007 UTC (17 years, 9 months ago) by johnpye
Copyright dates

Revision 1258 - Directory Listing
Modified Sun Jan 28 01:45:27 2007 UTC (17 years, 9 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, 9 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 1252 - Directory Listing
Modified Sat Jan 27 06:29:17 2007 UTC (17 years, 9 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 1249 - Directory Listing
Modified Sat Jan 27 04:14:58 2007 UTC (17 years, 9 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, 9 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, 9 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, 9 months ago) by johnpye
Reactivating couple of previously turned-off tests (IDA)

Revision 1242 - Directory Listing
Modified Fri Jan 26 12:05:56 2007 UTC (17 years, 9 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, 9 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, 9 months ago) by johnpye
@!@#$#$%! working at last

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

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

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

Revision 1228 - Directory Listing
Modified Thu Jan 25 06:57:40 2007 UTC (17 years, 9 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, 9 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, 9 months ago) by johnpye
Split slv_param.[ch] from slv.c and slv_common.h.
Removed some lint

Revision 1222 - Directory Listing
Modified Wed Jan 24 13:46:44 2007 UTC (17 years, 9 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, 9 months ago) by johnpye
Implemented the DAE partitioning routine but am nowing tracking down a fiendish memory crash.

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

Revision 1213 - Directory Listing
Modified Tue Jan 23 10:43:55 2007 UTC (17 years, 9 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, 9 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, 9 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, 9 months ago) by johnpye
Removed unnecessary #include <compiler.h>

Revision 1209 - Directory Listing
Modified Tue Jan 23 04:11:50 2007 UTC (17 years, 9 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, 9 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, 9 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, 9 months ago) by johnpye
Sooo out of date

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

Revision 1202 - Directory Listing
Modified Mon Jan 22 13:37:33 2007 UTC (17 years, 9 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, 9 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, 9 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, 9 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 1196 - Directory Listing
Modified Mon Jan 22 05:41:59 2007 UTC (17 years, 9 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, 9 months ago) by johnpye
woops, adding missing file

Revision 1194 - Directory Listing
Modified Mon Jan 22 01:30:56 2007 UTC (17 years, 9 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, 9 months ago) by johnpye
Fixed for non-differential problems.

Revision 1191 - Directory Listing
Modified Sun Jan 21 12:00:57 2007 UTC (17 years, 9 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, 9 months ago) by johnpye
Missed one (see prev)

Revision 1188 - Directory Listing
Modified Sun Jan 21 09:55:00 2007 UTC (17 years, 9 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, 9 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, 9 months ago) by johnpye
Removed <compiler/*> dependencies in slv*.c where possible.
Did some minor reformatting of slv9.c.

Revision 1184 - Directory Listing
Modified Sat Jan 20 09:34:45 2007 UTC (17 years, 9 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, 9 months ago) by johnpye
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.

Revision 1181 - Directory Listing
Modified Sat Jan 20 03:50:21 2007 UTC (17 years, 9 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 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 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 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 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 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, 10 months ago) by johnpye
Fixing for MMIO absent

Revision 1130 - Directory Listing
Modified Sat Jan 13 12:27:50 2007 UTC (17 years, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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 1106 - Directory Listing
Modified Wed Jan 10 13:07:45 2007 UTC (17 years, 10 months ago) by johnpye
Fixed a bug introduced into slvDOF_structsing.
Fixed an LD_LIBRARY_PATH problem with test.py

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

Revision 1097 - Directory Listing
Modified Wed Jan 10 05:41:38 2007 UTC (17 years, 10 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, 10 months ago) by johnpye
Fixed independent variable detection (again).

Revision 1086 - Directory Listing
Modified Tue Jan 9 14:33:29 2007 UTC (17 years, 10 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, 10 months ago) by johnpye
Fixed bug 309

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

Revision 1070 - Directory Listing
Modified Mon Jan 8 14:36:31 2007 UTC (17 years, 10 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, 10 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, 10 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 1066 - Directory Listing
Modified Sun Jan 7 10:02:41 2007 UTC (17 years, 10 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, 10 months ago) by johnpye
Fixing header to fix doxygen

Revision 1064 - Directory Listing
Modified Sun Jan 7 09:15:56 2007 UTC (17 years, 10 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, 10 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, 10 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, 10 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, 10 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, 10 months ago) by johnpye
simplified slv_check_bounds call.

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

Revision 1050 - Directory Listing
Modified Sat Jan 6 04:04:47 2007 UTC (17 years, 10 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, 10 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 1046 - Directory Listing
Modified Fri Jan 5 11:15:16 2007 UTC (17 years, 10 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, 10 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, 10 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 1036 - Directory Listing
Modified Thu Jan 4 07:40:26 2007 UTC (17 years, 10 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, 10 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, 10 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 1031 - Directory Listing
Modified Wed Jan 3 15:33:23 2007 UTC (17 years, 10 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 1027 - Directory Listing
Modified Wed Jan 3 12:46:37 2007 UTC (17 years, 10 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, 10 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, 10 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, 10 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, 10 months ago) by johnpye
Trying doxygen comments once again

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

Revision 1013 - Directory Listing
Modified Wed Jan 3 03:41:35 2007 UTC (17 years, 10 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, 10 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 1010 - Directory Listing
Modified Tue Jan 2 12:53:58 2007 UTC (17 years, 10 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, 10 months ago) by johnpye
Fixing TestIDA.testdenx test case.
Removing some debug output from ida.c.

Revision 1007 - Directory Listing
Modified Tue Jan 2 11:44:52 2007 UTC (17 years, 10 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 1000 - Directory Listing
Modified Sat Dec 30 06:19:13 2006 UTC (17 years, 10 months ago) by johnpye
Removed 'FAIL' for non-implemented tests in test_slv_common.c

Revision 997 - Directory Listing
Modified Sun Dec 24 01:33:59 2006 UTC (17 years, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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 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 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 963 - Directory Listing
Modified Tue Dec 12 13:36:52 2006 UTC (17 years, 11 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, 11 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 954 - Directory Listing
Modified Sat Dec 9 02:20:15 2006 UTC (17 years, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 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, 11 months ago) by johnpye
Fixed 'testLSODE' in test.py, added 'IntegratorReporterNull' that makes no output (for testing purposes)

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

Revision 930 - Directory Listing
Modified Wed Nov 22 13:09:09 2006 UTC (17 years, 11 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 928 - Directory Listing
Modified Wed Nov 22 10:32:18 2006 UTC (17 years, 11 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 924 - Directory Listing
Modified Thu Nov 9 13:57:02 2006 UTC (18 years 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 (18 years 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 (18 years ago) by johnpye
Fixed bug #297

Revision 919 - Directory Listing
Modified Mon Nov 6 04:48:59 2006 UTC (18 years 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 (18 years ago) by johnpye
Added some debug stuff to work on the on_load problem.

Revision 913 - Directory Listing
Modified Sat Oct 28 03:55:19 2006 UTC (18 years 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 (18 years 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 910 - Directory Listing
Modified Thu Oct 26 13:35:25 2006 UTC (18 years 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 (18 years 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 (18 years 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 (18 years 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 (18 years ago) by johnpye
Integrator remembers 'duration' used previously.
Implemented interuption of integration with 'stop' button.

Revision 897 - Directory Listing
Modified Tue Oct 24 11:05:18 2006 UTC (18 years 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 895 - Directory Listing
Modified Tue Oct 24 00:12:34 2006 UTC (18 years 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 (18 years 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, 1 month 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 855 - Directory Listing
Modified Wed Sep 20 14:00:41 2006 UTC (18 years, 1 month ago) by johnpye
Removed some verbage in Integrator output

Revision 854 - Directory Listing
Modified Wed Sep 20 13:36:40 2006 UTC (18 years, 1 month 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 843 - Directory Listing
Modified Sun Sep 10 06:18:24 2006 UTC (18 years, 2 months 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, 2 months ago) by johnpye
Removed some debug output from cond_config.c
Added superposition test (beam2.a4c)
Fixed up problems in beam.a4c (ongoing).

Revision 832 - Directory Listing
Modified Wed Aug 23 07:06:47 2006 UTC (18 years, 2 months 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 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, 3 months ago) by johnpye
Removed some debug output

Revision 811 - Directory Listing
Modified Thu Aug 10 17:08:16 2006 UTC (18 years, 3 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, 3 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, 3 months ago) by johnpye
Added new CMSlv test model.
Fixed a speling misteak.

Revision 804 - Directory Listing
Modified Fri Aug 4 05:54:34 2006 UTC (18 years, 3 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 800 - Directory Listing
Modified Tue Aug 1 12:22:09 2006 UTC (18 years, 3 months ago) by johnpye
Fixed for CONOPT under Windows.

Revision 799 - Directory Listing
Modified Tue Aug 1 00:56:10 2006 UTC (18 years, 3 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 791 - Directory Listing
Modified Thu Jul 27 12:04:19 2006 UTC (18 years, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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 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, 4 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, 4 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 759 - Directory Listing
Modified Thu Jul 13 04:16:10 2006 UTC (18 years, 4 months ago) by johnpye
Commenting and changes to deubg output. Some reformatting of ModifyBlackBoxRelationPointers.

Revision 752 - Directory Listing
Modified Wed Jul 12 02:50:54 2006 UTC (18 years, 4 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, 4 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, 4 months ago) by johnpye
Few small changes to fix for Linux after the recent MSVC++ oriented changes.

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

Revision 737 - Directory Listing
Modified Wed Jul 5 12:36:29 2006 UTC (18 years, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 months ago) by johnpye
Fixed bug with rel_instance_to_var

Revision 721 - Directory Listing
Modified Mon Jul 3 06:22:42 2006 UTC (18 years, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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 712 - Directory Listing
Modified Fri Jun 30 05:18:56 2006 UTC (18 years, 4 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, 4 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, 4 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, 4 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, 4 months ago) by johnpye
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 704 - Directory Listing
Modified Mon Jun 26 23:00:56 2006 UTC (18 years, 4 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, 4 months ago) by johnpye
Turned off DEBUG_RELS
Fixed bug with system_build.

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

Revision 697 - Directory Listing
Modified Mon Jun 26 07:55:45 2006 UTC (18 years, 4 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 694 - Directory Listing
Modified Thu Jun 22 07:54:53 2006 UTC (18 years, 4 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 681 - Directory Listing
Modified Wed Jun 21 11:16:59 2006 UTC (18 years, 4 months ago) by johnpye
Found the problem with the autotools build

Revision 678 - Directory Listing
Modified Wed Jun 21 10:07:54 2006 UTC (18 years, 4 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, 4 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 652 - Directory Listing
Modified Thu Jun 1 12:06:30 2006 UTC (18 years, 5 months ago) by johnpye
Adding Tcl/Tk interface to the GNOME menu.
Small doc change in slv_common.h.

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 599 - Directory Listing
Modified Fri May 12 12:53:57 2006 UTC (18 years, 6 months ago) by johnpye
Fixing up MALLOC_DEBUG to use config.h

Revision 593 - Directory Listing
Modified Fri May 12 10:03:59 2006 UTC (18 years, 6 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, 6 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 573 - Directory Listing
Modified Tue May 9 01:05:40 2006 UTC (18 years, 6 months ago) by johnpye
No error thrown when slv_set_logincidence is passed a NULL.

Revision 525 - Directory Listing
Modified Fri Apr 21 10:41:45 2006 UTC (18 years, 6 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, 6 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, 6 months ago) by johnpye
Getting the modular version the Tcl/Tk GUI working. In progress.

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 494 - Directory Listing
Modified Tue Apr 18 07:14:48 2006 UTC (18 years, 6 months ago) by johnpye
Restoring plainqr.c

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

Revision 433 - Directory Listing
Modified Tue Apr 4 07:30:54 2006 UTC (18 years, 7 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 430 - Directory Listing
Modified Tue Apr 4 07:18:41 2006 UTC (18 years, 7 months ago) by ben.allan
got rid of errant executable bits.

Revision 411 - Directory Listing
Modified Sun Apr 2 07:05:54 2006 UTC (18 years, 7 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 408 - Directory Listing
Modified Sat Apr 1 22:51:06 2006 UTC (18 years, 7 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 400 - Directory Listing
Modified Fri Mar 31 10:59:36 2006 UTC (18 years, 7 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, 7 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 392 - Directory Listing
Modified Thu Mar 30 12:36:15 2006 UTC (18 years, 7 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 385 - Directory Listing
Modified Thu Mar 30 04:14:29 2006 UTC (18 years, 7 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 334 - Directory Listing
Modified Tue Feb 28 11:37:59 2006 UTC (18 years, 8 months ago) by johnpye
Ensure error messages find their way into PyGTK output

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

Revision 303 - Directory Listing
Modified Tue Feb 21 02:38:13 2006 UTC (18 years, 8 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, 8 months ago) by johnpye
Documentation and indentation changes

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

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

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

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

Revision 231 - Directory Listing
Modified Sun Jan 29 14:15:44 2006 UTC (18 years, 9 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, 9 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, 9 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, 9 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, 9 months ago) by johnpye
More doc changes

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

Revision 216 - Directory Listing
Modified Wed Jan 25 02:12:20 2006 UTC (18 years, 9 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, 9 months ago) by johnpye
Fixing typo

Revision 202 - Directory Listing
Modified Mon Jan 23 03:56:57 2006 UTC (18 years, 9 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, 9 months ago) by johnpye
Cleaning up a little

Revision 200 - Directory Listing
Modified Sat Jan 21 03:45:15 2006 UTC (18 years, 9 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, 9 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 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 170 - Directory Listing
Modified Fri Jan 6 08:55:06 2006 UTC (18 years, 10 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 154 - Directory Listing
Modified Thu Dec 22 15:18:02 2005 UTC (18 years, 10 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, 10 months ago) by johnpye
Fixing bug #178.

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

Revision 151 - Directory Listing
Modified Thu Dec 22 10:58:33 2005 UTC (18 years, 10 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, 10 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, 10 months ago) by johnpye
Woops :)

Revision 148 - Directory Listing
Modified Thu Dec 22 08:49:39 2005 UTC (18 years, 10 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, 10 months ago) by ben.allan
added slv_lookup_client which should help resolve misunderstanding #178.

Revision 141 - Directory Listing
Modified Thu Dec 22 02:16:37 2005 UTC (18 years, 10 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, 10 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, 10 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 126 - Directory Listing
Modified Tue Dec 20 13:27:11 2005 UTC (18 years, 10 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 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, 11 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, 11 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 101 - Directory Listing
Modified Sat Dec 10 04:22:07 2005 UTC (18 years, 11 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, 11 months ago) by jds
ascMalloc now working on Linux.
Fixed minor bugs in ascPanic.c, test suite functions.

Revision 98 - Directory Listing
Modified Fri Dec 9 10:32:18 2005 UTC (18 years, 11 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, 11 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 89 - Directory Listing
Modified Wed Dec 7 15:44:43 2005 UTC (18 years, 11 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, 11 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, 11 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, 11 months ago) by johnpye
Minor fixes

Revision 76 - Directory Listing
Modified Mon Dec 5 17:31:00 2005 UTC (18 years, 11 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 74 - Directory Listing
Modified Fri Dec 2 23:33:32 2005 UTC (18 years, 11 months ago) by jds
Doxygen comment update for a few headers.

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

Revision 62 - Directory Listing
Modified Wed Nov 30 05:53:20 2005 UTC (18 years, 11 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 (19 years 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 (19 years 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, 1 month 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 54 - Directory Listing
Modified Tue Aug 2 11:20:09 2005 UTC (19 years, 3 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, 4 months ago) by ben.allan
made solver/rootfind.h fatal in case any one uses it.

Revision 44 - Directory Listing
Modified Thu Mar 3 07:19:05 2005 UTC (19 years, 8 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 35 - Directory Listing
Modified Wed Dec 29 15:05:47 2004 UTC (19 years, 10 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, 10 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, 10 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, 10 months ago) by aw0a
updating configure.in - still not correct

Revision 18 - Directory Listing
Modified Tue Dec 7 20:53:37 2004 UTC (19 years, 11 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, 11 months ago) by ben.allan
replaced nonportable strdup with ascend equivalent.

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

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