summaryrefslogtreecommitdiff
path: root/src/include/cctk_DebugDefines.h
blob: ec2f461e644772bfcbc38cbad75f0144ddbd059d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*@@
   @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   **********************
 ********************************************************************/

#ifndef _CCTK_DEBUGDEFINES_H_
#define _CCTK_DEBUGDEFINES_H_

#ifdef __cplusplus
extern "C" {
#endif

int CCTK_GFIndex0D (const cGH *GH);
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);

int CCTK_VectGFIndex0D (const cGH *GH, int n);
int CCTK_VectGFIndex1D (const cGH *GH, int i, int n);
int CCTK_VectGFIndex2D (const cGH *GH, int i, int j, int n);
int CCTK_VectGFIndex3D (const cGH *GH, int i, int j, int k, int n);
int CCTK_VectGFIndex4D (const cGH *GH, int i, int j, int k, int l, int n);

#ifdef __cplusplus
}   
#endif

#endif