aboutsummaryrefslogtreecommitdiff
path: root/src/GRHydro_PPM.cc
diff options
context:
space:
mode:
authorrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-08-13 14:56:34 +0000
committerrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2013-08-13 14:56:34 +0000
commit928e649381a6ff39f195ddf5ac6c825415216419 (patch)
tree946d02f0fd57d5445294cc1a55908a214b88963e /src/GRHydro_PPM.cc
parent08cbb62fe2fedf3b01c1fe5acedf3cb23b0e5034 (diff)
GRHydro: finish up call for templated C++ PPM routine
activated by paramater use_optimized_PPM From: Roland Haas <rhaas@tapir.caltech.edu> git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@575 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
Diffstat (limited to 'src/GRHydro_PPM.cc')
-rw-r--r--src/GRHydro_PPM.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GRHydro_PPM.cc b/src/GRHydro_PPM.cc
index e1f426f..fe6c265 100644
--- a/src/GRHydro_PPM.cc
+++ b/src/GRHydro_PPM.cc
@@ -69,7 +69,7 @@ static inline void monotonize(double* restrict xminus,
template<bool do_temp, bool do_ye, bool do_mhd,
bool dc_flag, bool do_ppm_detect>
-static void ppm1d_cxx(const int nx,
+void GRHydro_ppm1d_cxx(const int nx,
const double dx,
const double* restrict rho,
const double* restrict velx,
@@ -343,7 +343,7 @@ static void ppm1d_cxx(const int nx,
//template template<bool do_temp, bool do_ye, bool do_mhd, bool dc_flag, bool do_ppm_detect>
#define INSTANTIATE(do_temp,do_ye,do_mhd,dc_flag,do_ppm_detect) \
-template static void ppm1d_cxx<do_temp,do_ye,do_mhd,dc_flag,do_ppm_detect>(const int nx, \
+template void GRHydro_ppm1d_cxx<do_temp,do_ye,do_mhd,dc_flag,do_ppm_detect>(const int nx, \
const double dx, \
const double* restrict rho, \
const double* restrict velx, \