Always calculating heating partials for MT=302,318,402

This commit is contained in:
Paul Romano 2017-05-03 11:23:35 -05:00
parent cbf539dae3
commit c1850bd926

View file

@ -80,8 +80,8 @@ broadr / %%%%%%%%%%%%%%%%%%%%%%% Doppler broaden XS %%%%%%%%%%%%%%%%%%%%%%%%%%%%
0/
heatr / %%%%%%%%%%%%%%%%%%%%%%%%% Add heating kerma %%%%%%%%%%%%%%%%%%%%%%%%%%%%
20 22 23 /
{mat} {num_partials} /
{heatr_partials} /
{mat} 3 /
302 318 402 /
purr / %%%%%%%%%%%%%%%%%%%%%%%% Add probability tables %%%%%%%%%%%%%%%%%%%%%%%%%
20 23 24
{mat} {num_temp} 1 20 64 /
@ -259,14 +259,6 @@ def make_ace(filename, temperatures=None, ace='ace', xsdir='xsdir',
# Determine name of library
library = '{}-{}.{}'.format(*ev.info['library'])
# Determine which partial heating values are needed to self-shield heating
# for ptables
partials = [302, 402]
if ev.target['fissionable']:
partials.append(318)
heatr_partials = ' '.join(map(str, partials))
num_partials = len(partials)
if temperatures is None:
temperatures = [293.6]
num_temp = len(temperatures)