[Commits] [svn:einsteintoolkit] NewRad/trunk/src/ (Rev. 18)

cott at tapir.caltech.edu cott at tapir.caltech.edu
Thu Jan 10 17:25:45 CST 2013


User: cott
Date: 2013/01/10 05:25 PM

Modified:
 /trunk/src/
  extrap.cc

Log:
 * remove a "static" and rename the function to fix a problem
   with inlining

File Changes:

Directory: /trunk/src/
======================

File [modified]: extrap.cc
Delta lines: +3 -4
===================================================================
--- trunk/src/extrap.cc	2012-11-05 14:46:09 UTC (rev 17)
+++ trunk/src/extrap.cc	2013-01-10 23:25:45 UTC (rev 18)
@@ -88,9 +88,8 @@
 
 // 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 @@
                "Pointer to variable is NULL");
   }
   
-  extrap_loop (cctkGH, var);
+  newrad_extrap_loop (cctkGH, var);
   
   return 0;
 }



More information about the Commits mailing list