/[ascend]/trunk/ascend/compiler/createinst.c
ViewVC logotype

Log of /trunk/ascend/compiler/createinst.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 05:12:07 2014 UTC (4 years, 3 months ago) by jpye
File length: 26459 byte(s)
Diff to previous 2649
remove RCS comments per warnings from clang 3.4

Revision 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 12:39:25 2012 UTC (5 years, 10 months ago) by jpye
File length: 26582 byte(s)
Diff to previous 2562
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 21:36:01 2012 UTC (6 years, 8 months ago) by jpye
File length: 26670 byte(s)
Diff to previous 2559
fix minor memory leak in IDA, fix memory leak in link_table (diffvars).

Revision 2559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 19:05:59 2012 UTC (6 years, 8 months ago) by jpye
File length: 26636 byte(s)
Diff to previous 2526
Merge from Ksenija's branch rev 3919 to trunk. This includes changes from Dante Stroe and Leon Kwek, including:
Adds support for LINK syntax/semants (but test cases stil need to be written). (Dante Stroe)
Adds support for integration of models containing boundaries. More testing required. (Leon Kwek)
Test suite solver_lrslv added with very basic test of LRSlv. (Leon Kwek)
Fixed error in merge that had messed up SOLVER, SOLVE, OPTION statements.
Support added in LRSlv for taking boundary states from the 'perturb' var, rather than evaluating directly (Leon)
Integrated fix-and-assign statement support added (fixes bug 450) (Ksenija)
Bouncing ball test model included (Leon).


Revision 2526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 19 23:49:44 2012 UTC (6 years, 8 months ago) by jpye
File length: 26534 byte(s)
Diff to previous 2323
Fixing pointer-to-integer conversions for Win64 (bug 524). Mid-way through.

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (7 years, 10 months ago) by jpye
File length: 26551 byte(s)
Diff to previous 2322
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (7 years, 10 months ago) by jpye
File length: 26559 byte(s)
Diff to previous 2317
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 06:16:24 2010 UTC (7 years, 10 months ago) by jpye
File length: 26561 byte(s)
Diff to previous 2183
Moving 'bit.[ch]' to ascend/utilities as they don't make any reference to compiler-specific data structures.
Removed reverse_ad_bak* files, don't appear to be used.
Fixed up #include statements referring to bit.h.

Revision 2183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 13:38:42 2010 UTC (8 years, 5 months ago) by jpye
File length: 26578 byte(s)
Diff to previous 2036
Merging slvreq functionality into trunk.

Revision 2036 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 18 15:03:16 2009 UTC (9 years, 5 months ago) by ballan
File length: 26547 byte(s)
Diff to previous 2018
issues resolved:
295
390
301
cmslv.c: unused var cleanup.
lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons.
works with 1.2+. when adding -w, or any special flags, be sure to add
them and not replace the original flag.
system/var.c: 64bit clarity.
system/discrete.c: 64bit clarity.
system/analyze*: g_reuse declared in wrong place. 64bit clarity
system/diffvars: missing prototype function, 64bit clarity.
compiler/numlist.*: changed from int to glint.
compiler/simlist.c: missing includes needed for 64bit clarity.
compiler/instance_io.c: missing includes needed for 64bit clarity.
compiler/initialize.[ch]: const clarifications.
compiler/packages.c: const clarifications.
compiler/module.c: const clarifications.
compiler/statio.c: unused var cleanup.
compiler/procframe; const clarification. memory deallocation bugs.
compiler/notequery.c: repaired multiple casting and 64bit issues.
compiler/importhandler.c: const and free issues fixed.
compiler/type_desc.c: ridiculous if constructs clarified.
compiler/createinst.c: casting stupidity repaired.
linear/ranki2.c: missing includes needed for 64bitness.
solver/solver.c: const issues clarified.
utilities/ascConfig.h: added GLint typedefs for dealing with gllist
64bit portability.
utilities/ascPanic.c: removed extraneous const.
general/ospath.c: safer,quieter handling for string pointer difference.
integrator/integrator.c: const issues clarified.
packages/sensitivity.c: missing includes needed fo 64bit sanity.
tcltk/interface/Integrators.c: 64 bitness.
tcltk/interface/SimsProc.c: const errors.
tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295)
models/test/z*a4c: fixed meters -> m conversion; someone never ran the
test suite after teasing the default units to ambiguous abbreviations.
SConstruct: added sizeof checks; output might be better put in a ascend
system-wide header.



Revision 2018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (9 years, 5 months ago) by jpye
File length: 26532 byte(s)
Diff to previous 2011
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (9 years, 5 months ago) by jpye
File length: 26483 byte(s)
Copied from: trunk/base/generic/compiler/createinst.c revision 2010
Diff to previous 1359
Moving libascend components from #/base/generic into #/ascend

Revision 1359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 00:32:07 2007 UTC (11 years, 6 months ago) by jpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26483 byte(s)
Diff to previous 1353
Removed various debug output

Revision 1353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 18 01:48:40 2007 UTC (11 years, 7 months ago) by jpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26477 byte(s)
Diff to previous 1227
Removed some redundant #include statments.
Added some explanation of testtmy.a4c (although currently broken with IDA).


Revision 1227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 00:27:14 2007 UTC (11 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26498 byte(s)
Diff to previous 1216
Header rearrangement for relation_type.h

Revision 1216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 12:35:57 2007 UTC (11 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26525 byte(s)
Diff to previous 1211
Cleaning up some more #includes

Revision 1211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 05:09:50 2007 UTC (11 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26554 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 (11 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26594 byte(s)
Diff to previous 1064
Removed unnecessary #include <compiler.h>

Revision 1064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 09:15:56 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26615 byte(s)
Diff to previous 968
Replaced all Asc_Panic calls with ASC_PANIC, which includes __FUNCTION__, __FILE__, __LINE__ reporting.

Revision 968 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 18 05:49:00 2006 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26633 byte(s)
Diff to previous 908
Added SCons tests to check SIGINT and to replace ascresetneeded (need replacement for this in Autoconf as well).
Removed debugging from createinst.c
Typo (text) in evaluate.c
Commented out redundant code in importhandler.c
Added signal handling in ExecuteCASGN.
Added missing ospath_free in ModuleSearchPath.
Exported InitSymbolTable, DestroySymbolTable in symtab (dubious)
Moved FPRESET macro out of ascConfig.h and into ascSignal.h
Added Asc_SignalHandler{Push,Pop}Default.
Added ASC_RESETNEEDED and HAVE_C99FPE macros in config.h.in.
Found the bug causing the SIGFPE in idakryx.a4c (raises a question about int/float division in modelling, I think)
Added system_destroy call in Simulation::~Simulation (dubious).

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (11 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26722 byte(s)
Diff to previous 759
first attempt at merging with Ben's changes on the trunk

Revision 759 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 13 04:16:10 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26675 byte(s)
Diff to previous 731
Commenting and changes to deubg output. Some reformatting of ModifyBlackBoxRelationPointers.

Revision 731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 07:42:06 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26653 byte(s)
Diff to previous 716
Removed some debug messages.
Fixed up return values for Integrators functions to comply with integrator.c API.

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

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26369 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 (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26276 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 (12 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26271 byte(s)
Diff to previous 375
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 375 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 15 06:35:50 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26649 byte(s)
Diff to previous 371
Removing some debug output

Revision 371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 14 05:04:06 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26643 byte(s)
Diff to previous 76
Added some debug output related to external relations.
Added ./configure flags for relation debugging and compiler timing.
Removed some <!-- --> comments.

Revision 76 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 17:31:00 2005 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26647 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 (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26643 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 (13 years, 11 months ago) by aw0a
Original Path: trunk/base/generic/compiler/createinst.c
File length: 26582 byte(s)
Copied from: trunk/ascend4/compiler/createinst.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 (13 years, 11 months ago) by aw0a
Original Path: trunk/ascend4/compiler/createinst.c
File length: 26582 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