mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
fixed theta_grid spherical mesh
This commit is contained in:
parent
90995dc512
commit
1e94a0c7d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue