aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Add missing #include <stddef.h> and #include <stdio.h> statements.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@452 b61c5cb5-eaca-4651-9a7a-d64986f99364
* assert fixyye002004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@450 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fix for my last commit: destroy groups in ascending order.tradke2004-06-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@449 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Return size 1 in PUGH_ArrayGroupSize() for zero-sized vector groups (same astradke2004-06-29
| | | | | | | | for non-allocated variables). This closes PR CactusPUGH/1792: "Zero sized vector groups kill PUGH". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@448 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Don't try to free zero-sized vector groups.tradke2004-06-29
| | | | | | | This closes PR CactusPUGH/1792: "Zero sized vector groups kill PUGH". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@447 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Store the directional stagger indices in the pGV structure rather than just thetradke2004-06-26
| | | | | | | | staggering code. And use this former later on - this closes PR CactusPUGH 1549: "Staggered grids crash PUGH". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@446 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Check on each processor that there are enough interior points.tradke2004-06-21
| | | | | | | This is related to PR CactusPUGH/1726 "Periodic boundaries without MPI are broken". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@445 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Initialize new current timelevel after timelevel rotation according totradke2004-06-10
| | | | | | | | | | PUGH::intitialize_memory. This closes PR CactusPUGH/1312: "PUGH should initialise memory also after time level cycling". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@444 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Added a sanity check 'nsize >= 3*nghosts' and abort if this is not true.tradke2004-06-08
| | | | | | | | This puts PR CactusPUGH/1726 "Periodic boundaries without MPI are broken" into a suspended state. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@443 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Since scalars are zero-dim GAs now, need an extra check for the extras andgoodale2004-05-18
| | | | | | | connectivity freeing. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@442 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Untabified.goodale2004-05-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@441 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Untabified. Please try to adhere to the Cactus coding guidelines whengoodale2004-05-17
| | | | | | | modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@440 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed gcc compiler warnings about potentially undefined return values.tradke2004-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@439 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Apply manual topology settings also to the distribution of grid arrays.tradke2004-04-29
| | | | | | | | This fixes PR CactusPUGH/1661: "the manual processor topology settings are not respected for a 3D array." git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@437 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removed trailing semicolon after DECLARE_CCTK_PARAMETERS macro.tradke2004-04-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@436 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Check for invalid arguments in PUGH_SyncGArrayGroup and abort onschnetter2004-03-09
| | | | | | | | | | error. Do not synchronise groups without storage when running on a single processor. (This happens only for periodic boundaries.) git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@432 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Initialise the convergence factor.schnetter2004-02-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@431 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Adding semicolon after fileversion macro so TAGS work properly.goodale2004-02-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@430 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Semicolon after fileversion and grdoc fix.goodale2004-02-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@429 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fokke Dijkstra's patch: Added new routine PUGH_SetTopology() which can be calledtradke2004-01-08
| | | | | | | by other thorns to overwrite PUGH's manual topology parameter settings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@428 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Ian's fix for malloc(0) which returns NULL on DEC machines and thus weretradke2003-12-11
| | | | | | | treated as an error. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@427 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fix for my latest commit which broke MPI configurations.tradke2003-12-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@426 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Made a few more functions static.tradke2003-12-05
| | | | | | | Fixed gcc compiler warnings about unused parameters. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@425 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Bug was discovered by Fokke Dijkstra: manual partitioning settings wastradke2003-12-01
| | | | | | | | applied to both grid function and grid array variables. Should be done only for grid functions, of course. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@424 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Allow vector groups of scalars.schnetter2003-11-21
| | | | | | | | | | Allow vector groups with more than one declared variable. Much of this patch consists of removing special case code for scalars. Scalars are now almost everywhere treated as rank 0 arrays. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@423 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Allow for a small fudge factor when testing for cctk_final_time.schnetter2003-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@422 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Output long timing number as long instead of as int.schnetter2003-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@421 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@420 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@419 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Stop in PUGH_GetSliceSizes() with a level-0 warning rather than trying totradke2003-09-18
| | | | | | | continue if the user specified invalid values for the partition parameters. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@417 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Change to CCTK_MaxTimeLevelsallen2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@416 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed a compiler warning about unused parameters.tradke2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@415 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Added a const qualifier to the 'cGH *' argument of PUGH functions which overloadtradke2003-07-14
| | | | | | | | | | | | | the following flesh routines: - CCTK_SyncGroup - CCTK_EnableGroupCommI / CCTK_DisableGroupCommI - CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI - CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease You will also need to update the flesh now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@414 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed PUGH_GFSize() and PUGH_GFPeriodic() to also initialize the sizes andtradke2003-06-27
| | | | | | | periodic flags resp. for dimensions larger than 3D. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@413 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changed PUGH_Abort() to return with the given return code to abort withtradke2003-06-19
| | | | | | | | (and not with 0 as it was before). This fixes PR CactusPUGH/1546. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@411 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Patch by Erik Schnetter to initialize new elements in the cGH structure:tradke2003-06-17
| | | | | | | | | GH->cctk_timefac, GH->cctk_levoff[], GH->cctk_levoffdenom[]. These changes require an update of the flesh also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@410 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed domain decomposition of 'DISTRIB=const' arrays. Now it also parallelizestradke2003-03-31
| | | | | | | | | if the (local) size is greater than the number of ghostzones. This fixes PR CactusPUGH/1425 (where nghostzones was set to 0 and the size set to 1). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@409 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Warn about allocation of zero-sized variable only if its global size is zero.tradke2003-03-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@408 b61c5cb5-eaca-4651-9a7a-d64986f99364
* The GH->data pointer wasn't set by PUGHi_EnableScalarGroupStorage().tradke2003-02-17
| | | | | | | This closes PR CactusPUGH/1381. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@406 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Parameter Cactus::max_runtime is now evaluated as REAL.tradke2003-01-12
| | | | | | | Fixed wrong logical operation in MPI_Allreduce() call in DoneMainLoop(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@404 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Reduce the local termination flag from all processors and have DoneMainLoop()tradke2003-01-10
| | | | | | | | return this global value. This prevents potential deadlocks, especially with the max_runtime termination condition. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@402 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed error messageallen2002-12-30
| | | | | | | Closes Cactus/1313 git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@400 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Support additional termination condition using the new cactus::max_runtimetradke2002-11-08
| | | | | | | | integer parameter and the extended keyword parameter cactus::terminate to select this condition. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@399 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Check whether storage allocation succeeded (and issue a warning if not)tradke2002-10-24
| | | | | | | | only for non-vector group variables. This closes PR CactusPUGH-1255. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@397 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed comment.rideout2002-07-11
| | | | | | | Put semicolon at end of CCTK_FILEVERSION(CactusPUGH_PUGH_Evolve_c). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@396 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changed C++ style comment to C.rideout2002-07-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@395 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Really set deallocated data pointers for grid arrays to NULL.tradke2002-07-05
| | | | | | | Before they got allocated to a single array element. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@394 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed bug in NULL pointer assignment when switching off storage for scalar ↵tradke2002-07-01
| | | | | | | | | variables. This closes PR CactusPUGH/1114. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@393 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removed constant PUGH_UNDEFINEDSTORAGE which was never used anywhere.tradke2002-07-01
| | | | | | | This closes PR CactusPUGH/1114. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@392 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed a bug where GH->data[] pointers for grid scalars were set to NULLtradke2002-06-27
| | | | | | | even if they had storage assigned globally. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@391 b61c5cb5-eaca-4651-9a7a-d64986f99364