[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 601)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Tue Apr 15 14:48:18 CDT 2014


User: rhaas
Date: 2014/04/15 02:48 PM

Modified:
 /trunk/src/
  GRHydro_HLLE.F90, GRHydro_HLLE_AM.F90

Log:
 GRHydro: add STOP statement after CCTK_ERROR
 
 this is to let the compiler know that CCTK_ERROR never returns.

File Changes:

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

File [modified]: GRHydro_HLLE.F90
Delta lines: +1 -0
===================================================================
--- trunk/src/GRHydro_HLLE.F90	2014-04-15 19:48:15 UTC (rev 600)
+++ trunk/src/GRHydro_HLLE.F90	2014-04-15 19:48:18 UTC (rev 601)
@@ -529,6 +529,7 @@
                            etaY(i,j-1,k+1, vup, eos_c))
             else
               call CCTK_ERROR("Flux direction not x,y,z")
+              STOP
             end if
             
             ! modify eigenvalues of Roe's matrix by computed H viscosity

File [modified]: GRHydro_HLLE_AM.F90
Delta lines: +1 -0
===================================================================
--- trunk/src/GRHydro_HLLE_AM.F90	2014-04-15 19:48:15 UTC (rev 600)
+++ trunk/src/GRHydro_HLLE_AM.F90	2014-04-15 19:48:18 UTC (rev 601)
@@ -433,6 +433,7 @@
 
           else
             call CCTK_ERROR("Flux direction not x,y,z")
+            STOP
           end if
        
    



More information about the Commits mailing list