mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Always calculating heating partials for MT=302,318,402
This commit is contained in:
parent
cbf539dae3
commit
c1850bd926
1 changed files with 2 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue