Skip to content

fix imports in the bc_demo test #261

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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