Skip to content

Commit

Permalink
fix imports in the bc_demo test (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Sep 6, 2024
1 parent 7cea4ce commit e4dffa7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/mesh/bc_demo.py
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit e4dffa7

Please sign in to comment.