Skip to content

Commit 4d0f2d8

Browse files
committed
some fixes for docs
1 parent 8f8573e commit 4d0f2d8

6 files changed

Lines changed: 33 additions & 9 deletions

File tree

docs/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@
137137
]
138138
}
139139

140+
linkcheck_ignore = [r"https://ascelibrary.org",
141+
r"https://doi.org/10.1061/(ASCE)0733-9429(1999)125:11(1210)"]
142+
140143

141144
# -- Options for HTMLHelp output ------------------------------------------
142145

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pyro: a python hydro code
6363
.. toctree::
6464
:caption: Bibliography
6565

66-
references
66+
zreferences
6767

6868

6969
Indices and tables

docs/source/mesh_basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Jupyter notebook
100100
----------------
101101

102102
A Jupyter notebook that illustrates some of the basics of working with
103-
the grid is provided as `mesh-examples.ipynb <https://github.com/python-hydro/pyro2/blob/main/mesh/mesh-examples.ipynb>`_. This will
103+
the grid is provided as `mesh-examples.ipynb <https://github.com/python-hydro/pyro2/blob/main/pyro/mesh/mesh-examples.ipynb>`_. This will
104104
demonstrate, for example, how to use the :func:`ArrayIndexer <pyro.mesh.array_indexer.ArrayIndexer>` methods to
105105
construct differences.
106106

docs/source/refs.bib

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,26 @@ @article{ZALESAK1979335
3535
url = "http://www.sciencedirect.com/science/article/pii/0021999179900512",
3636
author = "Steven T Zalesak",
3737
abstract = "The theory of flux-corrected transport (FCT) developed by Boris and Book [J. Comput. Phys. 11 (1973) 38; 18 (1975) 248; 20 (1976) 397] is placed in a simple, generalized format, and a new algorithm for implementing the critical flux limiting stage' in multidimensions without resort to time splitting is presented. The new flux limiting algorithm allows the use of FCT techniques in multidimensional fluid problems for which time splitting would produce unacceptable numerical results, such as those involving incompressible or nearly incompressible flow fields. The “clipping” problem associated with the original one dimensional flux limiter is also eliminated or alleviated. Test results and applications to a two dimensional fluid plasma problem are presented."
38-
}
38+
}
39+
40+
41+
@article{stoker:1958,
42+
author = {Stoker,J. J. and Lindsay,R. Bruce },
43+
title = {Water Waves},
44+
journal = {Physics Today},
45+
volume = {11},
46+
number = {8},
47+
pages = {28-30},
48+
year = {1958},
49+
URL = {https://doi.org/10.1063/1.3062689}
50+
}
51+
52+
@article{chao:1999,
53+
author = {Chao Wu and Guofu Huang and Yonghong Zheng },
54+
title = {Theoretical Solution of Dam-Break Shock Wave},
55+
journal = {Journal of Hydraulic Engineering},
56+
volume = {125},
57+
number = {11},
58+
pages = {1210-1215},
59+
year = {1999}
60+
}

docs/source/swe_basics.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ y-directions. It can be run as:
4242
pyro_sim.py swe dam inputs.dam.x
4343
pyro_sim.py swe dam inputs.dam.y
4444

45-
A simple script, ``dam_compare.py`` in ``analysis/`` will read a pyro output
46-
file and plot the solution over the exact dam break solution (as given by
47-
`Stoker (1958) <https://doi.org/10.1063/1.3062689>`_ and
48-
`Wu, Huang & Zheng (1999) <https://doi.org/10.1061/(ASCE)0733-9429(1999)125:11(1210)>`_). Below we see
49-
the result for a dam break run with 128 points in the x-direction, and run
50-
until t = 0.3 s.
45+
A simple script, ``dam_compare.py`` in ``analysis/`` will read a pyro
46+
output file and plot the solution over the exact dam break solution
47+
(as given by :cite:`stoker:1958` and :cite:`chao:1999`. Below we see
48+
the result for a dam break run with 128 points in the x-direction, and
49+
run until t = 0.3 s.
5150

5251
.. image:: dam_compare.png
5352
:align: center
File renamed without changes.

0 commit comments

Comments
 (0)