/[ascend]/trunk/base/generic/compiler/relation_util.c
ViewVC logotype

Log of /trunk/base/generic/compiler/relation_util.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (16 years, 11 months ago) by johnpye
File length: 121108 byte(s)
Diff to previous 910
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 13:35:25 2006 UTC (16 years, 11 months ago) by johnpye
File length: 121036 byte(s)
Diff to previous 908
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 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (16 years, 11 months ago) by johnpye
File length: 121030 byte(s)
Diff to previous 854
first attempt at merging with Ben's changes on the trunk

Revision 854 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 20 13:36:40 2006 UTC (17 years ago) by johnpye
File length: 120211 byte(s)
Diff to previous 846
First tentative version in 'integration reporting':
Values of observed variables from the simulation are added to an Observer table after simulation completes.
This is not very efficiently coded at this stage but is a start.
Also some minor changes to text and comments in some base/generic files.

Revision 846 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 17 07:34:20 2006 UTC (17 years ago) by johnpye
File length: 120195 byte(s)
Diff to previous 833
Added simple Lotka-Volterra population model. Needs validation still.
Added 'rate' to atoms.a4l.
Fixed 'pendulum' into a single-order version (needs checking).
Removed debug output from relation_util.c.

Revision 833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 23 08:09:36 2006 UTC (17 years, 1 month ago) by johnpye
File length: 120217 byte(s)
Diff to previous 832
Added ability to invert a=tan(x).
Added test model 'testtan' to testfunc.a4c.

Revision 832 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 23 07:06:47 2006 UTC (17 years, 1 month ago) by johnpye
File length: 119107 byte(s)
Diff to previous 815
Renamed testTrig to testfunc.a4c.
Removed some buildtime messages.
Added self-test to testfunc model.
Some windows-specific changes to SConstruct (need testing?)

Revision 815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 11 04:51:27 2006 UTC (17 years, 1 month ago) by johnpye
File length: 118851 byte(s)
Diff to previous 737
Removed some debug output

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 12:36:29 2006 UTC (17 years, 2 months ago) by johnpye
File length: 118783 byte(s)
Diff to previous 726
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 726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 14:30:26 2006 UTC (17 years, 2 months ago) by johnpye
File length: 118878 byte(s)
Diff to previous 722
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 722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 06:53:02 2006 UTC (17 years, 2 months ago) by johnpye
File length: 120299 byte(s)
Diff to previous 709
changing errors to warnings...

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (17 years, 3 months ago) by johnpye
File length: 120291 byte(s)
Diff to previous 708
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 07:34:31 2006 UTC (17 years, 3 months ago) by johnpye
File length: 121070 byte(s)
Diff to previous 699
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 10:23:08 2006 UTC (17 years, 3 months ago) by johnpye
File length: 121069 byte(s)
Diff to previous 697
Added skeleton 'blackbox_evaluate_residual'...

Revision 697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 07:55:45 2006 UTC (17 years, 3 months ago) by johnpye
File length: 121093 byte(s)
Diff to previous 694
Temporarily removed extrel.* from disused dir (to avoid spurious grep)
Commenting and tidying up of some other files related to extrels.

Revision 694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 07:54:53 2006 UTC (17 years, 3 months ago) by johnpye
File length: 121017 byte(s)
Diff to previous 669
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 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (17 years, 3 months ago) by johnpye
File length: 122120 byte(s)
Diff to previous 624
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 624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 15:39:38 2006 UTC (17 years, 4 months ago) by ben.allan
File length: 122840 byte(s)
Diff to previous 545
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 545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 03:14:08 2006 UTC (17 years, 5 months ago) by ben.allan
File length: 122716 byte(s)
Diff to previous 467
fixed autotools build for ospath file, config.h.in file.

Revision 467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (17 years, 5 months ago) by ben.allan
File length: 122645 byte(s)
Diff to previous 444
Changed the syntax of import from
IMPORT id FROM id;
to
IMPORT id FROM "quoted/text/lib";
Writing external
METHOD calls via the EXTERNAL methname(arglist);
now works.

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

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


Revision 444 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 18:14:03 2006 UTC (17 years, 5 months ago) by ben.allan
File length: 122639 byte(s)
Diff to previous 433
bettrer error reporting.

Revision 433 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 07:30:54 2006 UTC (17 years, 5 months ago) by ben.allan
File length: 122176 byte(s)
Diff to previous 431
got rid of old solaris executable in mtx_test.
fixed buggy perm bits on sourcecode.
put better error reporting in external rel evaluation in compiler.

Revision 431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 07:20:49 2006 UTC (17 years, 5 months ago) by ben.allan
File length: 120994 byte(s)
Diff to previous 399
byby exec bits.

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (17 years, 5 months ago) by johnpye
File length: 120994 byte(s)
Diff to previous 174
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 174 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 8 06:24:10 2006 UTC (17 years, 8 months ago) by ben.allan
File length: 121210 byte(s)
Diff to previous 154
fixed bug 201, incorrect use of assert.

Revision 154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 15:18:02 2005 UTC (17 years, 9 months ago) by johnpye
File length: 120910 byte(s)
Diff to previous 123
Removing debug output, adding self_test to iapws95.

Revision 123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 06:59:40 2005 UTC (17 years, 9 months ago) by johnpye
File length: 120956 byte(s)
Diff to previous 122
Changing 'log' function to 'log10'

Revision 122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 06:12:40 2005 UTC (17 years, 9 months ago) by johnpye
File length: 120952 byte(s)
Diff to previous 118
Refactoring all MAX, MIN, ABS calls to general/mathmacros.
Adding a GCC optimisation for these macros.

Revision 118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 04:16:27 2005 UTC (17 years, 9 months ago) by ben.allan
File length: 121010 byte(s)
Diff to previous 114
Workaround for a bug in gcc math inline of functions as
arguments to max. This should cure bug 154 in the pye tracker.


Revision 114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 16 00:20:44 2005 UTC (17 years, 9 months ago) by jds
File length: 120741 byte(s)
Diff to previous 101
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 101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 10 04:22:07 2005 UTC (17 years, 9 months ago) by jds
File length: 120717 byte(s)
Diff to previous 97
A little more progress killing compiler warnings.

Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 03:49:19 2005 UTC (17 years, 9 months ago) by jds
File length: 120722 byte(s)
Diff to previous 89
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 15:44:43 2005 UTC (17 years, 9 months ago) by johnpye
File length: 120681 byte(s)
Diff to previous 85
Small changes to eliminate GCC warnings

Revision 85 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 18:04:27 2005 UTC (17 years, 9 months ago) by johnpye
File length: 120666 byte(s)
Diff to previous 11
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (18 years, 10 months ago) by aw0a
File length: 120541 byte(s)
Copied from: trunk/ascend4/compiler/relation_util.c revision 10
Diff to previous 1
moving things to base/generic

Revision 1 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Oct 29 20:54:12 2004 UTC (18 years, 10 months ago) by aw0a
Original Path: trunk/ascend4/compiler/relation_util.c
File length: 120541 byte(s)
Setting up web subdirectory in repository

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