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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 27 00:11:34 2007 UTC (16 years, 4 months ago) by johnpye
File length: 83055 byte(s)
Diff to previous 1227
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 1227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 00:27:14 2007 UTC (16 years, 4 months ago) by johnpye
File length: 83056 byte(s)
Diff to previous 1199
Header rearrangement for relation_type.h

Revision 1199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 11:22:15 2007 UTC (16 years, 4 months ago) by johnpye
File length: 83092 byte(s)
Diff to previous 1194
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 1194 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 01:30:56 2007 UTC (16 years, 4 months ago) by johnpye
File length: 82998 byte(s)
Diff to previous 1192
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 12:10:43 2007 UTC (16 years, 4 months ago) by johnpye
File length: 101015 byte(s)
Diff to previous 1191
Fixed for non-differential problems.

Revision 1191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 12:00:57 2007 UTC (16 years, 4 months ago) by johnpye
File length: 100816 byte(s)
Diff to previous 1187
Added obs_id lists to analyse.c. Hopefully we can remove later when we work out a better architecture for that.

Revision 1187 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 21 06:03:58 2007 UTC (16 years, 4 months ago) by johnpye
File length: 98131 byte(s)
Diff to previous 1183
analyse.c can now pick up 'chains' of derivatives and pass them to the solver.

Revision 1183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 20 09:15:51 2007 UTC (16 years, 4 months ago) by johnpye
File length: 93224 byte(s)
Diff to previous 1070
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.

Revision 1070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 8 14:36:31 2007 UTC (16 years, 4 months ago) by johnpye
File length: 93259 byte(s)
Diff to previous 1069
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 8 11:25:33 2007 UTC (16 years, 4 months ago) by johnpye
File length: 92552 byte(s)
Diff to previous 1068
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 8 04:45:47 2007 UTC (16 years, 4 months ago) by johnpye
File length: 99611 byte(s)
Diff to previous 1064
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 1064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 09:15:56 2007 UTC (16 years, 4 months ago) by johnpye
File length: 99532 byte(s)
Diff to previous 908
Replaced all Asc_Panic calls with ASC_PANIC, which includes __FUNCTION__, __FILE__, __LINE__ reporting.

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (16 years, 7 months ago) by johnpye
File length: 99553 byte(s)
Diff to previous 731
first attempt at merging with Ben's changes on the trunk

Revision 731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 07:42:06 2006 UTC (16 years, 11 months ago) by johnpye
File length: 99346 byte(s)
Diff to previous 728
Removed some debug messages.
Fixed up return values for Integrators functions to comply with integrator.c API.

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

Revision 725 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 11:52:45 2006 UTC (16 years, 11 months ago) by johnpye
File length: 99496 byte(s)
Diff to previous 721
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...

Revision 721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 06:22:42 2006 UTC (16 years, 11 months ago) by johnpye
File length: 99164 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 (16 years, 11 months ago) by johnpye
File length: 99014 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 (16 years, 11 months ago) by johnpye
File length: 98727 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 (16 years, 11 months ago) by johnpye
File length: 98645 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 (16 years, 11 months ago) by johnpye
File length: 98555 byte(s)
Diff to previous 669
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 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (16 years, 11 months ago) by johnpye
File length: 98503 byte(s)
Diff to previous 399
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 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (17 years, 2 months ago) by johnpye
File length: 96905 byte(s)
Diff to previous 222
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 222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 27 04:23:20 2006 UTC (17 years, 4 months ago) by johnpye
File length: 97010 byte(s)
Diff to previous 220
Updating for Jerry's new error_reporter syntax, bug #179

Revision 220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 07:44:41 2006 UTC (17 years, 4 months ago) by johnpye
File length: 96951 byte(s)
Diff to previous 219
More doc changes

Revision 219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 07:41:58 2006 UTC (17 years, 4 months ago) by johnpye
File length: 98111 byte(s)
Diff to previous 190
Documentation changes

Revision 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (17 years, 4 months ago) by johnpye
File length: 98731 byte(s)
Diff to previous 122
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

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

Revision 89 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 15:44:43 2005 UTC (17 years, 5 months ago) by johnpye
File length: 98776 byte(s)
Diff to previous 76
Small changes to eliminate GCC warnings

Revision 76 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 17:31:00 2005 UTC (17 years, 6 months ago) by johnpye
File length: 98769 byte(s)
Diff to previous 62
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (17 years, 6 months ago) by johnpye
File length: 98580 byte(s)
Diff to previous 11
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 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (18 years, 6 months ago) by aw0a
File length: 98417 byte(s)
Copied from: trunk/ascend4/solver/analyze.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, 7 months ago) by aw0a
Original Path: trunk/ascend4/solver/analyze.c
File length: 98417 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