Skip to content
Snippets Groups Projects
Commit ee308410 authored by Florian Atteneder's avatar Florian Atteneder
Browse files

cons2prim: disable simd; disable atmosphering warning

parent 29139416
No related branches found
No related tags found
1 merge request!91make shock tube and blast wave tests run for SRHD when using MDA AV
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -88,7 +88,7 @@ end
#######################################################################
@with_signature [legacy=false] function cons2prim_kastaun(equation::AbstractEquation)
@with_signature [simd=false,legacy=false] function cons2prim_kastaun(equation::AbstractEquation)
@accepts D, S, tau, x
@unpack eos = equation
......@@ -300,7 +300,6 @@ end
taub4 = tau
# invert this for tau: eps = W * (q - mu * r2) + v^2 * W^2 / (1.0 + W), q = tau / D
tau = (eps / W - v^2 * W / (1.0 + W) + mu * r2) * D
@warn "atmosphering II @ x = $x : (taub4,tau) = ($taub4, $tau)"
end
# if rho < rhomin || eps < epsmin
# @warn "atmosphering II @ x = $x : (rho,eps) = ($rho, $eps)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment