From 7d4d21bdffc0ad766bd3b37a3abb672fc47fc797 Mon Sep 17 00:00:00 2001 From: rhaas Date: Sat, 6 Jul 2013 18:10:41 +0000 Subject: GRHydro: remove unreachable code From: Christian Reisswig git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@548 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45 --- src/GRHydro_PPM.F90 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/GRHydro_PPM.F90 b/src/GRHydro_PPM.F90 index cbe31a8..465e1f9 100644 --- a/src/GRHydro_PPM.F90 +++ b/src/GRHydro_PPM.F90 @@ -315,17 +315,6 @@ trivial_rp = .true. if (.not.apply_enhanced_ppm) then ! Only for 1984 PPM scheme! if (ppm_detect .ne. 0) then - - if (apply_enhanced_ppm) then - ! make sure drho, d2rho and dmrho are computed everywhere! - do i = 2, nx-1 - drho(i) = 0.5d0 * (rho(i+1) - rho(i-1)) - d2rho(i) = (rho(i+1) - 2.d0 * rho(i) + rho(i-1)) - end do - do i = 2, nx-1 - STEEP(rho, drho, dmrho) - end do - endif do i = 3, nx - 2 if ( (d2rho(i+1)*d2rho(i-1) < 0.d0).and.(abs(rho(i+1)-rho(i-1)) - & -- cgit v1.2.3