diff options
author | eschnett <eschnett@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2011-05-09 00:15:54 +0000 |
---|---|---|
committer | eschnett <eschnett@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2011-05-09 00:15:54 +0000 |
commit | ff98db7a7345b1c59e435b19b6df9a127c011fdb (patch) | |
tree | 38a77d011a9060de9b283c7956fcbcc7ddeab38c /interface.ccl | |
parent | ac8adc4833daa18913ee765132345ad1c1a228b9 (diff) |
Reorganise some of the internals of thorn Slab:
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
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/interface.ccl b/interface.ccl index 7110914..4a6810d 100644 --- a/interface.ccl +++ b/interface.ccl @@ -1,11 +1,12 @@ # Interface definition for thorn Slab -# $Header$ IMPLEMENTS: Slab INCLUDES HEADER: slab.h IN Slab.h INCLUDES HEADER: slab.inc IN Slab.inc +USES INCLUDE HEADER: loopcontrol.h + CCTK_POINTER_TO_CONST \ FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH) USES FUNCTION GetMPICommWorld |