diff options
-rw-r--r-- | src/comm/CactusDefaultComm.c | 2 | ||||
-rw-r--r-- | src/include/cGH.h | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c index 71b1f5be..5f6db79f 100644 --- a/src/comm/CactusDefaultComm.c +++ b/src/comm/CactusDefaultComm.c @@ -152,8 +152,6 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level) thisGH = malloc(sizeof(cGH)); if(thisGH) { - thisGH->self = thisGH; - thisGH->cctk_dim = CCTK_MaxDim(); /* Need this to be at least one otherwise the memory allocation will fail */ diff --git a/src/include/cGH.h b/src/include/cGH.h index 9870db3f..ae61bb40 100644 --- a/src/include/cGH.h +++ b/src/include/cGH.h @@ -23,11 +23,6 @@ typedef struct typedef struct _cGH { - /* Pointer to self. This is a temporary measure to provide a safety - net while the passing of pointers to and from Fortran is - changed. */ - struct _cGH *self; - int cctk_dim; int cctk_iteration; |