mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Updated example notebook and changed default value of return_names in write_mg_library to False and updated the docstring accordingly.
This commit is contained in:
parent
e8e5ccd1ad
commit
e9fc744ba5
2 changed files with 997 additions and 430 deletions
File diff suppressed because one or more lines are too long
|
|
@ -724,7 +724,7 @@ class Library(object):
|
|||
|
||||
def write_mg_library(self, xs_type='macro', domain_names=None, xs_ids=None,
|
||||
filename='mg_cross_sections', directory='./',
|
||||
return_names=True):
|
||||
return_names=False):
|
||||
"""Creates a cross-section data library file for the Multi-Group
|
||||
mode of OpenMC.
|
||||
|
||||
|
|
@ -749,7 +749,7 @@ class Library(object):
|
|||
return_names : bool
|
||||
Flag to indicate if the user would like the names of the
|
||||
materials generated by this function returned with completion.
|
||||
Defaults to True.
|
||||
Defaults to False, indicating that no names will be returned.
|
||||
|
||||
Returns
|
||||
-------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue