diff options
Diffstat (limited to 'src/GRHydro_HLLE_AM.F90')
-rw-r--r-- | src/GRHydro_HLLE_AM.F90 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/GRHydro_HLLE_AM.F90 b/src/GRHydro_HLLE_AM.F90 index fbde680..d13364d 100644 --- a/src/GRHydro_HLLE_AM.F90 +++ b/src/GRHydro_HLLE_AM.F90 @@ -117,7 +117,7 @@ subroutine GRHydro_HLLE_AM(CCTK_ARGUMENTS) call SpaceMask_GetStateBits(trivial, "Hydro_RiemannProblemZ", & &"trivial") else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if ! constraint transport needs to be able to average fluxes in the directions @@ -217,7 +217,7 @@ subroutine GRHydro_HLLE_AM(CCTK_ARGUMENTS) else if (flux_direction == 3) then avg_beta=avg_betaz else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if avg_alp = 0.5 * (alp(i,j,k) + alp(i+xoffset,j+yoffset,k+zoffset)) @@ -316,7 +316,7 @@ subroutine GRHydro_HLLE_AM(CCTK_ARGUMENTS) endif else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if else !!! The end of this branch is right at the bottom of the routine @@ -328,7 +328,7 @@ subroutine GRHydro_HLLE_AM(CCTK_ARGUMENTS) else if (flux_direction == 3) then usendh = uzzh else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if !!$ Calculate the jumps in the conserved variables @@ -505,7 +505,7 @@ subroutine GRHydro_HLLE_AM(CCTK_ARGUMENTS) endif else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if @@ -736,7 +736,7 @@ subroutine GRHydro_HLLE_TracerAM(CCTK_ARGUMENTS) call SpaceMask_GetStateBits(trivial, "Hydro_RiemannProblemZ", & &"trivial") else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if do k = GRHydro_stencil, cctk_lsh(3) - GRHydro_stencil @@ -797,7 +797,7 @@ subroutine GRHydro_HLLE_TracerAM(CCTK_ARGUMENTS) avg_beta = 0.5d0 * (beta3(i+xoffset,j+yoffset,k+zoffset) + & beta3(i,j,k)) else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if avg_alp = 0.5 * (alp(i,j,k) + alp(i+xoffset,j+yoffset,k+zoffset)) @@ -822,7 +822,7 @@ subroutine GRHydro_HLLE_TracerAM(CCTK_ARGUMENTS) else if (flux_direction == 3) then usendh = uzzh else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if !!$ b^2 = (1-v^2)B^2+(B dot v)^2 @@ -886,7 +886,7 @@ subroutine GRHydro_HLLE_TracerAM(CCTK_ARGUMENTS) fminus(:) = (velzminus(i+xoffset,j+yoffset,k+zoffset) - avg_beta / avg_alp) * & cons_tracerminus(i+xoffset,j+yoffset,k+zoffset,:) else - call CCTK_WARN(0, "Flux direction not x,y,z") + call CCTK_ERROR("Flux direction not x,y,z") end if !!$ Find minimum and maximum wavespeeds |