openmc
openmc.model
openmc.examples
openmc.deplete
openmc.mgxs
openmc.stats
openmc.data
openmc.lib
openmc.openmoc_compatible
Create a 1D slab model.
num_regions (int, optional) – Number of regions in the problem, each with a unique MGXS dataset. Defaults to 1.
mat_names (Iterable of str, optional) – List of the material names to use; defaults to [‘mat_1’, ‘mat_2’,…].
mgxslib_name (str, optional) – MGXS Library file to use; defaults to ‘2g.h5’.
model – One-group, 1D slab model
openmc.model.Model