diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-16 21:50:55 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-16 21:50:55 +0000 |
commit | bdbbd3727aec5525707fb5556646a29f7309294c (patch) | |
tree | 1a677507d720fab081935cfeac1810b8151f3e26 /src/comm | |
parent | dffcf6c7187a0657fe1164002c654c124d0d275a (diff) |
Replace CCTK_NumTimeLevels with CCTK_MaxTimeLevels
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3282 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/CactusDefaultComm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c index b959961c..90d0b624 100644 --- a/src/comm/CactusDefaultComm.c +++ b/src/comm/CactusDefaultComm.c @@ -106,7 +106,7 @@ int CactusDefaultInterpGridArrays (const cGH *GH, int N_dims, @enddesc @calls CCTK_MaxDim CCTK_NumVars - CCTK_NumTimeLevelsFromVarI + CCTK_MaxTimeLevelsVI CCTK_NumGroups CCTKi_SetupGHExtensions @@ -189,7 +189,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level) { for(variable = 0; variable < n_variables; variable++) { - ntimelevels = CCTK_NumTimeLevelsFromVarI(variable); + ntimelevels = CCTK_MaxTimeLevelsVI(variable); thisGH->data[variable] = calloc(ntimelevels, sizeof(void *)); if(thisGH->data[variable] == NULL) |