mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Updated OpenCG compatibility module to reflect change from width to pitch in RectLattice
This commit is contained in:
parent
2be0c934c9
commit
27cea6773c
1 changed files with 2 additions and 2 deletions
|
|
@ -764,9 +764,9 @@ def get_openmc_lattice(opencg_lattice):
|
|||
((np.array(width, dtype=np.float64) * \
|
||||
np.array(dimension, dtype=np.float64))) / -2.0
|
||||
|
||||
openmc_lattice = openmc.Lattice(lattice_id=lattice_id)
|
||||
openmc_lattice = openmc.RectLattice(lattice_id=lattice_id)
|
||||
openmc_lattice.set_dimension(dimension)
|
||||
openmc_lattice.set_width(width)
|
||||
openmc_lattice.set_pitch(width)
|
||||
openmc_lattice.set_universes(universe_array)
|
||||
openmc_lattice.set_lower_left(lower_left)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue