From ff98db7a7345b1c59e435b19b6df9a127c011fdb Mon Sep 17 00:00:00 2001 From: eschnett Date: Mon, 9 May 2011 00:15:54 +0000 Subject: 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 --- interface.ccl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interface.ccl') 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 -- cgit v1.2.3