summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add the name of the executable to the banner printed to standard out.allen2002-01-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2566 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a small bug. Completed grdoc.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2565 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2562 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undefine NOTHING to avoid compiler warning if this macro gets redefined later.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2561 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The callback routine, CCTKi_SetParameter(), passed to the ParseFile() routinetradke2002-01-02
| | | | | | | | | | now takes the current line number in the parameter file as a third argument. CCTKi_SetParameter() is now able to tell you what line in the parameter file was erroneous. This closes PR Cactus-838. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2555 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set warning level 2 for warnings about out-of-range parameter values.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2554 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed return code for CCTK_OutputGH() - now returns the total number of varstradke2001-12-30
| | | | | | | which were output by all I/O methods. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2548 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_TimerPrintData and CCTK_TimerPrintDataI to take two arguements,allen2001-12-29
| | | | | | | | | | | | | | | | | | | | | so you can choose both a timer and a clock to print. Passing a NULL argument for a string, or a -1 for the index versions will cause all the timers/clocks to be used. Also added new functions CCTK_NumClocks CCTK_ClockName CCTK_ClockHandle which I needed for this. Not sure that I really needed the ClockHandle one, but it is useful anyway to test if a clock is registered. Maybe these functions should also take something like a file descriptor, so that the information can be easily printed to a file, or to the HTTPD pages. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2547 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototypes for new coordinate functions.allen2001-12-29
| | | | | | | | Also needed a macro for fortran, since the call to register a system now automatically hide the argument with the thorn name doing the registering git-svn-id: http://svn.cactuscode.org/flesh/trunk@2544 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New functionsallen2001-12-29
| | | | | | | | | | | | | | | const char *CCTK_CoordName (int dir, const char *systemname) const char *CCTK_CoordSystemImplementation (int handle) int CCTK_NumCoordSystems (void) (probably not optimum names now, since maybe CoordSystemImplementation should take the system name, but this matches what there is now in IO, Interp, Reduce) Also fixed a bug in CCTK_CoordRange where there was no return value to signify that the range wasn't actually found if everything else was there. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* typo in grdocallen2001-12-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2542 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed return code evaluation of I/O methods' OutputGH() routines.tradke2001-12-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2535 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidied some warnings and added new function to return interp/reduce operator ↵allen2001-12-27
| | | | | | | | | name from handle git-svn-id: http://svn.cactuscode.org/flesh/trunk@2534 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function to return IO method name from handleallen2001-12-27
| | | | | | | const char *CCTK_IOMethod (int handle) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2533 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding prototypes for new functions to return IO methods, interp and reduceallen2001-12-27
| | | | | | | operator names from their handle git-svn-id: http://svn.cactuscode.org/flesh/trunk@2532 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bugfix in printing runtime information.tradke2001-12-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2526 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove ErrorCodes.h since it isn't used and doesn't exist any moreallen2001-12-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Error codes need to be thought about, removing this file to avoid confusionallen2001-12-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2515 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed name of CCTK_DisplayTimerDataXXX() to CCTK_TimerPrintDataXXX().rideout2001-12-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2513 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved the very first CCTK_POSTSTEP schedule bin before CCTK_RECOVER_VARIABLES.tradke2001-12-17
| | | | | | | | | Now POSTSTEP routines aren't run anymore twice on the same timestep after recovery. Closes PR Cactus-824 and Cactus-826. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2512 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed CCTK_DisplayTimerData() to CCTK_TimerPrintData() (along withrideout2001-12-17
| | | | | | | all their variants). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2509 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing prototypes for fortran wrappers.tradke2001-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2504 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warnings when compiling without MPI.tradke2001-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2503 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added prototypes for new CCTK_DisplayTimerDataXXX() routines.tradke2001-12-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2502 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed the complex div() and abs() routines to conform to the GNU Scientific ↵tradke2001-12-12
| | | | | | | | | | | Library. This closes PR Cactus/335. Also added complex exp(), sin(), cos(), and sqrt() routines according to GSL. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2499 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrapper protoypes.tradke2001-12-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2498 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Expanded a CCTK_WARN macro into CCTK_VWarn().tradke2001-12-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2496 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Shortened the headings for the Cactus default timers a bit (only have thetradke2001-12-11
| | | | | | | | | | timer routine name in it). When outputting the timing info with 'cactus::cctk_timer_output = "full"' also print the units for each timer in its heading. Closes PR Cactus/275. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2495 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Fortran bindings for timers, and two subroutinesrideout2001-12-11
| | | | | | | | | CCTK_DisplayTimerData() CCTK_DisplayTimerDataI() which display timing data for a given timer. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2494 17b73243-c579-4c4c-a9d2-2d5706c11dac
* requires cctk_Types.h to compilerideout2001-12-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2493 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed warning level to 2 for messages saying that a non-steerable parametertradke2001-12-11
| | | | | | | | is not set from a parameter file during recovery. Closes PR/442. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2492 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed checking of parameter value.tradke2001-12-10
| | | | | | | Closes Cactus/859. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2490 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed fortran wrappers for CCTK_SyncGroupXXX() and CCTK_Barrier()tradke2001-12-09
| | | | | | | | | | | which also takes an 'ierror' argument now returning the result of the corresponding C call. You will also need to update all thorns now which call these routines. See also separate mail to developers@cactuscode.org regarding this change. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2489 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define USE_ARGUMENTS macro which expands to something which use the argumentstradke2001-12-09
| | | | | | | | | of overloaded functions. This gets rid of nasty compiler warnings about unused function arguments for dummy overloadables. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2488 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Forgot to add a prototype for CCTK_QueryGroupStorage().tradke2001-12-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2486 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrapper for CCTK_QueryGroupStorage(). Maybe this file is not thetradke2001-12-06
| | | | | | | | best place to put it. Closes PR Cactus/577. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2485 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing header include.tradke2001-12-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2484 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Forgot the 'return' statement in my last commit.tradke2001-12-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2482 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
* Added return statement to prevent compiler warning 'function should return a ↵tradke2001-12-04
| | | | | | value'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2480 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixes for Cactus/833,828,825allen2001-12-04
| | | | | | | | | | | | | | | Parsing errors from Parameter file are fatal errors Report all parameter errors before terminating simulation (actually this isn't quite true, it will report all parsing errors and then stop if necessary and then report all parameter setting errors and stop if necessary) In parsing the parameter file omitting the "=" and ommiting the "= value" are fatal errors. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2478 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed warning from CCTK_SetBoolean, this should be caught in anyallen2001-12-04
| | | | | | | calling routine git-svn-id: http://svn.cactuscode.org/flesh/trunk@2477 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed compiler warnings for variables with 'const' qualifiers.tradke2001-12-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2475 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed Util_SplitFilename() to allocate both the dir and basename string.tradke2001-12-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2474 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix CCTK_CompileDate() to return the day as a 2-digit number. This makes thistradke2001-12-03
| | | | | | | | | routine return a format consistent with CCTK_CurrentDate(). Closes PR Cactus/822. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2473 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed the old regex stuff in CCTKi_ExtractSize() since Tom's new expressiontradke2001-11-27
| | | | | | | | parser stuff works much better now. This gets rid of gcc warnings about unused local variables. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2472 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Turned the GH argument type in calls to CCTK_EnableGroup[{Storage}{Comm}]()tradke2001-11-27
| | | | | | | | | | | from 'void *' into 'cGH *'. Note that this is likely to change into a 'const cGH *' argument before the next release. This closes PR Cactus-820. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2471 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undefine strdup before it is redefined. Fixes a gcc warning.tradke2001-11-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2470 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undefine CCODE before it is redefined. Fixes a gcc warning.tradke2001-11-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2469 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stop Cactus if warning/error level command line option isn't followed bytradke2001-11-16
| | | | | | | | | a numeric value. Closes Cactus-834. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2465 17b73243-c579-4c4c-a9d2-2d5706c11dac