Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update citations for html #232

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions demos/demo_references.bib
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, don't we want to remove this bibtex file and just use the one in the docs repo?

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Article{LeVeque:1996,
@article{LeVeque:1996,
author={LeVeque, Randall J.},
title={{High-Resolution Conservative Algorithms for Advection in Incompressible Flow}},
journal={SIAM Journal on Numerical Analysis},
Expand All @@ -9,7 +9,7 @@ @Article{LeVeque:1996
doi={10.1137/0733033}
}

@Book{Hundsdorfer:2003,
@book{Hundsdorfer:2003,
title={Numerical solution of time-dependent advection-diffusion-reaction equations},
author={Hundsdorfer, Willem H and Verwer, Jan G and Hundsdorfer, WH},
volume={33},
Expand Down
2 changes: 1 addition & 1 deletion demos/gray_scott.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ def qoi():
#
# .. rubric:: References
#
# .. bibliography:: demo_references.bib
# .. bibliography::
# :filter: docname in docnames
12 changes: 9 additions & 3 deletions demos/point_discharge2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# Consider the same steady-state advection-diffusion test case as in the
# motivation for the Goalie manual: the "point discharge with diffusion"
# test case from :cite:`RCJ:14`. In this test case, we solve
# test case from :cite:`Riadh:2014`. In this test case, we solve
#
# .. math::
# \left\{\begin{array}{rl}
Expand Down Expand Up @@ -39,11 +39,11 @@ def get_function_spaces(mesh):


# Point sources are difficult to represent in numerical models. Here we
# follow :cite:`WBHP:22` in using a Gaussian approximation. Let
# follow :cite:`Wallwork:2022` in using a Gaussian approximation. Let
# :math:`(x_0,y_0)=(2,5)` denote the point source location and
# :math:`r=0.05606388` be a radius parameter, which has been calibrated
# so that the finite element approximation is as close as possible to the
# analytical solution, in some sense (see :cite:`WBHP:22` for details). ::
# analytical solution, in some sense (see :cite:`Wallwork:2022` for details). ::


def source(mesh):
Expand Down Expand Up @@ -210,3 +210,9 @@ def qoi():
# metric-based mesh adaptation to the point discharge test case considered here.
#
# This tutorial can be dowloaded as a `Python script <point_discharge2d.py>`__.
#
#
# .. rubric:: References
#
# .. bibliography::
# :filter: docname in docnames
2 changes: 1 addition & 1 deletion demos/solid_body_rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,5 +234,5 @@ def qoi():
#
# .. rubric:: References
#
# .. bibliography:: demo_references.bib
# .. bibliography::
# :filter: docname in docnames
2 changes: 1 addition & 1 deletion goalie/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def bessi0(x):
"""
Modified Bessel function of the first kind.

Code taken from :cite:`VVP+:92`.
Code taken from :cite:`Vetterling:1992`.
"""
if isinstance(x, np.ndarray):
if np.isclose(x, 0).any():
Expand Down
Loading