summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Some tidying up.goodale1999-11-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1163 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a variable argument list CCTK_Warn.goodale1999-11-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1162 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added variable argument CCTK_Warn.goodale1999-11-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1161 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add option for displaying timer outputallen1999-11-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1154 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print out registered extensions and handles in debug modeallen1999-11-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1153 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed an extraneous const.goodale1999-11-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1148 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_FortranString has to return the lenght of the string as CCTK_INT, not ↵lanfer1999-11-09
| | | | | | int because this gives pointer errors (on the T3E) git-svn-id: http://svn.cactuscode.org/flesh/trunk@1147 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added stagger and array size to CCTK_CreateGroup and renamed it CCTKi_...goodale1999-11-09
| | | | | | | | | | | since it should only be used by the perl-generated code. IMPORTANT NOTE: You will need to do a -rebuild after this update. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1145 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed definition of complex type to be consistent with Fortran defaults.goodale1999-11-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1144 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing logic for cctk_final_time and cctk_itlast, hopefully got itallen1999-11-06
| | | | | | | right now, I guess I'm the first person to use cctk_final_time ! git-svn-id: http://svn.cactuscode.org/flesh/trunk@1142 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing definethorn.hallen1999-11-06
| | | | | | | Adding _USE_CCTK_ARGUMENTS ... but doesn't work yet git-svn-id: http://svn.cactuscode.org/flesh/trunk@1141 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding break statements for case to work properlyallen1999-11-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1140 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Freeing groupname after usage in CCTK_SyncGroupI().tradke1999-11-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1135 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a silly mistake I just committed. Thanks Ralph.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1131 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
* Removed duplicate definition of a function.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1128 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed an uninitialized return code for fortran binding of CCTK_InterpGF.tradke1999-11-02
| | | | | | | | | | | Also both CCTK_Interp and CCTK_InterpGF returned 1 for success, 0 for some error before. I changed this to be 0 for success, -1 for error. Thomas git-svn-id: http://svn.cactuscode.org/flesh/trunk@1127 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Trying a new place for printing the Cactus bannerallen1999-11-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1122 17b73243-c579-4c4c-a9d2-2d5706c11dac
* parameter file real format recognition was broken, fixedlanfer1999-10-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1121 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some #ifndefs just in case you really, really want togoodale1999-10-29
| | | | | | | | | | | | | | | | compile with parameter checking switched off. May make it a command-line option in the future, perhaps. Define CCTK_PARAMUNCHECKED if you want to do this, which you won't want to do. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1120 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added CCTK_VARIABLE_STRINGlanfer1999-10-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1119 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved prototypes for ParameterSet, ParameterGet, ParameterWalktradke1999-10-28
| | | | | | | | | | | | from ParameterBindings.h to cctk_ParameterFunctions.h. Thanks, Tom. Thomas git-svn-id: http://svn.cactuscode.org/flesh/trunk@1118 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added prototypes for ParameterSet, ParameterGet, ParameterWalktradke1999-10-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1117 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allocating memory for incoming string in banner registration.goodale1999-10-28
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1116 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Collision chaining hash tables.goodale1999-10-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1115 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Thomas's filled out version of the ParameterWalk routine.goodale1999-10-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1114 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for an active handle in Util_GetHandle().tradke1999-10-27
| | | | | | | | The following strcmp() crashed if an already destroyed handle was passed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1113 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Count number of times a parameter is set.tradke1999-10-27
| | | | | | | Need this already for choosing correct output dirs. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1111 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various things pointed out by running Insure on the code.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Filled in routines to prnt out timer info. The format is still a bitgoodale1999-10-26
| | | | | | | | | | ugly, though 8-( Once I'm happy with things I may move the printing routines to a centrally accessable place. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1107 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Timers now do register the number of values they provide.goodale1999-10-26
| | | | | | | | | | Also now store integer values and do the conversion to double at the end - this has much better behaviour. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1106 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A bugfix in creating anonymous timers.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1105 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added default return value for CCTK_mkdir (purify complaint)lanfer1999-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1095 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some preliminary code for printing out schedule stuff. Not used yet.goodale1999-10-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1093 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Got rid of an extraneous ; .goodale1999-10-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1089 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran string stuff on the T3E. Have introducedgoodale1999-10-22
| | | | | | | | | | | | | | | ONE_FORTRSTRING_PTR(arg) etc to get the pointer to a fortran string. Still needs testing on other architectures. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1084 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More updates to timer stuff.goodale1999-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | Now to get info from a timer, one must create a timer info function: info = CCTK_TimerCreateInfo(); Get the data CCTK_TimerGet(timer, info); Query the fields in the info structure, and then either query another timer with the same info structure, or destroy the info structure. CCTK_TimerDestroyInfo(info); The info structure contains the number of values, and an array of these values, along with header info, units, data types and values. I think this is a fairly complete interface, but if a better one can be found, this may change. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1083 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Timers are now created and timer data collected for scheduled routines.goodale1999-10-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1080 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for new timer stuff.goodale1999-10-21
| | | | | | | | | | Currently have #if 0ed out all references to old timers in thorns and flesh to act as placeholders for new timer stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1079 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to use new #ifdefs.goodale1999-10-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1078 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some new timer stuff. Compiles and links under linux and NT, butgoodale1999-10-20
| | | | | | | | | | | untested as yet. Still need to put in MPI time and the windows time stuff, as well as hardware counters, and still need to wrap schedule stuff with timers. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1074 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some fixes for NT.goodale1999-10-20
| | | | | | | | | Protected against multiple inclusion. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1070 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Small change to CCTK_ReduceLocalArray1D() which does now element-wise reductiontradke1999-10-20
| | | | | | | | | | | | | | | | | | | | | | on a single array. I'm not sure about the name of this function, it could have two meanings depending on the definition of 'array': 1) Every processor has its own array and wants to apply a reduction operation on each element with the corresponding elements of other processors' arrays. That's what CCTK_ReduceLocalArray1D() is doing now. 2) The array is a global, shared one (like a grid function), and reduction is done on all elements, resulting in a single output value. Any idea about another name to avoid this ambiguousness ? Thomas git-svn-id: http://svn.cactuscode.org/flesh/trunk@1067 17b73243-c579-4c4c-a9d2-2d5706c11dac
* reduction of 1d arrays, needs harmonizing!lanfer1999-10-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1065 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototypes for file utilitiesallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1062 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding more cctk_ headers for Callen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1061 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Splitting internal and general functionsallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1060 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a ifdefallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1059 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Splitting general and internal functionsallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1058 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing #define to name of fileallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1057 17b73243-c579-4c4c-a9d2-2d5706c11dac