Make Model available in main openmc namespace

This commit is contained in:
Paul Romano 2021-06-24 14:58:49 +07:00
parent fd2637cb48
commit 87bd987ebb

View file

@ -31,7 +31,7 @@ from openmc.search import *
from openmc.polynomial import *
from . import examples
# Import a few convencience functions that used to be here
from openmc.model import rectangular_prism, hexagonal_prism
# Import a few names from the model module
from openmc.model import rectangular_prism, hexagonal_prism, Model
__version__ = '0.13.0-dev'