aboutsummaryrefslogtreecommitdiff
path: root/src/SetupPGH.c
Commit message (Collapse)AuthorAge
* Destroy the comm buffer, connectivity, and extras structure for each group oncetradke2000-09-18
| | | | | | | before the group's variables are destroyed. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@271 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Checking for a NULL cGH for MyProc and nProcs.goodale2000-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@269 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Added an index for arrays to the pGA and pGH which is needed to make thatallen2000-09-01
| | | | | | | | | Cache lines are associated uniquely with each timelevel of GA This unique index is used now when storage is assigned for the GA git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@264 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Backing out my change from last night, as it is now redundant.goodale2000-07-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@252 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Stopping a coredump from DestroyPGH when thre are variables withgoodale2000-07-20
| | | | | | | | | timelevels. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@249 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changed assert(0) to abort() in PUGH_Abort, and commented it out.allen2000-07-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@248 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Uncommenting memory freeing on all timelevelsallen2000-07-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@245 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Registered reduction routines return an error code, and split reduction.callen2000-07-19
| | | | | | | into several files git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@243 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Putting back the loop over time levels in DestroyPGHallen2000-07-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@242 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changes for CCTK_Exit and CCTK_Abortallen2000-07-14
| | | | | | | | | New argument lists Added MPI_Abort to overload CCTK_Abort git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@240 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Coding style fix and code consistency change.goodale2000-07-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@237 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Commit the derived datatype which is used to communicate CCTK_COMPLEX data.tradke2000-06-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@233 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing loop over timelevels in destroying grid arraysallen2000-06-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@227 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Really free comm buffers when destroying a grid array variable.tradke2000-06-22
| | | | | | | | | | | | This fixes a memory leak in PUGH. Also introduced a termination routine for PUGH which destroys the top-most pGH. Now all memory ever allocated by PUGH should be finally freed at CCTK_TERMINATE. Other thorns' termination routines which still need some information from the pGH should register themselfs as "BEFORE Driver_Terminate". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@226 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed initialization of a pGH's identity_string.tradke2000-06-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@223 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Enabled PUGH to synchronize groups of arrays in one communication calltradke2000-06-14
| | | | | | | | | | | | | | rather than doing it sequentially on individual arrays. Nothing changes for the CCTK routines overloaded by PUGH. For BAM and other thorns which don't care about groups there is now a separate interface to synchronize individual arrays. Also eliminated the restriction to synchronize 1D and 3D arrays only - now it should do arbitrary dims (not yet tested). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@222 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing an extraneous free.goodale2000-05-11
| | | | | | | | | Fixes PR 346. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@216 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Small memory leaksallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@213 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changed names of PUGH functions to be uniform. Now all PUGH functionsgoodale2000-04-19
| | | | | | | | | should begin with PUGH. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@211 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing rscid warnings, untabified files, combined identical case statementstradke2000-04-18
| | | | | | | for GROUP_GF and GROUP_ARRAY. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@203 b61c5cb5-eaca-4651-9a7a-d64986f99364
* #define MPI becomes #define CCTK_MPIallen2000-04-04
| | | | | | | Need to reconfigure before your next build git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@196 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Major changes to PUGH as the dearly loved pGF is removed, and a grid functionallen2000-03-23
| | | | | | | | | | | | | | | | | | | | | | | is lowered to being simply a special case of a grid array, pGA. Grid arrays can all have different sizes, which means that now the size of a GA is moved from the GH to a structure on the GA, along with a lot of other connectivity and additional information which was formerly on the GH. If you need to care about these changes, take a look at the files in src/include/pGH.h and src/include/pGA.h, to see the new structures (I'll leave the old files pGF.h and SetupPGF.c around for a while to compare with). Also, look at a PUGH dependent file which has already been converted, such as CactusPUGHIO/IOASCII/src/Write1D.c. Warning: This commit breaks the development versions of IOHDF5 and IsoSurfacer, these will be fixed real quick. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@182 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Completed DestroyPGH(), added DestroyConnectivity() and DestroyPGextras().tradke2000-03-13
| | | | | | | | | | | This should fix the memory leak in BAM as well as running out of MPI_Type_requests. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@177 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixing compiler warnings about unused variables, missing prototypes,tradke2000-03-08
| | | | | | | | | | | and return values. Fixing CactusPUGH-PUGH 264. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@176 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Cosmeticallen2000-03-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@170 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Adding periodic option back to PUGH. This is still to be tested.allen2000-03-04
| | | | | | | | | | | | | | | | | | | Periodic boundary conditions are applied during a SyncGroup, at the moment only for multiprocessors (single processor will be added to SyncGroup when multiprocessor is working properly). The parameter is driver::periodic = "yes" When this is tested, periodic boundary conditions in different directions will be added. IOAscii isn't working properly with periodic boundary conditions, this will be fixed soon. (You get two extra nonsense points on each line, if the ghostzone size is 1). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@168 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Bugfix for dim == 0.tradke2000-03-03
| | | | | | | | | | | | Cactus crashed in PUGH if no thorns declaring any GFs were compiled in. Fix for BR 221. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@166 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Untabified.goodale2000-02-17
| | | | | | | | | | Got rid of redundant file. Did some formatting changes in line with the coding guidelines. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@164 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing USE_CCTK_ARGUMENTS and USE_CCTK_PARAMETERS since they areallen2000-02-05
| | | | | | | automatically included now git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@160 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Updated PUGH for the new ScheduleTraverseGH stuff.goodale2000-01-27
| | | | | | | | | | | | Fixed a bug where SetupPGH was called with too few arguments. Moved some prototypes into pugh.h to ensure consistency between files. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@155 b61c5cb5-eaca-4651-9a7a-d64986f99364
* cctk_arguments -> cctk_Argumentsallen2000-01-27
| | | | | | | cctk_parameters -> cctk_Parameters git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@154 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Arrays (no communication yet)allen2000-01-25
| | | | | | | General tidying git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@153 b61c5cb5-eaca-4651-9a7a-d64986f99364
* freeing allocated arraylanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@149 b61c5cb5-eaca-4651-9a7a-d64986f99364
* bug fix - thanks Malcolmlanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@148 b61c5cb5-eaca-4651-9a7a-d64986f99364
* New specification for CCTK_GroupDataallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@147 b61c5cb5-eaca-4651-9a7a-d64986f99364
* staggering with pughlanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@143 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Changing to new function CCTK_GroupDataallen2000-01-12
| | | | | | | | | Adding USE_CCTK_PARAMETERS Removing compiler warnings git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@142 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Made DestroyPGH at least look like it does the right thing.goodale1999-12-02
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@138 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Added lots of missing function prototypes.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@136 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Moving local grid set up to BoundingBoxallen1999-11-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@124 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removed sp2dxyz from pGH structure. This went into IOFlexIO's GH extensions.tradke1999-10-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@121 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Various things pointed out by running Insure on the code. Normallygoodale1999-10-26
| | | | | | | | | | harmless things like not returning a value, but a rather subtle memory leak in one place too. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@120 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Cactus/155: pointer bug fixedlanfer1999-10-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@117 b61c5cb5-eaca-4651-9a7a-d64986f99364
* PUGH now supports 1D grid functions. There could well still be someallen1999-10-24
| | | | | | | problems, but it works for a simple test problem git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@115 b61c5cb5-eaca-4651-9a7a-d64986f99364
* 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/arrangements/CactusPUGH/PUGH/trunk@114 b61c5cb5-eaca-4651-9a7a-d64986f99364
* #ifdef 0 -> #if 0goodale1999-10-20
| | | | | | | | | NT doesn't like it otherwise 8-( Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@109 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixed memory allocation bug - PR/138.goodale1999-10-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@107 b61c5cb5-eaca-4651-9a7a-d64986f99364
* More informative prototype for ProcTopallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@100 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Fixes from branchallen1999-10-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@98 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Adding infrastructure for 1D and 2D GFs ... but haven't added decompositionallen1999-10-17
| | | | | | | and copying code yet git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@97 b61c5cb5-eaca-4651-9a7a-d64986f99364