fixed theta_grid spherical mesh

This commit is contained in:
RemDelaporteMathurin 2023-02-02 09:39:23 -05:00
parent 90995dc512
commit 1e94a0c7d7

View file

@ -35,7 +35,7 @@ def model():
# build
mesh = openmc.SphericalMesh()
mesh.phi_grid = np.linspace(0, 2*np.pi, 21)
mesh.theta_grid = np.linspace(0, 2*np.pi, 11)
mesh.theta_grid = np.linspace(0, np.pi, 11)
mesh.r_grid = np.linspace(0, geom_size, geom_size)
tally = openmc.Tally()