Address a few more @wbinventor comments. Fix Jupyter notebooks.

This commit is contained in:
Paul Romano 2017-02-23 09:43:00 -06:00
parent 7ca46e809c
commit e40c89b34f
5 changed files with 199 additions and 194 deletions

View file

@ -332,7 +332,7 @@
"outputs": [],
"source": [
"# Extract all Cells filled by Materials\n",
"openmc_cells = openmc_geometry.get_all_material_cells()\n",
"openmc_cells = openmc_geometry.get_all_material_cells().values()\n",
"\n",
"# Create dictionary to store multi-group cross sections for all cells\n",
"xs_library = {}\n",

View file

@ -594,7 +594,7 @@
"mgxs_lib.domain_type = 'cell'\n",
"\n",
"# Specify the cell domains over which to compute multi-group cross sections\n",
"mgxs_lib.domains = geometry.get_all_material_cells()"
"mgxs_lib.domains = geometry.get_all_material_cells().values()"
]
},
{
@ -743,8 +743,8 @@
" Copyright | 2011-2017 Massachusetts Institute of Technology\n",
" License | http://openmc.readthedocs.io/en/latest/license.html\n",
" Version | 0.8.0\n",
" Git SHA1 | dfc6f1d9bf1b31fc94dad1cb30bd672b25f47e04\n",
" Date/Time | 2017-02-21 15:11:55\n",
" Git SHA1 | 7ca46e809ce01fe7857ae36072822a1718f01aaf\n",
" Date/Time | 2017-02-23 09:36:51\n",
" OpenMP Threads | 4\n",
"\n",
" ===========================================================================\n",
@ -831,20 +831,20 @@
"\n",
" =======================> TIMING STATISTICS <=======================\n",
"\n",
" Total time for initialization = 5.2287E-01 seconds\n",
" Reading cross sections = 3.5267E-01 seconds\n",
" Total time in simulation = 1.3331E+01 seconds\n",
" Time in transport only = 1.3109E+01 seconds\n",
" Time in inactive batches = 9.4551E-01 seconds\n",
" Time in active batches = 1.2385E+01 seconds\n",
" Time synchronizing fission bank = 3.8467E-03 seconds\n",
" Sampling source sites = 2.5076E-03 seconds\n",
" SEND/RECV source sites = 1.2758E-03 seconds\n",
" Time accumulating tallies = 7.0302E-04 seconds\n",
" Total time for finalization = 1.5000E-05 seconds\n",
" Total time elapsed = 1.3863E+01 seconds\n",
" Calculation Rate (inactive) = 26440.9 neutrons/second\n",
" Calculation Rate (active) = 8074.24 neutrons/second\n",
" Total time for initialization = 4.2238E-01 seconds\n",
" Reading cross sections = 3.1986E-01 seconds\n",
" Total time in simulation = 1.3628E+01 seconds\n",
" Time in transport only = 1.3342E+01 seconds\n",
" Time in inactive batches = 1.1012E+00 seconds\n",
" Time in active batches = 1.2527E+01 seconds\n",
" Time synchronizing fission bank = 3.7750E-03 seconds\n",
" Sampling source sites = 2.4760E-03 seconds\n",
" SEND/RECV source sites = 1.2253E-03 seconds\n",
" Time accumulating tallies = 6.5502E-04 seconds\n",
" Total time for finalization = 9.4890E-06 seconds\n",
" Total time elapsed = 1.4059E+01 seconds\n",
" Calculation Rate (inactive) = 22702.0 neutrons/second\n",
" Calculation Rate (active) = 7982.70 neutrons/second\n",
"\n",
" ============================> RESULTS <============================\n",
"\n",
@ -1663,6 +1663,7 @@
}
],
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [default]",
"language": "python",

File diff suppressed because one or more lines are too long