Set OpenMCOperator materials to the model materials when diff_burnable_mats = True (#2877)

This commit is contained in:
Sigfrid Stjärnholm 2024-06-13 05:46:18 +02:00 committed by GitHub
parent 3e16c038fe
commit b1b8a4c328
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -142,6 +142,7 @@ class OpenMCOperator(TransportOperator):
if diff_burnable_mats:
self._differentiate_burnable_mats()
self.materials = self.model.materials
# Determine which nuclides have cross section data
# This nuclides variables contains every nuclides