Remove installation of two scripts from CMakeLists.txt. Move particle_restart.py

to utils/openmc folder to make it part of Python API.
This commit is contained in:
Paul Romano 2015-04-29 06:42:56 +07:00
parent 3a20f851f1
commit 6e29cf2fbe
4 changed files with 7 additions and 10 deletions

View file

@ -5,7 +5,7 @@ import sys
sys.path.insert(0, '../../src/utils')
# import particle restart
import particle_restart as pr
import openmc.particle_restart as pr
# read in particle restart file
if len(sys.argv) > 1:

View file

@ -4,8 +4,8 @@ import sys
sys.path.insert(0, '../../src/utils')
# import particle restart
import particle_restart as pr
# import particle restart
import openmc.particle_restart as pr
# read in particle restart file
if len(sys.argv) > 1:
@ -15,8 +15,8 @@ else:
# set up output string
outstr = ''
# write out properties
# write out properties
outstr += 'current batch:\n'
outstr += "{0:12.6E}\n".format(p.current_batch)
outstr += 'current gen:\n'