Skip to content

Commit

Permalink
Merge pull request #366 from sblauth/docs/fix_xdmf_loading
Browse files Browse the repository at this point in the history
Fix the docs at demos/documented/misc/xdmf_io/demo_xdmf_io
  • Loading branch information
sblauth authored Dec 7, 2023
2 parents 46f46b9 + d9ee2e0 commit 3fdc803
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions demos/documented/misc/xdmf_io/demo_xdmf_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
# This means, that when we now use cashocs to solve the problem, the output is stored to
# a directory, which is specified in the {ini}`result_dir` of the Output Section of the
# config file. As we have not specified a directory, the files will be created in the
# default location `./results`, and the XDMF files will be stored in `./results/xdmf`.
# default location `./results`, and the XDMF files will be stored in
# `./results/checkpoints`.
#
# The code for solving the problem is as follows

Expand Down Expand Up @@ -83,8 +84,8 @@
sop.solve()
# -

# After we have run this code, we can see that now a directory `./results` exists and
# that the XDMF files are located in `./results/xdmf`, as expected.
# After we have run this code, we can see that now a directory `./results`
# exists and that the XDMF files are located in `./results/checkpoints`, as expected.
#
# ### Reading the XDMF files back into python
#
Expand All @@ -111,7 +112,7 @@
# <demo_multiple_variables>` or problems with {ref}`mixed spaces
# <demo_monolithic_problems>`, the outputs could, e.g., have the names
# {python}`'state_1_2.xdmf'`, so that the corresponding name would be
# {python}`'state_1_2'`
# {python}`'state_1_sub_2'`
# :::
#
# :::{warning}
Expand Down

0 comments on commit 3fdc803

Please sign in to comment.