summaryrefslogtreecommitdiff
path: root/src/comm/CactusDefaultComm.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-02-08 14:39:55 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-02-08 14:39:55 +0000
commit81e82b5ddfb97721addeea0a40c189f43ea9da3f (patch)
tree8bf56f68d4fc1126cecdcf2e00e7f6243349c780 /src/comm/CactusDefaultComm.c
parent56683d5515e7a3baad1e0ea623749e9360602e83 (diff)
Reorganised group stuff.
Now all in Groups.c Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@225 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm/CactusDefaultComm.c')
-rw-r--r--src/comm/CactusDefaultComm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c
index a97fe003..bfea4fbf 100644
--- a/src/comm/CactusDefaultComm.c
+++ b/src/comm/CactusDefaultComm.c
@@ -63,7 +63,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
thisGH->levfac = 1;
- n_variables = CCTK_GetNVariables();
+ n_variables = CCTK_GetNumVars();
thisGH->data = (void **)malloc(n_variables*sizeof(void *));
@@ -77,7 +77,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
thisGH->extensions = NULL;
- thisGH->GroupData = (cGHGroupData *)malloc(CCTK_GetNGroups()*sizeof(cGHGroupData));
+ thisGH->GroupData = (cGHGroupData *)malloc(CCTK_GetNumGroups()*sizeof(cGHGroupData));
}