diff --git a/mirgecom/gas_model.py b/mirgecom/gas_model.py index a2373b732..174930dc5 100644 --- a/mirgecom/gas_model.py +++ b/mirgecom/gas_model.py @@ -342,11 +342,11 @@ def make_fluid_state(cv, gas_model, actx = cv.array_context # FIXME work-around for now - smoothness_mu = (actx.zeros_like(cv.mass) if smoothness_mu + smoothness_mu = (actx.np.zeros_like(cv.mass) if smoothness_mu is None else smoothness_mu) - smoothness_kappa = (actx.zeros_like(cv.mass) if smoothness_kappa + smoothness_kappa = (actx.np.zeros_like(cv.mass) if smoothness_kappa is None else smoothness_kappa) - smoothness_beta = (actx.zeros_like(cv.mass) if smoothness_beta + smoothness_beta = (actx.np.zeros_like(cv.mass) if smoothness_beta is None else smoothness_beta) if wall_density is None: