summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fixed typo in default clock name.tradke2001-07-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2282 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_TimerRegister -> CCTK_ClockRegisterallen2001-07-10
| | | | | | | to avoid confusion between things timing and things being timed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2281 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This file is replaced by cctk_Timers.hallen2001-07-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2280 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New include file for timersallen2001-07-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2279 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_TimerRegister -> CCTK_ClockRegisterallen2001-07-10
| | | | | | | Starting to add some error codes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2278 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototypes for Cactus timer functionsallen2001-07-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2276 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed arguements for some CCTK_VWarn statementsallen2001-07-10
| | | | | | | Fixed Cactus/732 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2275 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The condition for terminating the Cactus main evolution has changedallen2001-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | slightly, and will affect people using PUGH (or the default Cactus evolution routine) *and* terminating by setting the parameters cctk_initial_time and cctk_final_time There is now a keyword parameter, Cactus::terminate which can be set either to: iteration (the default): terminate when cctk_itlast is reached time: if cctk_initial_time < cctk_final_time terminate when time >= cctk_final_time if cctk_initial_time > cctk_final_time terminate when time <= cctk_final_time either: terminate when either of the above conditions are true both: terminate when both of the above conditions are true never: ignore iteration and time for termination The reason for making this change is to support a negative timestep. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2273 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New API for registering the physical range of indices for coordinates.allen2001-07-04
| | | | | | | | This is going to be used by IO thorns to exclude ghostzones (including the symmetry "ghostzones") for output (if required). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2272 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New Coord API for registering the physical range of indices for coordinates.allen2001-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2271 17b73243-c579-4c4c-a9d2-2d5706c11dac
* In CCTKi_ScheduleTraverseGHExtensions(): call CCTK_ScheduleTraverse()tradke2001-07-04
| | | | | | | | if no GH extensions were registered. This allows evolution routines to be called even if no driver was activated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2270 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Issue level 0 warning if storage/communication is switched on but no drivertradke2001-07-04
| | | | | | | was activated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2269 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Util_GetHandleName() should return the name as a 'const char *'.tradke2001-07-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2267 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
* Added new source file DebugDefines.c which provides some debugging supporttradke2001-07-03
| | | | | | | | routines for Cactus. So far it defines all the CCTK_GFINDEX?D() routines for debug configurations. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define CCTK_GFINDEX?D as macros for C code (as it was before) but as inlinetradke2001-07-03
| | | | | | | | | | | functions for C++ code. For CCTK_DEBUG configurations these are defined as external C functions. Get rid of cctk_dummy_<type> pointers in the _DECLARE_CCTK_CARGUMENTS and _USE_CCTK_CARGUMENTS macros. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2264 17b73243-c579-4c4c-a9d2-2d5706c11dac
* define _CCTK_ARGUMENTS depending on languageallen2001-07-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2260 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed grdoc for CCTK_GroupGhostsizesI().tradke2001-07-02
| | | | | | | This close PR Cactus-731. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2259 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now CCTK_VarTypeName() knows about CCTK_VARIABLE_COMPLEX8, ↵tradke2001-06-27
| | | | | | CCTK_VARIABLE_COMPLEX16, and CCTK_VARIABLE_COMPLEX32 types also. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2256 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now CCTK_VarTypeNumber() knows about CCTK_COMPLEX8, CCTK_COMPLEX16, andtradke2001-06-27
| | | | | | | CCTK_COMPLEX32 types also. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2255 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
* Fixing some compiler warnings.goodale2001-06-25
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2250 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed type conversions for gcc 3.0 .goodale2001-06-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use new macro names for fortran stringsallen2001-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2242 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed for NT for three stringsallen2001-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2241 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Also print the total time for every time bin if cctk_timer_output is enabled.tradke2001-06-12
| | | | | | | | This is just for syncing my version with the cvs. Still not perfect, we could at least also output the total time for all time bins. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2228 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Duplicate warning messages from other processors than 0 to stdout.tradke2001-06-12
| | | | | | | Fixes PR Cactus-709. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2226 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicitly flush stdout and stderr before calling CactusDefaultAbort()tradke2001-06-11
| | | | | | | | | | | since some MPI implementations might just kill the other processes. This should fix PR Cactus-701. Also added grdoc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2221 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Logic fix from Markus Rauscherallen2001-06-07
| | | | | | | Cactus/702 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2219 17b73243-c579-4c4c-a9d2-2d5706c11dac
* prototype for CCTK_IsImplementationCompiledallen2001-06-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2218 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
* Adding key to argument lists of functions called during a traversal of the tree.goodale2001-06-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2216 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_Info() calls CCTK_VInfo() so that stdout is flushed in there.tradke2001-06-01
| | | | | | | This closes PR Cactus-700. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2213 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Get rid of the old interpolator interface which is depricated now.tradke2001-05-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2212 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more const pointer function arguments.tradke2001-05-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2211 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Util_asprintf,Util_asnprintf,Util_snprintf,Util_vsnprintf.goodale2001-05-24
| | | | | | | | | | | | | | | | | | | | | | asprintf is like sprintf, but the first arg is a char ** and should basically be the address of a null pointer. The routine allocates enough space and passes back the new buffer pointer. asnprintf is as above, but the buffer need not be null. The thirs argument is the size of the current buffer, and if the string would be larger than that, the current buffer is freed and a new buffer big enough is allocated. snprintf and vsnprintf are pretty standard, except we don't have them on all platforms so I hunted down a file on the internet, written by Patrick Powel (papowell@astart.com), to give us a portable version of the functionality. It may not be entirely up to scratch with floating point - I've not tested it too thouroughly yet. This should enable us to make the web-server stuff a bit more secure against buffer-overruns. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2210 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Util_asprintf,Util_asnprintf,Util_snprintf,Util_vsnprintf.goodale2001-05-24
| | | | | | | | | | | | | | | | | | | | | | asprintf is like sprintf, but the first arg is a char ** and should basically be the address of a null pointer. The routine allocates enough space and passes back the new buffer pointer. asnprintf is as above, but the buffer need not be null. The thirs argument is the size of the current buffer, and if the string would be larger than that, the current buffer is freed and a new buffer big enough is allocated. snprintf and vsnprintf are pretty standard, except we don't have them on all platforms so I hunted down a file on the internet, written by Patrick Powel (papowell@astart.com), to give us a portable version of the functionality. It may not be entirely up to scratch with floating point - I've not tested it too thouroughly yet. This should enable us to make the web-server stuff a bit more secure against buffer-overruns. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2209 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
* Stuff for sorted fixed-length lists of strings.goodale2001-05-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2203 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for sorted fixed-length lists of strings.goodale2001-05-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2202 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
* Renamed CCTK_VERSION_MICRO into CCTK_VERSION_OTHER.tradke2001-05-20
| | | | | | | This closes PR Cactus 691. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2196 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pass 'const cGH *' into CCTK_GHExtension().tradke2001-05-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2194 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warnings.tradke2001-05-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2193 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved level 2 warning to level 6 warning if no group/variable found with ↵allen2001-05-14
| | | | | | | | | given index. Maybe we need to suggest how to choose appropriate levels in the users guide (not that we seem able to decide ourselves) eg use 6 and over for more info like statements such as these. G. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2183 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed warning level typoallen2001-05-14
| | | | | | | Cactus/682 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2182 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototype for CCTK_VarDataPtr() changed.tradke2001-05-11
| | | | | | | Added missing prototypes for CCTK_GroupbboxXX() routines. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2176 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to varname argument for CCTK_VarDataPtr() to 'const char *' type.tradke2001-05-11
| | | | | | | | | | This fixes PR Cactus 674. Also added prototypes for fortran wrappers. This blows up the source file even more. Should try and automatically declare wrapper prototypes soon. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2175 17b73243-c579-4c4c-a9d2-2d5706c11dac