summaryrefslogtreecommitdiff
path: root/src/comm
Commit message (Collapse)AuthorAge
...
* Fixed gcc warning.tradke2002-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3045 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan Thornburg]]tradke2002-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve error checking for nonexistent interpolation operators: * Instead of just testing that *some* operator is registered under this handle, also test that the particular operator being called is registered. * Upgrade the test-failed warning for this test (i.e. the warning you get if you try to use an unregistered interpolation operator) from level 3 to level 0 ==> should always abort the Cactus run rather than going ahead and trying to call through a null function pointer and core-dumping. * Add a hint to the error message about one common cause of this problem, eg CCTK_InterpGV(): no interpolation operator is registered under the handle 1 (did you activate PUGHInterp or some other thorn providing this interpolation operator? CCTK_InterpLocal(): no interpolation operator is registered under the handle 1 (did you activate LocalInterp or some other thorn providing this interpolation operator? CCTK_InterpLocalUniform(): no interpolation operator is registered under the handle 1 (did you activate LocalInterp or some other thorn providing this interpolation operator? git-svn-id: http://svn.cactuscode.org/flesh/trunk@2901 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check if there is an local/grid interpolation operator registered under atradke2002-05-31
| | | | | | | given name. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2878 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed a garbage line in the grdoc.tradke2002-05-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2866 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[from Jonathan Thornburg]]tradke2002-05-23
| | | | | | | | | | | | | | | | | | | | | | | User-visible changes to the register-interpolation-operator routines: * (almost) all error messages now include the name of the calling thorn * if an attempt to register an interpolation operator fails because it's already registered, the error message now also includes the name of the thorn which had previously registered the operator The new error message format looks like this: > WARNING[L1,P0] (Cactus): CCTKi_InterpRegisterOperatorLocal: > (called from thorn PUGHInterp) > Ignoring attempt to register operator "third-order uniform cartesian" > because it has already been registered by thorn LocalInterp Internal changes: * expand struct interp_info to store the extra info for the fancier error messages * rename internal fn get_interp_info() --> GetOrSetupInterpInfo() to (a) comply with Cactus naming conventions, and (b) better describe what the function actually does git-svn-id: http://svn.cactuscode.org/flesh/trunk@2849 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Two new overloadable routinesgoodale2002-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | CCTK_GroupStorageIncrease(cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status) CCTK_GroupStorageDecrease(cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status) These should increase or decrease the number of timelevels with storage enabled to the number specified in the timelevels array for each group in the groups array. The status array is optional, and if not NULL should contain the previous number of timelevels enabled for that group. A timelevel value of -1 implies enable/disable all timelevels for that group. The Increase function should never decrease the amount of storage, and the Decrease one never increase it, so it is possible to use Enable to ensure a certain minimum number of timelevels are available without problem, and to pass the status return from Enable in as the timelevel array of Decrease to restore the previous state of the system. The defaults for these functions currently call the old Enable and Disable GroupStorage routines if they have been overloaded, similarly the defaults for the old routines have been changed to call the new routines if they are overloaded, passing -1 as the timelevel value. The old routines will disappear eventually once all drivers are converted to the new routines. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2693 17b73243-c579-4c4c-a9d2-2d5706c11dac
* [[changes from Jonathan Thornburg, checked in by David Rideout]]rideout2002-02-22
| | | | | | | | | | | | | * add new flesh API CCTK_InterpRegisterOpLocalUniform() to register CCTK_InterpLocalUniform() interpolators * rework implementation of all interpolator registration APIs to factor out common code into new static fn and macro in Interp.c JT will checkin docs on the new CCTK_InterpRegisterOpLocalUniform() API after the code is in... git-svn-id: http://svn.cactuscode.org/flesh/trunk@2616 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
* 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 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
* 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
* Undo something from my last commit where I accidentally changed the APItradke2001-11-05
| | | | | | | | for the fortran wrappers for CCTK_SyncGroup() and CCTK_Barrier(). This will be recommitted at a later time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2453 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding a const qualifier to the 'cGH *' argument of some flesh routinestradke2001-11-05
| | | | | | | | and for I/O method registration. You will also need to update the I/O thorns which I will commit changes to now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2452 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_MyProc(), CCTK_nProcs(), CCTK_Barrier() and their Cactus defaulttradke2001-10-31
| | | | | | | overloadables take a 'const cGH *' argument now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2443 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information for interpolation operatorsallen2001-10-23
| | | | | | | | | | | Two new functions const char *CCTK_InterpOperatorImplementation(int handle); int CCTK_NumInterpOperators(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2423 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added implementation information to reduce structureallen2001-10-23
| | | | | | | | | | | New functions: const char *CCTK_ReduceOperatorImplementation(int handle); int CCTK_NumReduceOperators(void); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2422 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sync with local changes: some grdoc completion, removed spurios tabs.tradke2001-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2375 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrappers for CCTK_DisableGroupComm() and ↵tradke2001-08-04
| | | | | | CCTK_DisableGroupStorage(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2298 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
* 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
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for invalid group/variable indices/names.tradke2001-05-04
| | | | | | | This closes PR Cactus 659. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2143 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_CHAR -> CCTK_BYTEallen2001-02-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2070 17b73243-c579-4c4c-a9d2-2d5706c11dac
* use OVERLOAD_INITIALISE instead of OVERLOAD_CHECKallen2001-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2059 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Return different error codes for different errors.tradke2001-02-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2026 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new interpolation API routines CCTK_InterpGV() and CCTK_InterpLocal().tradke2001-02-14
| | | | | | | | | | | This fixes problems with the old interface routines which didn't get passed all necessary information for interpolation on arbitrary grids. The old routines CCTK_Interp() and CCTK_InterpGF() are depricated now but still there - they will issue a level 1 warning when called. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2020 17b73243-c579-4c4c-a9d2-2d5706c11dac
* REGISTER_INTERP_ARGLIST->INTERP_REGISTER_ARGLISTallen2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1834 17b73243-c579-4c4c-a9d2-2d5706c11dac
* C default conversions mean that a CCTK_CHAR will be promoted to an int,goodale2000-07-26
| | | | | | | | | so need to extract an int not a char from a va_arg list. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1786 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replaced assert(0) with abort() in CactusDefaultAbortallen2000-07-20
| | | | | | | | However, it is now commented out, otherwise you get a core file if you give a wrong parameter, and we want to add less drastic behaviour git-svn-id: http://svn.cactuscode.org/flesh/trunk@1772 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Registered reduction operators return intsallen2000-07-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1766 17b73243-c579-4c4c-a9d2-2d5706c11dac
* #ifdef MPI changed into #ifdef CCTK_MPItradke2000-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1756 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Included assert.h which is need for non-MPI configs.tradke2000-07-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1754 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CactusDefaultAbortallen2000-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1748 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change arguments for default CCTK_Exitallen2000-07-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1744 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New arguements for CCTK_Exit and CCTK_Abort, and fixed some return valuesallen2000-07-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1742 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace CCTK_WARN with CCTK_Warn (Cactus/396)allen2000-07-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1729 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_GetInterpHandle -> CCTK_InterpHandleallen2000-07-10
| | | | | | | | | CCTK_RegisterInterpOperator -> CCTK_InterpRegisterOperator Old names removed in next release git-svn-id: http://svn.cactuscode.org/flesh/trunk@1720 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran wrappers for EnableGroupStorage and EnableGroupCommallen2000-06-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1701 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing #include <malloc.h>goodale2000-05-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1656 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for fortran callsallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1637 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Bug in CCTK_SyncGroupsI (syncing a list of groups), hopefully this fixes ↵allen2000-04-23
| | | | | | Cactus/286. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1616 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Compiler warningsallen2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1603 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing various warnings.goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for cactus -x[n].goodale2000-04-18
| | | | | | | | | Cosmetic changes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1576 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cosmetic changes.goodale2000-04-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1572 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Accidently pasted 'comm_Interp_c' into the CCTK_FILEVERSION argument.tradke2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1567 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing rcsid warningsallen2000-04-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1560 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran bindingsallen2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1524 17b73243-c579-4c4c-a9d2-2d5706c11dac