Skip to content

Commit c737549

Browse files
authored
add docstrings to the diffusion problems (#275)
1 parent 1649759 commit c737549

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

pyro/diffusion/problems/gaussian.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
"""Initialize the profile to a Gaussian. With a constant
2+
conductivity, an initial Gaussian profile remains Gaussian, with the
3+
peak lowering and width increasing with time. This allows this
4+
problem to be used for verification.
5+
6+
"""
7+
18
import numpy
29

310
from pyro.util import msg

pyro/diffusion/problems/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""A problem setup used for unit testing."""
2+
13
DEFAULT_INPUTS = None
24

35
PROBLEM_PARAMS = {}

0 commit comments

Comments
 (0)