/[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 573 - Directory Listing
Modified Tue May 9 01:05:40 2006 UTC (14 years, 11 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 (15 years ago) by johnpye
Rolled 'ascPrintType.h' into 'ascPrint.h' for simplicity.

Revision 522 - Directory Listing
Modified Fri Apr 21 07:22:20 2006 UTC (15 years 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 (15 years 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 (15 years ago) by johnpye
Fixing for ubuntu GCC 4

Revision 506 - Directory Listing
Modified Tue Apr 18 14:30:39 2006 UTC (15 years 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 (15 years ago) by johnpye
Restoring plainqr.c

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

Revision 490 - Directory Listing
Modified Tue Apr 18 06:55:20 2006 UTC (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years ago) by ben.allan
got rid of errant executable bits.

Revision 411 - Directory Listing
Modified Sun Apr 2 07:05:54 2006 UTC (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years 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 (15 years, 1 month 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 (15 years, 1 month 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 (15 years, 2 months ago) by johnpye
Documentation, indentation and debugging-message changes.

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

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

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

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

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

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

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

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

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

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

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

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

Revision 197 - Directory Listing
Modified Thu Jan 19 07:59:19 2006 UTC (15 years, 3 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 (15 years, 3 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 (15 years, 3 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 (15 years, 4 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 (15 years, 4 months ago) by johnpye
Fixing bug #178.

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

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

Revision 148 - Directory Listing
Modified Thu Dec 22 08:49:39 2005 UTC (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 months ago) by johnpye
Reformating comments in the SLV files

Revision 124 - Directory Listing
Modified Tue Dec 20 08:32:25 2005 UTC (15 years, 4 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 (15 years, 4 months ago) by johnpye
Changing 'log' function to 'log10'

Revision 122 - Directory Listing
Modified Mon Dec 19 06:12:40 2005 UTC (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 months ago) by jds
A little more progress killing compiler warnings.

Revision 100 - Directory Listing
Modified Fri Dec 9 23:25:15 2005 UTC (15 years, 4 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 (15 years, 4 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 (15 years, 4 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 (15 years, 4 months ago) by johnpye
Small changes to eliminate GCC warnings

Revision 86 - Directory Listing
Modified Wed Dec 7 04:38:54 2005 UTC (15 years, 4 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 (15 years, 4 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 (15 years, 4 months ago) by johnpye
Minor fixes

Revision 76 - Directory Listing
Modified Mon Dec 5 17:31:00 2005 UTC (15 years, 4 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 (15 years, 4 months ago) by jds
Doxygen comment update for a few headers.

Revision 67 - Directory Listing
Modified Wed Nov 30 16:31:29 2005 UTC (15 years, 4 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 (15 years, 4 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 (15 years, 5 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 (15 years, 5 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 (15 years, 5 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 (15 years, 6 months 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 (15 years, 8 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 (15 years, 9 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 (16 years, 1 month 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 (16 years, 3 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 (16 years, 3 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 (16 years, 3 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 (16 years, 4 months ago) by aw0a
updating configure.in - still not correct

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

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

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