Skip to content

Commit

Permalink
add docstrings to the Burgers problems (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Sep 15, 2024
1 parent bc59234 commit b23588d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyro/burgers/problems/converge.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""Setup a smooth velocity field (each component is an exponential). This can
be used to test convergence of the solver."""

import numpy

from pyro.util import msg
Expand Down
3 changes: 3 additions & 0 deletions pyro/burgers/problems/test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""Create a shock moving diagonally (from lower-left to upper-right)
through the domain."""

from pyro.util import msg

DEFAULT_INPUTS = "inputs.test"
Expand Down
2 changes: 2 additions & 0 deletions pyro/burgers/problems/tophat.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Initialize a circular "tophat" region that will drive a shock."""

from pyro.util import msg

DEFAULT_INPUTS = "inputs.tophat"
Expand Down

0 comments on commit b23588d

Please sign in to comment.