mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
change theta cos_theta in test unstructured_mesh
This commit is contained in:
parent
53d7c848ea
commit
9704aa0ed4
1 changed files with 2 additions and 2 deletions
|
|
@ -228,10 +228,10 @@ def test_unstructured_mesh(test_opts):
|
|||
|
||||
# source setup
|
||||
r = openmc.stats.Uniform(a=0.0, b=0.0)
|
||||
theta = openmc.stats.Discrete(x=[0.0], p=[1.0])
|
||||
cos_theta = openmc.stats.Discrete(x=[1.0], p=[1.0])
|
||||
phi = openmc.stats.Discrete(x=[0.0], p=[1.0])
|
||||
|
||||
space = openmc.stats.SphericalIndependent(r, theta, phi)
|
||||
space = openmc.stats.SphericalIndependent(r, cos_theta, phi)
|
||||
energy = openmc.stats.Discrete(x=[15.e+06], p=[1.0])
|
||||
source = openmc.Source(space=space, energy=energy)
|
||||
settings.source = source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue