aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcott <cott@16f5cafb-89ad-4b9f-9d0b-9d7a0a37d03b>2013-01-10 23:25:45 +0000
committercott <cott@16f5cafb-89ad-4b9f-9d0b-9d7a0a37d03b>2013-01-10 23:25:45 +0000
commit616482d6cbe4dd472fd3eb48bba304ea206d9a5e (patch)
tree7ec1016698e771f52e3d7bf4c10effbdf1b01197
parent1a5727e7cea2b4ac2477f55a00537c4c33235862 (diff)
* 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
-rw-r--r--src/extrap.cc7
1 files 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;
}