Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrectly reduced variables in nimhd test #235

Merged
merged 3 commits into from
Feb 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/tests/test_nonidealmhd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ subroutine test_standingshock(ntests,npass)
real :: t,dt,dtext,dtnew
real :: dexact,bexact,vexact,L2d,L2v,L2b,dx
real :: leftstate(8),rightstate(8),exact_x(51),exact_d(51),exact_vx(51),exact_by(51)
real, parameter :: told = 2.1d-2, tolv=3.1d-2, tolb=3.1d-2
real, parameter :: told = 2.1d-2, tolv=3.1d-2, tolb=1.1d-1
logical :: valid_dt
logical, parameter :: print_output = .false.
logical :: valid_bdy_rho,valid_bdy_v
Expand Down Expand Up @@ -498,8 +498,8 @@ subroutine test_standingshock(ntests,npass)
endif
npts = int(reduceall_mpi('+',npts))
L2d = reduceall_mpi('+',L2d)
L2v = reduceall_mpi('+',L2d)
L2b = reduceall_mpi('+',L2d)
L2v = reduceall_mpi('+',L2v)
L2b = reduceall_mpi('+',L2b)
if (npts > 0) then
L2d = sqrt(L2d/npts)
L2v = sqrt(L2v/npts)
Expand Down