aboutsummaryrefslogtreecommitdiff
path: root/src/include/pugh.h
Commit message (Collapse)AuthorAge
* Introduce cctk_ash, retire cctk_lssheschnett2012-07-04
| | | | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@515 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Correct function signatureseschnett2011-01-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@505 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Applied patch from Erik Schnetter: rename PUGHi_GenerateTopology totradke2006-06-23
| | | | | | | | PUGH_GenerateTopology an export it to other thorns. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@481 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Provide MPI datatypes for both CCTK_BYTE and CCTK_CHARschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@456 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
* 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
* 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
* 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
* PUGH overloadables for CCTK_MyProc(), CCTK_nProcs(), CCTK_Barrier() taketradke2001-10-31
| | | | | | | | a 'const cGH *' argument now. Also fixed a couple of other warnings. Untabified sources. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@357 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Added new internal pugh function for providing the processor topology for GFs ofallen2001-10-28
| | | | | | | a given dimension. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@356 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Preliminary support for 'vector' Grid Variables (see commits to ↵goodale2001-10-07
| | | | | | | | | | | | | | interface_parser.ccl for syntax). Works for GFs and GAs, but not implemented yet for GSs. Please treat this as volatile until it is documented, and let me know if you are using it. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@351 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Bugfix for setting up ghostsizes for variables of dimensions greater than 3.tradke2001-10-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@349 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Now PUGH also supports all the fixed-precision CCTK datatypes.tradke2001-06-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@334 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Compiler warningsallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@325 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Added prototype for new routine PUGH_MPIDataType().tradke2001-02-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@304 b61c5cb5-eaca-4651-9a7a-d64986f99364
* #ifdef _cplusplus should better be #ifdef __cplusplustradke2000-07-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@241 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
* 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
* Use CCTK_MPI rather than MPIallen2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@194 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removing old files with pGFsallen2000-04-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@192 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
* 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
* 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
* 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
* Added a functiongoodale2000-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | pGH *pugh_pGH(cGH *GH) which takes a cGH and returns the associated pGH. Added identity_string to the pGH. These changes are for future multi-patch or multi-block changes to PUGH. When that happens the PUGH GHExtension will no longer be a pGH, but instead a structure containing a list or array of pGHs and status stuff so PUGH knows which pGH is active when its routines are called. If your thorn uses a pGH directly from the GH Extension, please change it to use the new function. Of course in principle no-one should be using the pGH anyway, alas currently a fair number of things need it 8-( Ho hum. Also removed obsolete rfrTraverse stuff completely from PUGH. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@156 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
* 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
* The pGV stuff is now compiled, and the header is included in pugh.h.goodale1999-11-09
| | | | | | | | | Still need to write SetupPGV and communication routines. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@132 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
* Enabled pugh to handle all CCTK_VARIABLE_??? types in communication.tradke1999-06-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@61 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Disabled redefining of malloc/free if SGI or T3E was defined,tradke1999-06-14
| | | | | | | | | so that I can link cactus with IsoSurfacer on T3E. Those routines aren't there anyway. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@56 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Removed the #ifdef 0ed out sections of code.goodale1999-04-10
| | | | | | | | | | Commented out #include of pughDriver.h since the whole of that file is #ifdef 0ed out. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@36 b61c5cb5-eaca-4651-9a7a-d64986f99364
* removed includes of hdf.h, IEEEIO.h, and PandaIO.h (should go into thorn_IO)tradke1999-03-30
| | | | | | | | added PUGH_MPI_TYPE define removed re-typedef for Double (included config.h instead) git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@25 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Now creates all variable types except arrays.goodale1999-02-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@6 b61c5cb5-eaca-4651-9a7a-d64986f99364
* Initial check in of thorn pugh.goodale1999-02-04
Currently doesn't compile. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@2 b61c5cb5-eaca-4651-9a7a-d64986f99364