From 4216e8e457a003767dab605468dcd9e0e07e4c71 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Fri, 6 Sep 2024 14:11:40 -0400 Subject: [PATCH] fix imports in the bc_demo test --- examples/mesh/bc_demo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/mesh/bc_demo.py b/examples/mesh/bc_demo.py index 3521d7fee..7ce80fe72 100644 --- a/examples/mesh/bc_demo.py +++ b/examples/mesh/bc_demo.py @@ -1,16 +1,16 @@ # test the boundary fill routine -import mesh.boundary as bnd -import mesh.patch +import pyro.mesh.boundary as bnd +import pyro.mesh.patch as patch import numpy as np def doit(): - myg = mesh.patch.Grid2d(4, 4, ng=2, xmax=1.0, ymax=1.0) + myg = patch.Grid2d(4, 4, ng=2, xmax=1.0, ymax=1.0) - mydata = mesh.patch.CellCenterData2d(myg, dtype=np.int) + mydata = patch.CellCenterData2d(myg, dtype=np.int32) bco = bnd.BC(xlb="outflow", xrb="outflow", ylb="outflow", yrb="outflow")