diff options
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/Interp.c | 14 | ||||
-rw-r--r-- | src/comm/Reduction.c | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/comm/Interp.c b/src/comm/Interp.c index b0efca49..4f2b51eb 100644 --- a/src/comm/Interp.c +++ b/src/comm/Interp.c @@ -62,12 +62,12 @@ int CCTK_RegisterInterpOperator(int (*function)(REGISTER_INTERP_ARGLIST), int handle; /* Check that the method hasn't already been registered */ - handle = CCTK_GetHandle(InterpOperators, name, NULL); + handle = Util_GetHandle(InterpOperators, name, NULL); if(handle < 0) { /* Get a handle for it. */ - handle = CCTK_NewHandle(&InterpOperators, name, (void *)function); + handle = Util_NewHandle(&InterpOperators, name, (void *)function); /* Remember how many interpolation operators there are */ num_interps++; @@ -113,7 +113,7 @@ int CCTK_GetInterpHandle(const char *interp) int handle; void **data=NULL; /* isn't used here */ - handle = CCTK_GetHandle(InterpOperators, interp, data); + handle = Util_GetHandle(InterpOperators, interp, data); #ifdef DEBUG_INTERP CCTK_PRINTSEPARATOR @@ -235,7 +235,7 @@ int CCTK_InterpGF (cGH *GH, else { function = (int (*)(REGISTER_INTERP_ARGLIST)) - CCTK_GetHandledData(InterpOperators,operation_handle); + Util_GetHandledData(InterpOperators,operation_handle); if (function) { @@ -331,7 +331,7 @@ void FMODIFIER FORTRAN_NAME(CCTK_InterpGF)(cGH *GH, else { function = (int (*)(REGISTER_INTERP_ARGLIST)) - CCTK_GetHandledData(InterpOperators,*operation_handle); + Util_GetHandledData(InterpOperators,*operation_handle); if (function) { @@ -513,7 +513,7 @@ int CCTK_Interp (cGH *GH, else { function = (int (*)(REGISTER_INTERP_ARGLIST)) - CCTK_GetHandledData(InterpOperators,operation_handle); + Util_GetHandledData(InterpOperators,operation_handle); if (function) { @@ -663,7 +663,7 @@ void FMODIFIER FORTRAN_NAME(CCTK_Interp)(cGH *GH, else { function = (int (*)(REGISTER_INTERP_ARGLIST)) - CCTK_GetHandledData(InterpOperators,*operation_handle); + Util_GetHandledData(InterpOperators,*operation_handle); if (function) { diff --git a/src/comm/Reduction.c b/src/comm/Reduction.c index 9fe386bd..0cc25db8 100644 --- a/src/comm/Reduction.c +++ b/src/comm/Reduction.c @@ -57,12 +57,12 @@ int CCTK_RegisterReductionOperator(void (*function)(REGISTER_ARGLIST), int handle; /* Check that the method hasn't already been registered */ - handle = CCTK_GetHandle(ReductionOperators, name, NULL); + handle = Util_GetHandle(ReductionOperators, name, NULL); if(handle < 0) { /* Get a handle for it. */ - handle = CCTK_NewHandle(&ReductionOperators, name, (void *)function); + handle = Util_NewHandle(&ReductionOperators, name, (void *)function); /* Remember how many reduction operators there are */ num_reductions++; @@ -108,7 +108,7 @@ int CCTK_ReductionHandle(const char *reduction) int handle; void **data=NULL; /* isn't used here */ - handle = CCTK_GetHandle(ReductionOperators, reduction, data); + handle = Util_GetHandle(ReductionOperators, reduction, data); #ifdef DEBUG_REDUCTION CCTK_PRINTSEPARATOR @@ -160,7 +160,7 @@ int CCTK_Reduce( cGH *GH, else { function = (void (*)(REGISTER_ARGLIST)) - CCTK_GetHandledData(ReductionOperators,operation_handle); + Util_GetHandledData(ReductionOperators,operation_handle); if (function) { @@ -209,7 +209,7 @@ void FMODIFIER FORTRAN_NAME(CCTK_Reduce)(cGH *GH, else { function = (void (*)(REGISTER_ARGLIST)) - CCTK_GetHandledData(ReductionOperators,*operation_handle); + Util_GetHandledData(ReductionOperators,*operation_handle); if (function) { |