/[ascend]/trunk/models/johnpye/extfn/extfntest.c
ViewVC logotype

Log of /trunk/models/johnpye/extfn/extfntest.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 1810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 29 07:45:48 2008 UTC (12 years, 1 month ago) by jpye
File length: 2950 byte(s)
Diff to previous 1211
Added new code for calculating properties according to modified BWR correlation, also some initial
work on Helmholtz free energy correlation.

Revision 1211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 05:09:50 2007 UTC (13 years, 8 months ago) by johnpye
File length: 3164 byte(s)
Diff to previous 1210
Fixed dependencies on dimen.h and fractions.h.

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 04:25:51 2007 UTC (13 years, 8 months ago) by johnpye
File length: 3222 byte(s)
Diff to previous 1063
Removed unnecessary #include <compiler.h>

Revision 1063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 07:54:06 2007 UTC (13 years, 8 months ago) by johnpye
File length: 3252 byte(s)
Diff to previous 1039
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.

Revision 1039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 23:21:20 2007 UTC (13 years, 8 months ago) by johnpye
File length: 3253 byte(s)
Diff to previous 912
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 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (13 years, 10 months ago) by johnpye
File length: 2984 byte(s)
Diff to previous 908
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 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (13 years, 10 months ago) by johnpye
File length: 2983 byte(s)
Diff to previous 802
first attempt at merging with Ben's changes on the trunk

Revision 802 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 3 02:24:45 2006 UTC (14 years, 1 month ago) by johnpye
File length: 3110 byte(s)
Diff to previous 783
Removed incorrect copyright in extfntest.c.
Fixed CONOPT detection on linux in SConstruct.
Tidied up comments in instquery.h.

Revision 783 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 09:16:19 2006 UTC (14 years, 1 month ago) by johnpye
File length: 3147 byte(s)
Diff to previous 763
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 763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 06:02:11 2006 UTC (14 years, 2 months ago) by johnpye
File length: 3135 byte(s)
Diff to previous 758
Fixing for MSVC++

Revision 758 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 01:15:58 2006 UTC (14 years, 2 months ago) by johnpye
File length: 3133 byte(s)
Diff to previous 721
Some extfn test cases.

Revision 721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 06:22:42 2006 UTC (14 years, 2 months ago) by johnpye
File length: 3089 byte(s)
Diff to previous 719
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 719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 09:35:23 2006 UTC (14 years, 2 months ago) by johnpye
File length: 3312 byte(s)
Diff to previous 711
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 711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 16:18:54 2006 UTC (14 years, 2 months ago) by johnpye
File length: 3262 byte(s)
Diff to previous 709
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (14 years, 2 months ago) by johnpye
File length: 3106 byte(s)
Diff to previous 692
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 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 02:45:47 2006 UTC (14 years, 3 months ago) by johnpye
File length: 3095 byte(s)
Diff to previous 534
Fixed up behaviour of default ASCENDLIBRARY in python interface (for the case
where you're using ascpy without using the PyGTK GUI).
Removed some debug output when loading external libraries.
Fixed up the 'extfntest' example & SConscript file.

Revision 534 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 13:25:04 2006 UTC (14 years, 4 months ago) by johnpye
File length: 3062 byte(s)
Diff to previous 485
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.

Revision 485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (14 years, 5 months ago) by johnpye
File length: 2209 byte(s)
Diff to previous 471
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 471 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:44:25 2006 UTC (14 years, 5 months ago) by ben.allan
File length: 2208 byte(s)
Diff to previous 466
fixed up per new extfunc.h. linking still not on.

Revision 466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 15:07:48 2006 UTC (14 years, 5 months ago) by johnpye
File length: 1979 byte(s)
Diff to previous 381
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 381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 19 23:01:39 2006 UTC (14 years, 6 months ago) by johnpye
File length: 2229 byte(s)
Diff to previous 380
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.

Revision 380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 18 07:29:48 2006 UTC (14 years, 6 months ago) by johnpye
File length: 2261 byte(s)
Diff to previous 367
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 367 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 10 07:44:59 2006 UTC (14 years, 6 months ago) by johnpye
File length: 2142 byte(s)
Diff to previous 302
Trying to fix up johnpye/extfn/extfntest.c to work on Windows (MinGW)
(ie to fix linking problems).

Revision 302 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 20 07:40:03 2006 UTC (14 years, 7 months ago) by johnpye
File length: 2113 byte(s)
Diff to previous 209
Minor fix following changes to error_reporter

Revision 209 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jan 24 12:44:32 2006 UTC (14 years, 7 months ago) by johnpye
File length: 2127 byte(s)
Adding external function test most and library.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

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