/[ascend]/trunk/base/generic/solver/rel.c
ViewVC logotype

Log of /trunk/base/generic/solver/rel.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 752 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 02:50:54 2006 UTC (14 years, 2 months ago) by johnpye
File length: 35713 byte(s)
Diff to previous 741
Fixed bug with instantiation of 'outvars'.

Revision 741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 08:54:42 2006 UTC (14 years, 2 months ago) by johnpye
File length: 35593 byte(s)
Diff to previous 737
Fixes for MSVC++

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 12:36:29 2006 UTC (14 years, 2 months ago) by johnpye
File length: 35616 byte(s)
Diff to previous 735
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 735 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 02:42:19 2006 UTC (14 years, 3 months ago) by johnpye
File length: 35356 byte(s)
Diff to previous 728
Improved implementation of 'diagnose' window in PyGTK interface.
You can now view solver-side details about variables and relations, see the '(i)' icons.

Revision 728 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 05:03:59 2006 UTC (14 years, 3 months ago) by johnpye
File length: 35229 byte(s)
Diff to previous 727
Removed some debug messages from external libraries stuff.
Fixed auto-sim stuff for files given with relative path on the commandline.

Revision 727 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 04:03:37 2006 UTC (14 years, 3 months ago) by johnpye
File length: 35491 byte(s)
Diff to previous 726
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 14:30:26 2006 UTC (14 years, 3 months ago) by johnpye
File length: 35484 byte(s)
Diff to previous 725
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 11:52:45 2006 UTC (14 years, 3 months ago) by johnpye
File length: 34072 byte(s)
Diff to previous 724
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...

Revision 724 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 08:07:04 2006 UTC (14 years, 3 months ago) by johnpye
File length: 33681 byte(s)
Diff to previous 721
Fixed bug with rel_instance_to_var

Revision 721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 06:22:42 2006 UTC (14 years, 3 months ago) by johnpye
File length: 33697 byte(s)
Diff to previous 720
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 2 01:31:12 2006 UTC (14 years, 3 months ago) by johnpye
File length: 33671 byte(s)
Diff to previous 719
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 09:35:23 2006 UTC (14 years, 3 months ago) by johnpye
File length: 33746 byte(s)
Diff to previous 718
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 05:28:17 2006 UTC (14 years, 3 months ago) by johnpye
File length: 30008 byte(s)
Diff to previous 717
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 03:51:31 2006 UTC (14 years, 3 months ago) by johnpye
File length: 30170 byte(s)
Diff to previous 716
Fixed silly bug with extnode on non-blackbox rels

Revision 716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 03:18:30 2006 UTC (14 years, 3 months ago) by johnpye
File length: 30166 byte(s)
Diff to previous 712
Fixed up ExtRel_Evaluate_LHS (was not accessing the arglist correctly),
it seems pretty inefficient at the moment, but we'll persist.

Revision 712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 05:18:56 2006 UTC (14 years, 3 months ago) by johnpye
File length: 29711 byte(s)
Diff to previous 711
Implemented 'instance_getname' that should return a stringified
version of an enum inst_t (Instance::t).
Some other small -Wall fixes.

Revision 711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 16:18:54 2006 UTC (14 years, 3 months ago) by johnpye
File length: 29393 byte(s)
Diff to previous 710
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 710 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 08:53:37 2006 UTC (14 years, 3 months ago) by johnpye
File length: 28696 byte(s)
Diff to previous 709
Added my so-called 'quick fix' to external relation processing.
Still need to pursue corruption of efunc->etype pointer, for some
reason.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (14 years, 3 months ago) by johnpye
File length: 28538 byte(s)
Diff to previous 697
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 697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 07:55:45 2006 UTC (14 years, 3 months ago) by johnpye
File length: 27343 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 (14 years, 3 months ago) by johnpye
File length: 27512 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 (14 years, 3 months ago) by johnpye
File length: 27433 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 (14 years, 4 months ago) by ben.allan
File length: 27452 byte(s)
Diff to previous 399
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 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (14 years, 6 months ago) by johnpye
File length: 27285 byte(s)
Diff to previous 216
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 216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 02:12:20 2006 UTC (14 years, 8 months ago) by jds
File length: 27348 byte(s)
Diff to previous 101
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.

Revision 101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 10 04:22:07 2005 UTC (14 years, 9 months ago) by jds
File length: 27263 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 (14 years, 9 months ago) by jds
File length: 27256 byte(s)
Diff to previous 11
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 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (15 years, 10 months ago) by aw0a
File length: 27093 byte(s)
Copied from: trunk/ascend4/solver/rel.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 (15 years, 11 months ago) by aw0a
Original Path: trunk/ascend4/solver/rel.c
File length: 27093 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