Skip to content

Add new configurable parameters for nuclear data processing #3346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
6 changes: 3 additions & 3 deletions openmc/data/njoy.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@
_THERMAL_TEMPLATE_THERMR = """
thermr / %%%%%%%%%%%%%%%% Add thermal scattering data (free gas) %%%%%%%%%%%%%%%
0 {nthermr1_in} {nthermr1}
0 {mat} 12 {num_temp} 1 0 {iform} 1 221 1/
0 {mat} {no_angles} {num_temp} 1 0 {iform} 1 221 1/
{temps}
{error} {energy_max}
thermr / %%%%%%%%%%%%%%%% Add thermal scattering data (bound) %%%%%%%%%%%%%%%%%%
{nthermal_endf} {nthermr2_in} {nthermr2}
{mat_thermal} {mat} 16 {num_temp} {inelastic} {elastic} {iform} {natom} 222 1/
{mat_thermal} {mat} {no_angles} {num_temp} {inelastic} {elastic} {iform} {natom} 222 1/
{temps}
{error} {energy_max}
"""
Expand Down Expand Up @@ -495,7 +495,7 @@ def make_ace(filename, temperatures=None, acer=True, xsdir=None,
def make_ace_thermal(filename, filename_thermal, temperatures=None,
ace=None, xsdir=None, output_dir=None, error=0.001,
iwt=2, evaluation=None, evaluation_thermal=None,
table_name=None, zaids=None, nmix=None, **kwargs):
table_name=None, zaids=None, nmix=None, no_angles=12, **kwargs):
"""Generate thermal scattering ACE file from ENDF files

Parameters
Expand Down