Skip to content

Commit

Permalink
black/isort
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Dec 12, 2023
1 parent 852141a commit 141816e
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions autotest/prt/test_prt_fmi10.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,19 @@
tdis_rc = [[1.0, 1, 1.0]]
porosity = 0.1


def chdhead(x):
return x * 10.0 / 100.0


def get_tri(workspace, targets) -> Triangle:
workspace.mkdir(exist_ok=True)
tri = Triangle(angle=angle, maximum_area=max_area, model_ws=workspace, exe_name=targets.triangle)
tri = Triangle(
angle=angle,
maximum_area=max_area,
model_ws=workspace,
exe_name=targets.triangle,
)
tri.add_polygon(active_domain)
tri.build()
return tri
Expand All @@ -53,9 +59,7 @@ def build_gwf_sim(name, ws, targets):
sim = flopy.mf6.MFSimulation(
sim_name=name, version="mf6", exe_name=targets.mf6, sim_ws=ws
)
tdis = flopy.mf6.ModflowTdis(
sim, time_units="DAYS", perioddata=tdis_rc
)
tdis = flopy.mf6.ModflowTdis(sim, time_units="DAYS", perioddata=tdis_rc)
gwf = flopy.mf6.ModflowGwf(sim, modelname=gwfname, save_flows=True)
ims = flopy.mf6.ModflowIms(
sim,
Expand All @@ -81,7 +85,10 @@ def build_gwf_sim(name, ws, targets):
cell2d=cell2d,
)
npf = flopy.mf6.ModflowGwfnpf(
gwf, xt3doptions=[(True)], save_specific_discharge=True, save_saturation=True
gwf,
xt3doptions=[(True)],
save_specific_discharge=True,
save_saturation=True,
)
ic = flopy.mf6.ModflowGwfic(gwf)
chdlist = []
Expand Down

0 comments on commit 141816e

Please sign in to comment.