summaryrefslogtreecommitdiff
path: root/src/main/ActiveThorns.c
Commit message (Collapse)AuthorAge
* Let active thorns treat \r as whitespace when parsing tokens.sbrandt2013-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4986 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't crash when activating non-existing thornseschnett2013-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4946 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add more error checks when activating thornseschnett2013-01-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4945 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct variable nameeschnett2013-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4942 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Only warn (don't err) if a thorn is activated multiple timeseschnett2013-01-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4941 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Automatically activate required thornseschnett2013-01-18
| | | | | | | | Activate require and optional thorns automatically (but not optional_ifactive thorns). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4939 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix typoschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3505 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bugfix in CCTKi_RegisterThorn(): an allocated structure wasn't properly ↵tradke2003-09-12
| | | | | | | | | initialized. This closes PR Cactus/1598: Fails Testsuites, problem seems to be in ActiveThorns.c. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3399 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check that all thorns which are required by a given thorn to be activatedtradke2003-09-04
| | | | | | | are also activated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3394 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warnings about type casts with missing const qualifiers.tradke2003-03-12
| | | | | | | This closes PR Cactus/1439. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3172 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed error message slightly for missing implementations in ActiveThornsallen2002-08-20
| | | | | | | list git-svn-id: http://svn.cactuscode.org/flesh/trunk@2980 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix error message for printing thorn dependencies.tradke2002-08-12
| | | | | | | This closes PR Cactus/1188. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2945 17b73243-c579-4c4c-a9d2-2d5706c11dac
* If an implementation is required but not activated, print the name of thetradke2002-07-12
| | | | | | | | implementation and thorn which requires it. This closes PR Cactus/1121. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2929 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing include "cctki_Parameter.h".tradke2002-05-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2868 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Makes new call to activate thorn parameters after thorns are activated.goodale2002-05-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2831 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warning about an unused variable assignment.tradke2001-12-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2481 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing some unprotected mallocs spotted by Ian Hawke.goodale2001-11-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2458 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a function which returns a list of required (=inherited+friends) ↵allen2001-10-23
| | | | | | | | | | | | implementations for a given implementation. I don't like the function name too much, so it may change in the next couple of weeks uStringList *CCTK_ImplementationRequires(const char *imp) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2425 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed small bug in detecting errors in thorn inheritanceallen2001-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2414 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus/783 and a bit moreallen2001-09-21
| | | | | | | | | | | | | | | Changed banner information to look something like: -------------------------------------------------------------------------------- Version: 4.0.b11 Compile date: Sep 21 2001 (20:54:30) Run date: Sep 21 2001 (21:17:58) Run host: gullveig.aei.mpg.de Parameter file: test_WaveToy2D.par -------------------------------------------------------------------------------- git-svn-id: http://svn.cactuscode.org/flesh/trunk@2376 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print the parameter file name before the messages about ActiveThornsallen2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2374 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed gcc warnings.tradke2001-09-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2351 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidying up error messages for missing thornsallen2001-07-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2266 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reformatted the error message when thorns are missing from the ActiveThornsallen2001-06-26
| | | | | | | | | parameter. Also added an elseif for when no compiled thorn provides an implementation ... but then realised that this probably can't happen since it gets caught by the CST (?) ... but not entirely sure so left it in. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2253 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding extra help so it gives you some idea of what thorns to activate ifgoodale2001-06-04
| | | | | | | | | you make a mistake in your ActiveThorns parameter. Tom and Gab. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2217 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New improved thorn activation routine. This routine checks the relationshipsgoodale2001-05-22
| | | | | | | | | | | | | | | | | (i.e. implementations inhertied from, and friends) of a thorn and doesn't allow an inconsistent set of thorns to be activated. This fixes the long-standing bug where a thorn could be activated without its ancestors resulting in core dumps. See, for example PR 405. Please check your parameter files carefully as it is quite likely that one or more thorns are missing. From fixing the testsuites the most common ones missing were Boundary,PUGHSlab and FlexIO. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2207 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use CCTK_VWarn() in place of CCTK_WARN.tradke2001-05-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2205 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Syncing before going home. New stuff not finished or called yet.goodale2001-05-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2204 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Several inter-twined changes: -goodale2001-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make system now looks in bindings/build/$(THORN)/make.code.defn for additional objects to be built and linked into a library. The CST puts a file cctk_ThornBindings.c into this directory. This should solve the empty library problem - PR 638. The interface to the internal routine CCTKi_RegisterThorn has changed. The new file created by the CST uses the correct new syntax, ands passes information about ancestors and friends into the flesh. Hence the commit of two separate things in one commit, as the both changes require a -rebuild. Please do a make <config>-rebuild or your code will not compile. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2199 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug in index nameallen2000-10-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1855 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc, style-guidelines, ...goodale2000-10-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* IsThornActive is a fortran function not a subroutineallen2000-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1750 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for Fortran callsallen2000-05-10
| | | | | | | CCTK_Warn -> CCTK_VWarn where appropriate git-svn-id: http://svn.cactuscode.org/flesh/trunk@1639 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed routines that allocated and returned a list of thorns or ↵tradke2000-02-02
| | | | | | | | | | | | | | | | | | | | | implementations. Instead you can use now: int CCTK_NumCompiledThorns(void); int CCTK_NumCompiledImplementations(void); const char *CCTK_CompiledThorn(int index); const char *CCTK_CompiledImplementation(int index); Will probably add also CCTK_CompiledThornWalk() and CCTK_CompiledImplementationWalk() later. Thomas git-svn-id: http://svn.cactuscode.org/flesh/trunk@1335 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Capitalising include file namesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing various things pointed to by compiling with -Wall.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1129 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some bugfixes and renaming of parameter stuff.goodale1999-10-18
| | | | | | | | | | | | Some more stuff for ActiveThorns. Now the -O and -o commandline options do something sensible. You can also pass an optional parameter 'v' to -O which makes it very verbose. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1054 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Additions to parameter stuff and activethorns - thanks Andre.goodale1999-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1042 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added F wrapper forlanfer1999-10-05
| | | | | | | | | | | | | | | CCTK_IsThornActive(retvalue, "ThornName") CCTK_IsImplementationActive(retvalue, "ImpName") where retvalue = 1 indicates active to some degree this can be used in place of #ifdef THORNNAME gerd git-svn-id: http://svn.cactuscode.org/flesh/trunk@1008 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran binder for IsThornActiveallen1999-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@918 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New parameter stuff.goodale1999-08-26
| | | | | | | | | | | Now a non-active thorn's extensions to parameters shouldn't be valid, range checking is now done, even for strings, which must conform to a regular expression. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routine name changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac