From 4e481c34ec1b717e195e841bc8f3a7eff1e4a82a Mon Sep 17 00:00:00 2001 From: Mike Anderson Date: Thu, 25 Jul 2024 12:50:05 -0700 Subject: [PATCH] bug fix --- buildMirge.sh | 3 +-- y3prediction/prediction.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/buildMirge.sh b/buildMirge.sh index 124b7f4..eb79e52 100755 --- a/buildMirge.sh +++ b/buildMirge.sh @@ -1,8 +1,7 @@ #!/bin/bash # default branch for building mirgecom for this driver -#mirge_branch="production" -mirge_branch="use-pilot-loopy" +mirge_branch="production" # conda environment name conda_env="mirgeDriver.Y3prediction" diff --git a/y3prediction/prediction.py b/y3prediction/prediction.py index 047c572..95dee3b 100644 --- a/y3prediction/prediction.py +++ b/y3prediction/prediction.py @@ -629,7 +629,7 @@ def limit_fluid_state_lv(dcoll, cv, temperature_seed, gas_model, dd, nspecies = cv.nspecies dim = cv.dim toler = 1.e-13 - ones = actx.np.zeros_like(cv.mass) + ones = 1. + actx.np.zeros_like(cv.mass) element_vols = abs(op.elementwise_integral(dcoll, dd, actx.np.zeros_like(cv.mass) + 1.0))