summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* moving stagger functions outlanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1260 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added include string.h (needed on dec)lanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1259 17b73243-c579-4c4c-a9d2-2d5706c11dac
* using stagger definitionslanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1258 17b73243-c579-4c4c-a9d2-2d5706c11dac
* staggering constantslanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1257 17b73243-c579-4c4c-a9d2-2d5706c11dac
* stagger supportlanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1256 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a **int to the C2F prototype to prevent warningsallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1253 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New specification for CCTK_GroupData and moved internal functionallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1252 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added internal functionallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1251 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New specification for CCTK_GroupData after Tom pointed out to me thatallen2000-01-13
| | | | | | | | | | | | | | | | | | returning a pointer for a structure means that thorn programmers have to remember to free the pointer. Now the specification is int ierr CCTK_GroupData(int group_index, cGroup *pgroup) So that it can be called via cGroup pg; CCTK_GroupData(group_index, &pg); and noone needs to remember to free anything. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1250 17b73243-c579-4c4c-a9d2-2d5706c11dac
* bug fix for lsshlanfer2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1249 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
* config.h -> cctk_config.hallen2000-01-13
| | | | | | | and some tidying git-svn-id: http://svn.cactuscode.org/flesh/trunk@1245 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing *cctk_lssh to **cctk_lshallen2000-01-13
| | | | | | | config.h -> cctk_config.h git-svn-id: http://svn.cactuscode.org/flesh/trunk@1244 17b73243-c579-4c4c-a9d2-2d5706c11dac
* forgot some debug statementslanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1242 17b73243-c579-4c4c-a9d2-2d5706c11dac
* defining cctk_lssh, local stager shapelanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1241 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove pointer warning on originallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1240 17b73243-c579-4c4c-a9d2-2d5706c11dac
* staggering: staggercode functions addedlanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1238 17b73243-c579-4c4c-a9d2-2d5706c11dac
* staggering: function prototypeslanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1237 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding USE_CCTK_PARAMETERSallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1235 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing compiler warningsallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1234 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding USE_CCTK_PARAMETERS and changing format of warningallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1233 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the use of the function CCTK_GroupData to return a pointerallen2000-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to a structure containing information about the group, rather than returning the information as separate arguments in the call. This makes it easier for us to add any new information needed (e.g. staggering). The new use is cGroup *CCTK_GroupData(int group_index) where cGroup is the structure typedef struct { int grouptype; int variabletype; int staggertype; int dim; int numvariables; int numtimelevels; } cGroup The old function is now deprecated and has been renamed to CCTK_OldGroupData git-svn-id: http://svn.cactuscode.org/flesh/trunk@1232 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new functionsallen2000-01-11
| | | | | | | | | | | | CCTK_CoordDir CCTK_CoordLocalRange also renamed coordinate routines to all start with CCTK_Coord... Old functions remain but are deprecated git-svn-id: http://svn.cactuscode.org/flesh/trunk@1221 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Included <math.h> because T3E's compiler was missing a prototype for sqrt().tradke2000-01-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1220 17b73243-c579-4c4c-a9d2-2d5706c11dac
* accidently took out CCTK_VarTypeNamelanfer2000-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1219 17b73243-c579-4c4c-a9d2-2d5706c11dac
* staggering on the flesh sidelanfer2000-01-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1218 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototype for CCTK_VarTypeNameallen2000-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1217 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New routine CCTK_VarTypeNameallen2000-01-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1216 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More stuff to try and stop warnings on originallen1999-12-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1205 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stop if a parameter is given a value not in the range. This needs toallen1999-12-17
| | | | | | | | be tidied so that it can be over riden, and so that all the out of range parameters are given before the code stops. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1204 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Trying out macro for removing warnings on originallen1999-12-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1203 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for negative parameters from Eric Schnetterallen1999-12-16
| | | | | | | | | Cactus/186 Also fix for closed ranges of parameters git-svn-id: http://svn.cactuscode.org/flesh/trunk@1200 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for memory errorallen1999-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1199 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding new routineallen1999-12-16
| | | | | | | CCTK_VarTypeSize git-svn-id: http://svn.cactuscode.org/flesh/trunk@1198 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Small bug stopping error being returned if a double parameter was out ofallen1999-12-16
| | | | | | | range git-svn-id: http://svn.cactuscode.org/flesh/trunk@1197 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing the schedule point BOUND which isn't needed now.allen1999-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1196 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Gab's complex number stuff.goodale1999-12-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1190 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Corrected return codes for CCTK_Reduce() and CCTK_ReduceArray():tradke1999-12-10
| | | | | | | | | | 0 - successful -1 - wrong argument(s) Fixed BR#185 by that. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1189 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing prototype.goodale1999-12-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1188 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug when scheduling a group which has no before after or whiles.goodale1999-12-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1187 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added all data typesallen1999-12-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1185 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New constants for different data typesallen1999-12-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1184 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More conformant argument specification fo some functions.goodale1999-12-01
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1181 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a prototype.goodale1999-12-01
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1180 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various changes to make sure there are function prototypes for things.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1179 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New cache alignment stuff.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1178 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Functions to store and retrieve the size of an array group.goodale1999-11-28
| | | | | | | | | | | | | To get the size call CCTK_INT **CCTK_GroupSizesI(int groupnum) which returns the an array, of size the dimension of the group, containing pointers to the parameters containing the sizes. Please treat this as experimental and unsupported for the moment. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1176 17b73243-c579-4c4c-a9d2-2d5706c11dac
* simple interfaces for local scalar/1d/2d/3d reductionslanfer1999-11-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1175 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More for the error checking...lanfer1999-11-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1173 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding macro for easy error/ok checking, works like this:lanfer1999-11-27
| | | | | | | | | | | | | | | | | | | | call CCTK_ReduceLocalScalar(ierr, cctkGH, -1, sum_handle, $ resnorm, residual, CCTK_VARIABLE_REAL) call CCTKi_EXPECTOK(ierr,0,1,"Reduction of norm failed") you plug the return value (ierr) into macro, along with the success value (0). You give the warning level if (ierr.ne.0) and the message to output. Saves some if then statments. there is also a CCTK_EXPECTERROR, where you compare ierr to an error value, handles the same way. (Currently internal CCTKi) gerd git-svn-id: http://svn.cactuscode.org/flesh/trunk@1172 17b73243-c579-4c4c-a9d2-2d5706c11dac