diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-01-19 21:39:52 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-01-19 21:39:52 +0000 |
commit | e44d81f5cbbf756904b98e07688e76bdadbd1437 (patch) | |
tree | c1d5a077a664537810319be312744968f00c51a1 /src/include/cctk_DebugDefines.h | |
parent | 974ed2bedc78ab300f90ecbabdd0ac9c1fcf0589 (diff) |
Use inline functions instead of #defines for CCTK_GFINDEX?D if available
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3536 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_DebugDefines.h')
-rw-r--r-- | src/include/cctk_DebugDefines.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/cctk_DebugDefines.h b/src/include/cctk_DebugDefines.h new file mode 100644 index 00000000..b4b8c445 --- /dev/null +++ b/src/include/cctk_DebugDefines.h @@ -0,0 +1,18 @@ +/*@@ + @file cctk_DebugDefines.h + @date Sun 28 Dec 2003 + @author Erik Schnetter + @desc + Routines to provide some debugging support for the Cactus code. + @enddesc + @version $Id$ + @@*/ + +/******************************************************************** + ********************* External Routines ********************** + ********************************************************************/ + +int CCTK_GFIndex1D (const cGH *GH, int i); +int CCTK_GFIndex2D (const cGH *GH, int i, int j); +int CCTK_GFIndex3D (const cGH *GH, int i, int j, int k); +int CCTK_GFIndex4D (const cGH *GH, int i, int j, int k, int l); |