aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Some code cleanupsHEADmastereschnett2013-08-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@95 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* update documentation to show cctk_ash in example, update Slab arrangment, updaterhaas2013-06-02
| | | | | | | email address. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@94 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* API Update: Support array padding (cctk_ash)eschnett2013-01-15
| | | | | | | | | Add new field ash to structures holding lsh. Use ash when calculating array indices. NOTE: This changes the API; all callers must be updated. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@89 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* fix typo which instead of stopping timer timer_copy_back_noflip tried to ↵knarf2012-11-01
| | | | | | start it again git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@86 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Replace CCTK_RESTRICT by restricteschnett2012-08-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@85 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Move MPI support from flesh to a thorneschnett2012-07-21
| | | | | | | | | | Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@84 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Don't #define restrict; this is now handled by the flesheschnett2012-06-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@83 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Correct loopcontrol argumentseschnett2011-05-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@78 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Reorganise some of the internals of thorn Slab:eschnett2011-05-09
| | | | | | | | | | | | | | | | | | | Use LoopControl? to parallelise loops via OpenMP. Refactor the "work horse" routines that perform the actual copy routines. These routines are specialised for common cases that need to execute efficiently, in particular for the cases encountered in RotatingSymmetry?90 and RotatingSymmetry?180 when handling CCTK_REAL variables. Offer an additional API (Slab_MultiTransfer_Init, Slab_MultiTransfer_Apply, Slab_MultiTransfer_Finalize) that calculates the communication schedule only once, and then re-uses it in further calls. This avoids some communication overhead. Remove old CVS header comments. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@77 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Add MPI_Bcast in the case that there is no MPIeschnett2010-10-02
| | | | | | | | | Fix data type incompatibility in that case as well [Patch from Ian Hinder] git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@73 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* revert last commit since it actually breaks C++ callsrhaas2009-12-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@70 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* add namespace in slab.cc and slab.h in such a way as to make the PGIrhaas2009-12-03
| | | | | | | compiler on Kraken compile the code git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@69 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Remove namespace declaration since this confuses some C++ compilers.schnetter2009-12-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@68 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Correct OpenMP syntax errorschnetter2009-11-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@67 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Update email addressschnetter2009-11-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@66 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* add optimized support for CCTK_INT, introduce templated functionsrhaas2009-11-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@65 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Mention TAT/SlabTestschnetter2009-11-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@64 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Switch from C to C++schnetter2009-11-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@63 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Don't define CHECK macroschnetter2009-11-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@62 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Update thorn TAT/Slab:schnetter2009-10-25
| | | | | | | | | | | - handle different variable types in Slab_MultiTransfer Also: - rewrite in C++ - clean up code git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@61 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Do not require MPIschnetter2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@60 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Do not require MPIschnetter2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@59 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* #include "cctk_Arguments.h"schnetter2008-02-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@58 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Check that the timers are initialised correctly.schnetter2008-02-20
| | | | | | | Some whitespace change. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@57 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Initialise timers at WRAGH instead of STARTUP, so that the clocksschnetter2008-02-20
| | | | | | | already exist git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@56 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Update documentationschnetter2008-02-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@55 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Add restrict qualifiersschnetter2007-02-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@54 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Remove empty SCRIPT and LANG statements.schnetter2007-02-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@53 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Initialise useghosts before using it.schnetter2007-02-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@52 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Add an optional parameter that enables using information from ghostschnetter2006-10-28
| | | | | | | | zones. When this parameter is used, one has to ensure that the input data have been synchronised. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@51 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Introduce a new parameter "use_alltoallv" that decides whether to useschnetter2006-08-04
| | | | | | | | | | | | | MPI_Alltoallv or to use MPI_Irecv, MPI_Isend, and MPI_Wait to communicate. The latter is not tested, but may be faster if only a few of all processors are involved in the communication. Disable some self tests: Allow processors who do not participate in the communication (who specify a zero slab size) to not know the geometry of the source and destination slabs. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@50 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Add routines to conveniently output the slabinfo and xferinfoschnetter2006-06-20
| | | | | | | structures. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@49 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Correct prototypes of scheduled routines.schnetter2006-06-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@48 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Correct asserts statements.schnetter2005-12-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@47 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Correct assert statement (which is disabled by default).schnetter2005-12-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@46 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* GetMPICommWorld now returns a pointer to the communicator, instead ofschnetter2005-08-26
| | | | | | | the communicator itself cast to an int git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@44 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Get the MPI communicator more intelligently: use aliased functionschnetter2005-08-25
| | | | | | | | | | | | GetMPICommWorld if it is provided, otherwise fall back to using Carpet- and PUGH- specific methods, otherwise use MPI_COMM_WORLD. Don't disable (i.e., re-enable) some assert checks even if NDEBUG is defined. These are cheap checks that check the arguments that are passed in. Otherwise errors would go undetected. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@43 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* C99 -> C89schnetter2005-05-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@41 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Introduce new function Slab_MultiTransfer that transfers slabs ofschnetter2005-05-10
| | | | | | | several grid functions at once. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@40 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Reformat commentschnetter2005-01-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@39 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Remove "restrict" keyword that was visible to C++.schnetter2005-01-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@38 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Don't complain when no driver is recognised; use MPI_COMM_WORLD forschnetter2004-12-07
| | | | | | | communication instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@37 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Do not check for #defined constants.schnetter2004-07-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@36 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Define MPI_INT when compiling without MPI.schnetter2004-07-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@35 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Provide more optimised versions for common cases.schnetter2004-05-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@34 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Rename MPI_ variable prefixes to CACTUS_MPI_.schnetter2004-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@33 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Provide capability Slabschnetter2004-05-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@32 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Wrap in extern "C" for C++schnetter2004-05-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@31 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Remove "return -1" statements after "assert (0)" statements.schnetter2004-04-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@30 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
* Fix wrong assumption that MPI_Datatype is int.schnetter2004-04-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@29 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8