-
Notifications
You must be signed in to change notification settings - Fork 568
Open
Labels
Description
Bug Description
get_microxs_and_flux uses the meshbase of an existing weight window rather than prescribed domains meshbase
Steps to Reproduce
- take an OpenMC model
- apply weight windows
- use openmc.deplete.get_microxs_and_flux(domains=openmc.MeshBase)
- no new meshbase is created (corresponding to the domains), rather the existing weight window mesh is erroneously used by the get_microxs_and_flux calculation
Environment
Linux
OpenMC 0.15.3.dev99
Workarounds
- can adjust the ww.h5 manually to change the ww and mesh ids to something other than 1
- can adjust the model.xml manually to ids other than
thing is the natural workflows will tend to auto-assign it in Python to id=1