Skip to content

Commit

Permalink
add docstrings to the diffusion problems (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Sep 15, 2024
1 parent 1649759 commit c737549
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyro/diffusion/problems/gaussian.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""Initialize the profile to a Gaussian. With a constant
conductivity, an initial Gaussian profile remains Gaussian, with the
peak lowering and width increasing with time. This allows this
problem to be used for verification.
"""

import numpy

from pyro.util import msg
Expand Down
2 changes: 2 additions & 0 deletions pyro/diffusion/problems/test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""A problem setup used for unit testing."""

DEFAULT_INPUTS = None

PROBLEM_PARAMS = {}
Expand Down

0 comments on commit c737549

Please sign in to comment.