Skip to content

Commit 8e8ee7c

Browse files
authored
Add TWRI example (#263)
1 parent fb1d893 commit 8e8ee7c

40 files changed

+456
-772
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
build/
22
docs/examples/*.ipynb
3+
docs/examples/quickstart/*
4+
docs/examples/twri/*
35
venv/
46
.DS_Store
57
.ruff_cache

docs/examples/advanced_packages.py

Whitespace-only changes.

docs/examples/image/qs.png

-54 KB
Binary file not shown.

docs/examples/image/qsprj.png

-33 KB
Binary file not shown.

docs/examples/image/quickstart.png

3.31 KB
Loading

docs/examples/qsplot.py

Lines changed: 0 additions & 111 deletions
This file was deleted.

docs/examples/quickstart.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
name = "quickstart"
1313
workspace = Path(__file__).parent / name
14+
workspace.mkdir(exist_ok=True)
1415
time = Time(perlen=[1.0], nstp=[1])
1516
grid = StructuredGrid(
1617
nlay=1,
@@ -25,7 +26,7 @@
2526
gwf_name = "mymodel"
2627
ims = Ims(parent=sim, models=[gwf_name]) # temporary hack
2728
gwf = Gwf(parent=sim, name=gwf_name, save_flows=True, dis=grid)
28-
npf = Npf(parent=gwf, save_specific_discharge=True)
29+
npf = Npf(parent=gwf, print_flows=True, save_flows=True, save_specific_discharge=True)
2930
chd = Chd(
3031
parent=gwf,
3132
head={0: {(0, 0, 0): 1.0, (0, 9, 9): 0.0}},

docs/examples/quickstart/mfsim.lst

Lines changed: 0 additions & 248 deletions
This file was deleted.

0 commit comments

Comments
 (0)