summaryrefslogtreecommitdiff
path: root/src/comm/CactusDefaultComm.c
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-08 12:28:44 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-08 12:28:44 +0000
commitac84e7aa8ab5494663792ba974d84ee9f0e1fe4e (patch)
tree986c6d449c0879782cdbb798934ff07f7ab1779d /src/comm/CactusDefaultComm.c
parent05b308a5cfa4fb9d69d0c3619603e88375a06518 (diff)
New names for many of the Group functions which are used by infrastructure
thorns and the flesh. The names should be more consistent now. You might want to hold of from this update for a little while until all the thorn changes are in. git-svn-id: http://svn.cactuscode.org/flesh/trunk@688 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm/CactusDefaultComm.c')
-rw-r--r--src/comm/CactusDefaultComm.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c
index 781d4a49..a9d569f9 100644
--- a/src/comm/CactusDefaultComm.c
+++ b/src/comm/CactusDefaultComm.c
@@ -81,7 +81,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
if(thisGH)
{
- thisGH->cctk_dim = CCTK_GetMaxDim();
+ thisGH->cctk_dim = CCTK_MaxDim();
/* Need this to be at least one otherwise the memory allocation will fail. */
if(thisGH->cctk_dim == 0) thisGH->cctk_dim = 1;
@@ -102,7 +102,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
thisGH->cctk_delta_time = 1;
thisGH->cctk_convlevel = 1;
- n_variables = CCTK_GetNumVars();
+ n_variables = CCTK_NumVars();
/* Allocate memory for the variable data pointers.
* Note we want at least one to prevent memory allocattion from failing !
@@ -113,7 +113,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
{
for(variable = 0; variable < n_variables; variable++)
{
- ntimelevels = CCTK_GetNumTimeLevels_ByIndex(variable);
+ ntimelevels = CCTK_NumTimeLevelsFromVarI(variable);
thisGH->data[variable] = (void **)malloc(ntimelevels*sizeof(void *));
if(thisGH->data[variable])
@@ -135,7 +135,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
/* Allocate memory for the group data pointers.
* Note we want at least one to prevent memory allocattion from failing !
*/
- n_groups = CCTK_GetNumGroups();
+ n_groups = CCTK_NumGroups();
thisGH->GroupData = (cGHGroupData *)malloc((n_groups ? n_groups:1)*sizeof(cGHGroupData));
}
@@ -166,11 +166,11 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
}
/*@@
- @routine CactusDefaultGetMyProc
+ @routine CactusDefaultMyProc
@date Tue Jan 23 1999
@author Gabrielle Allen
@desc
- Default cactus GetMyProc routine.
+ Default cactus MyProc routine.
@enddesc
@calls
@calledby
@@ -180,7 +180,7 @@ cGH *CactusDefaultSetupGH(tFleshConfig *config, int convergence_level)
@@*/
-int CactusDefaultGetMyProc(cGH *GH)
+int CactusDefaultMyProc(cGH *GH)
{
int myproc;
@@ -197,11 +197,11 @@ int CactusDefaultGetMyProc(cGH *GH)
}
/*@@
- @routine CactusDefaultGetnProcs
+ @routine CactusDefaultnProcs
@date Tue Jan 23 1999
@author Gabrielle Allen
@desc
- Default cactus GetnProcs routine.
+ Default cactus nProcs routine.
@enddesc
@calls
@calledby
@@ -211,7 +211,7 @@ int CactusDefaultGetMyProc(cGH *GH)
@@*/
-int CactusDefaultGetnProcs(cGH *GH)
+int CactusDefaultnProcs(cGH *GH)
{
int nprocs;