summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Return the documented error indicating values.schnetter2005-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4047 17b73243-c579-4c4c-a9d2-2d5706c11dac
* make CCTK_WARN_* #defines visible to Fortran code, as perjthorn2005-05-11
| | | | | | | | http://cactus.cct.lsu.edu/pipermail/developers/2005-May/000920.html http://cactus.cct.lsu.edu/pipermail/developers/2005-May/000938.html git-svn-id: http://svn.cactuscode.org/flesh/trunk@4044 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove duplicate definitionschnetter2005-04-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4028 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed gcc compiler warnings about local variables named after global symbolstradke2005-04-05
| | | | | | | and potentially uninitialized variables. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4021 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rename pow10 to mypow10 because pow10 is defined on some systems in <math.h>schnetter2005-03-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4018 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare variables at the beginning of a function block.tradke2005-03-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4017 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This is a partial fix for bug Cactus/1908jthorn2005-03-21
| | | | | | | | | | | | | | | | | | | | | | scheduling error neither aborts Cactus run nor gives useful error message so scheduling errors now abort the Cactus run. In particular, this commit changes the error-handling strategy of CCTKi_DoScheduleSortAllGroups() ScheduleSortGroup() from "print a message to stderr, then return error code" to CCTK_VWarn(CCTK_WARN_ABORT, ...), i.e. "print a message to stderr, then abort the Cactus run". The CCTKi_DoScheduleSortAllGroups() message is the same one as before. The ScheduleSortGroup() message is changed to include the group name. (N.b. the other part of Cactus/1908, that the schedule-error message is uninformative, is *not* fixed by this commit.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4016 17b73243-c579-4c4c-a9d2-2d5706c11dac
* update header comment description of where more docs can be foundjthorn2005-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4014 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix header comment description of where more documentation can be foundjthorn2005-03-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4013 17b73243-c579-4c4c-a9d2-2d5706c11dac
* remove a FIXME comment 'should write some latex docs'jthorn2005-03-18
| | | | | | | since there are now fairly extensive latex docs git-svn-id: http://svn.cactuscode.org/flesh/trunk@4012 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change hexadecimal flags-words constants to decimal so Fortran 77jthorn2005-03-18
| | | | | | | | will grok them (keep hex values in comments since they're convenient for C bitwise-oring) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4011 17b73243-c579-4c4c-a9d2-2d5706c11dac
* move some debug printf() calls closer to the start of their functionsjthorn2005-03-18
| | | | | | | (all inside #ifdef UTIL_TABLE_TEST) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4010 17b73243-c579-4c4c-a9d2-2d5706c11dac
* split Table.c test driver out into a separate thorn (CactusTest/TestTable)jthorn2005-03-18
| | | | | | | | | | | also add another error check in insert_table_entry() to catch the case where the type code is invalid and hence CCTK_VarTypeSize() returns -1 --> this gives a new error return from this function, and hence from all the Util_TableSet* functions git-svn-id: http://svn.cactuscode.org/flesh/trunk@4008 17b73243-c579-4c4c-a9d2-2d5706c11dac
* * untabifyjthorn2005-03-17
| | | | | | | | | * add a bunch of debug printing to the standalone test drivers (which still core-dumps on my laptop after corrupting the malloc heap; I'm in the process of tracking down what's wrong...) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4006 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move check for C++ into CCODE sectionschnetter2005-02-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3995 17b73243-c579-4c4c-a9d2-2d5706c11dac
* In CCTK_VWarn(): use copies of va_list when printing to stderr and stdout resp.tradke2005-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3994 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo to properly end a comment which otherwise would have been enclosed intradke2005-02-22
| | | | | | | another comment. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3991 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add cctk_Interp.h to cctk.h (FCODE section). Surround C prototypes inhawke2005-02-18
| | | | | | | | | cctk_Interp.h with CCODE ifdefs. This allows Fortran code to use the same #def'd error codes as the C code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3989 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct description of the warning levelsschnetter2005-02-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3980 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct description of the warning levelsschnetter2005-02-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3979 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare CCTK_CHAR in C a char instead of unsigned char.schnetter2005-01-30
| | | | | | | | | | | Turn CCTK_STRING from a #define into a typedef. Do not declare CCTK_CHAR in Fortran, as it does not make sense. Add some comments. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3975 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce a parameter -L to select the logging level.schnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3974 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make CCTK_BYTE and CCTK_CHAR be distinct types. CCTK_BYTE is for gridschnetter2005-01-29
| | | | | | | | | | | | variables, and CCTK_CHAR (like CCTK_STRING) only for other purposes, e.g. tables. * Introduce unique integer constants for them * Add missing conversion functions from and to strings * Add table functions for CCTK_BYTE. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3972 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove self field from cGH structureschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3971 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add "activetimelevels" field to cGroupDynamicData structureschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3970 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The Fortran wrappers for Util_Table{Get,Set}Char are broken; removeschnetter2005-01-27
| | | | | | | | | them. Technically, Fortran has no character type, but only strings, hence the interface to that routine needs to be different from C. Util_TableSetString is still there, used, and works. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3967 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to add a complex version of the 'pow' function.goodale2005-01-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3966 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove unnecessary #include <stdio.h>schnetter2005-01-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3962 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed way that variables are automatically 'used' so that we don't getgoodale2005-01-07
| | | | | | | compiler warnings about the restrict qualifier. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3952 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use int instead of size_t for string length. All other flesh routinesschnetter2004-12-30
| | | | | | | also use int for lengths and not size_t. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3950 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing #include <stdio.h> statement.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3949 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add missing #include <stddef.h> statement.schnetter2004-12-29
| | | | | | | Move #include statements below include guards. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3948 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix wrong function name in grdoc commentjthorn2004-12-28
| | | | | | | -- it's Util_StrSep(), not CCTK_StrSep() git-svn-id: http://svn.cactuscode.org/flesh/trunk@3947 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Revert another accidental change.schnetter2004-12-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3946 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Revert accidental changes from the last commit.schnetter2004-12-28
| | | | | | | Sorry. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3945 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Rename "round" to "myround". Otherwise, the function "round" has theschnetter2004-12-28
| | | | | | | | same name as the one from <math.h> (which is #included) but has a different return type, which is an error for gcc 4.0. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3944 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added support for 'g' format.goodale2004-12-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3941 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added support for E format.goodale2004-12-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3940 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix bug which ate zeros after decimal places for output.goodale2004-12-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3939 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Implement steerable boolean parameter Cactus::highlight_warning_messagestradke2004-12-20
| | | | | | | | which turns on/off highlighting of CCTK warning messages using ANSI escape sequences. Default is on. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3937 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo my previous commit because it was GPL code.tradke2004-12-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3936 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New version of snprintf() and vsnprintf(). These are taken from the glib 1.2.8tradke2004-12-17
| | | | | | | | | source code. They have integrated a fix to correctly convert floating point numbers into their string representation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3935 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print warning message headers in bold font.tradke2004-12-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3931 17b73243-c579-4c4c-a9d2-2d5706c11dac
* += #defines for warning levels, as per Steve's suggestions in PR#1742jthorn2004-12-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3923 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect call to sleep, as it is not available everywhere.goodale2004-11-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3899 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Also change the prototype for the Fortran ReduceGridArrays routine to match.hawke2004-11-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3893 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add Fortran prototype for CCTK_NumLocalArrayReduceOperators.hawke2004-11-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3891 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Correct the argument list for the Fortran interface for the new Reduction API.hawke2004-11-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3890 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to add a processor-number to reduce to to thegoodale2004-10-19
| | | | | | | Global reduction api. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3869 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub for missing prototypes.goodale2004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3862 17b73243-c579-4c4c-a9d2-2d5706c11dac