|
201 | 201 | _THERMAL_TEMPLATE_THERMR = """
|
202 | 202 | thermr / %%%%%%%%%%%%%%%% Add thermal scattering data (free gas) %%%%%%%%%%%%%%%
|
203 | 203 | 0 {nthermr1_in} {nthermr1}
|
204 |
| -0 {mat} 12 {num_temp} 1 0 {iform} 1 221 1/ |
| 204 | +0 {mat} {nbin} {num_temp} 1 0 {iform} 1 221 1/ |
205 | 205 | {temps}
|
206 | 206 | {error} {energy_max}
|
207 | 207 | thermr / %%%%%%%%%%%%%%%% Add thermal scattering data (bound) %%%%%%%%%%%%%%%%%%
|
208 | 208 | {nthermal_endf} {nthermr2_in} {nthermr2}
|
209 |
| -{mat_thermal} {mat} 16 {num_temp} {inelastic} {elastic} {iform} {natom} 222 1/ |
| 209 | +{mat_thermal} {mat} {nbin} {num_temp} {inelastic} {elastic} {iform} {natom} 222 1/ |
210 | 210 | {temps}
|
211 | 211 | {error} {energy_max}
|
212 | 212 | """
|
@@ -495,7 +495,7 @@ def make_ace(filename, temperatures=None, acer=True, xsdir=None,
|
495 | 495 | def make_ace_thermal(filename, filename_thermal, temperatures=None,
|
496 | 496 | ace=None, xsdir=None, output_dir=None, error=0.001,
|
497 | 497 | iwt=2, evaluation=None, evaluation_thermal=None,
|
498 |
| - table_name=None, zaids=None, nmix=None, **kwargs): |
| 498 | + table_name=None, zaids=None, nmix=None, nbin=16, **kwargs): |
499 | 499 | """Generate thermal scattering ACE file from ENDF files
|
500 | 500 |
|
501 | 501 | Parameters
|
@@ -532,6 +532,8 @@ def make_ace_thermal(filename, filename_thermal, temperatures=None,
|
532 | 532 | ZAIDs that the thermal scattering data applies to
|
533 | 533 | nmix : int, optional
|
534 | 534 | Number of atom types in mixed moderator
|
| 535 | + nbin : int, optional |
| 536 | + Number of equi-probable angles |
535 | 537 | **kwargs
|
536 | 538 | Keyword arguments passed to :func:`openmc.data.njoy.run`
|
537 | 539 |
|
|
0 commit comments