mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Address more comments on pull request #556.
This commit is contained in:
parent
66f1d7b840
commit
148e01eec0
20 changed files with 86 additions and 181 deletions
|
|
@ -39,9 +39,9 @@ class SourceTestHarness(PyAPITestHarness):
|
|||
x_dist = openmc.stats.Uniform(-3., 3.)
|
||||
y_dist = openmc.stats.Discrete([-4., -1., 3.], [0.2, 0.3, 0.5])
|
||||
z_dist = openmc.stats.Tabular([-2., 0., 2.], [0.2, 0.3, 0.2])
|
||||
spatial1 = openmc.stats.SpatialIndependent(x_dist, y_dist, z_dist)
|
||||
spatial2 = openmc.stats.SpatialBox([-4., -4., -4.], [4., 4., 4.])
|
||||
spatial3 = openmc.stats.SpatialPoint([1.2, -2.3, 0.781])
|
||||
spatial1 = openmc.stats.CartesianIndependent(x_dist, y_dist, z_dist)
|
||||
spatial2 = openmc.stats.Box([-4., -4., -4.], [4., 4., 4.])
|
||||
spatial3 = openmc.stats.Point([1.2, -2.3, 0.781])
|
||||
|
||||
mu_dist = openmc.stats.Discrete([-1., 0., 1.], [0.5, 0.25, 0.25])
|
||||
phi_dist = openmc.stats.Uniform(0., 6.28318530718)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue