From 616482d6cbe4dd472fd3eb48bba304ea206d9a5e Mon Sep 17 00:00:00 2001 From: cott Date: Thu, 10 Jan 2013 23:25:45 +0000 Subject: * remove a "static" and rename the function to fix a problem with inlining git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/NewRad/trunk@18 16f5cafb-89ad-4b9f-9d0b-9d7a0a37d03b --- src/extrap.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/extrap.cc b/src/extrap.cc index 306cb14..2691687 100644 --- a/src/extrap.cc +++ b/src/extrap.cc @@ -88,9 +88,8 @@ void extrap_kernel (cGH const* restrict const cctkGH, // Adapted from Kranc's KrancNumericalTools/GenericFD's file // GenericFD.c -static -void extrap_loop (cGH const* restrict const cctkGH, - CCTK_REAL* restrict const var) +void newrad_extrap_loop (cGH const* restrict const cctkGH, + CCTK_REAL* restrict const var) { int imin[3], imax[3], is_symbnd[6], is_physbnd[6], is_ipbnd[6]; GenericFD_GetBoundaryInfo @@ -189,7 +188,7 @@ CCTK_INT ExtrapolateGammas1 (CCTK_POINTER_TO_CONST const cctkGH_, "Pointer to variable is NULL"); } - extrap_loop (cctkGH, var); + newrad_extrap_loop (cctkGH, var); return 0; } -- cgit v1.2.3