Skip to content

Commit 3e0cd10

Browse files
authored
include extensions example on RTD site, add note about workaround (#82)
1 parent df3e46e commit 3e0cd10

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/examples/notebooks/Extensions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,10 @@
275275
# Let's close the existing modflowapi shared library object and look at an example of how this is all
276276
# used in practice.
277277

278+
# Note: the full prepare/solve/finalize sequence below is temporarily required to work around a bug
279+
# in MODFLOW 6. The bug has been patched, but the patch has not been released yet. The sequence can
280+
# be reduced to just `mf6.finalize()` when the patch is released.
281+
278282
mf6.prepare_solve(model.solution_id)
279283
mf6.solve(model.solution_id)
280284
mf6.finalize_solve(model.solution_id)

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ An extension to `xmipy` for the MODFLOW API.
1414
:caption: User Guide
1515

1616
examples/notebooks/Quickstart
17+
examples/notebooks/Extensions
1718
examples/notebooks/Head_Monitor_Example
1819

1920
.. autosummary::

0 commit comments

Comments
 (0)