forked from njoy/NJOY2016-manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reconx.tex
1900 lines (1714 loc) · 83 KB
/
reconx.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\section{RECONR}
\label{sRECONR}
\hypertarget{sRECONRhy}{The}
RECONR module is used to reconstruct resonance cross sections
from resonance parameters and to reconstruct cross sections from
ENDF nonlinear interpolation schemes. The output is written as
a pointwise-ENDF (PENDF) file with all cross sections on a
unionized energy grid suitable for linear interpolation to within
a specified tolerance. Redundant reactions (for example, total
inelastic, charged-particle reactions) are reconstructed to be
exactly equal to the sum of their reconstructed and linearized
parts at all energies. The resonance parameters are removed from
File 2, and the material directory is corrected to reflect all
changes. RECONR has the following features:
\index{RECONR|textbf}
\index{resonance reconstruction}
\index{resonance parameters}
\index{PENDF}
\index{union grid}
\index{redundant reactions}
\index{summation cross sections}
\begin{itemize}
\begin{singlespace}
\item Efficient use of dynamic storage allocation and a special
stack structure allow very large problems to be run.
\item The unionized grid improves the accuracy, usefulness,
and ENDF compatibility of the output. All summation cross
sections are preserved on the union grid. Up to nine
significant figures are allowed.
\item A correct directory of the output tape is provided.
\item Approximate $\psi\chi$ Doppler broadening
\index{$\psi\chi$ broadening} may be used
in some cases to speed up reconstruction.
\item A resonance-integral criterion is added to the normal
linearization criterion in order to reduce the number
of points added to the tabulation to represent ``unimportant''
resonances.
\item All ENDF-6\index{ENDF!ENDF format!ENDF-6 format} resonance formats
currently active are handled, including the calculation
of angular distributions from resonance parameters in
some cases.
\end{singlespace}
\end{itemize}
This chapter describes the RECONR module in NJOY2016.0.
\subsection{ENDF/B Cross Section Representations}
\label{ssRECONR_xsrep}
\begin{figure}[b]\centering
\includegraphics[keepaspectratio,height=4.0in,angle=270]{figs/reconr1ack}
\caption[RECONR reconstructed xs with smooth, RR and URR regions]{A
typical cross section reconstructed from an ENDF/B
evaluation using RECONR. The smooth, resolved, and
unresolved energy regions use different representations of the
cross sections. This is the total cross section for $^{235}$U
from ENDF/B-V.}
\label{xsfig}
\end{figure}
A typical cross section derived from an ENDF/B evaluation is
shown in Fig.~\ref{xsfig}. The low-energy cross sections are
``smooth''.\index{smooth cross sections} They are described
in File 3 (see Section \ref{ssNJOY_ENDF_IO} for a review of
ENDF/B\index{ENDF!ENDF/B} nomenclature) using cross-section values
given on an energy grid with a specified law for
interpolation\index{interpolation} between the points.
In the resolved resonance range\index{resolved resonance range},
resonance parameters are given in File 2, and the cross sections
for resonance reactions have to be obtained by adding the
contributions of all the resonances to ``backgrounds'' from
File 3. At still higher energies comes the unresolved
region\index{unresolved resonance range} where explicit
resonances are no longer defined. Instead, the cross section
is computed from statistical distributions of the resonance
parameters given in File 2 and backgrounds from File 3 (or
optionally taken directly from File 3 as for smooth cross
sections). Finally, at the highest energies, the smooth
File 3 representation is used again.
For light and medium-mass isotopes, the unresolved range is
usually omitted. For the lightest isotopes, the resolved range
is also omitted, the resonance cross sections being given
directly in the ``smooth'' format. In addition, several
different resonance representations are supported
(Single-Level Breit-Wigner (SLBW), Multilevel Breit-Wigner (MLBW), Adler-Adler,
Hybrid R-Function (HRF), Reich-Moore (RM), Reich-Moore-Limited (RML),
energy-independent unresolved, and energy-dependent
unresolved). The Adler-Adler and Hybrid formats are not
being used in modern evaluations. For an increasing number
of modern evaluations, the low energy ``smooth'' region is
omitted, and the resolved resonance region is extended to the
low energy limit.
\index{Single-Level Breit-Wigner!SLBW}
\index{Multi-Level Breit-Wigner}\index{Multi-Level Breit-Wigner!MLBW}
\index{Reich-Moore}\index{Reich-Moore!RM}
\index{Reich-Moore-Limited}\index{Reich-Moore-Limited!RML}
\index{Adler-Adler}
\index{Hybrid R-Function}\index{Hybrid R-Function!HRF}
RECONR takes these separate representations and produces a simple
cross section versus energy representation like the one shown
in Fig.~\ref{xsfig}.
\subsection{Unionization and Linearization Strategy}
\label{ssRECONR_union}
Several of the cross sections found in ENDF/B evaluations are
summation cross sections\index{summation cross sections}
(for example, total, inelastic, sometimes (n,2n) or fission,
and sometimes charged-particle reactions), and it is important
that each summation cross section be equal to the sum of its parts.
However, if the partial cross sections are represented with
nonlinear interpolation\index{interpolation!nonlinear interpolation}
\index{interpolation} schemes, the sum cannot be represented
by any simple interpolation law. A typical case is the sum
of elastic scattering (MT=2 interpolated linearly to represent
a constant) and radiative capture (MT=102 interpolated log-log
to represent $1/v$). The total cross section cannot be
represented accurately by either scheme unless the grid points
are very close together. This effect leads to significant
balance errors in multigroup transport codes and to splitting
problems in continuous-energy Monte Carlo codes.\index{Monte Carlo}
The use of linear-linear interpolation ({\it i.e.,} $\sigma$ linear
in $E$)\index{interpolation!linear interpolation} can be advantageous in several
ways. The data can be plotted easily, they can be integrated easily,
cross sections can be Doppler broadened\index{Doppler-broadening}
efficiently (see \hyperlink{sBROADRhy}{BROADR}\index{BROADR}), and,
linear data can be retrieved efficiently in continuous-energy
Monte Carlo codes. \index{Monte Carlo!continuous-energy Monte Carlo}
Therefore, RECONR puts all cross sections on a single unionized
grid suitable for linear interpolation. As described in more
detail below, RECONR makes one pass through the ENDF/B material
to select the energy grid, and then a second pass to compute
cross sections on this grid. Each cross section on the
PENDF\index{PENDF} file (except for the summation cross
sections\index{summation cross sections}) is exactly equal
to its ENDF/B value. The summation cross sections are then
obtained by adding up the partial cross sections at each
grid point.
While RECONR is going through the reactions given in the ENDF/B
evaluation, it also checks the reaction thresholds\index{thresholds}
against the $Q$ value\index{Q-value} and atomic weight
ratio to the neutron $A$ (AWR\index{atomic weight ratio!AWR}
in the file) given for the reaction. If
\begin{equation}
{\rm threshold} \ge \frac{A+1}{A}\,Q
\end{equation}
\noindent
is not true, the threshold energy is moved up to satisfy
the condition. This is usually a small change, often only
in the least significant digit, and is a consequence of
comparing two REAL numbers of finite precision.
If desired, the unionized grid developed from the ENDF/B file can
be supplemented with ``user grid points''\index{user grid} given
in the input data. The code automatically adds the conventional
thermal point of 0.0253 eV and the 1, 2, and 5 points in each
decade to the grid if they are not already present. These simple
energy grid points help when comparing materials, and they provide
well-controlled starting points for further subdivision of
the energy grid.
There are special problems with choosing the energy grid in the
unresolved range\index{unresolved resonance range}. In some cases,
the unresolved cross section is represented using resonance
parameters that are independent of energy. The cross sections
are not constant, however, but have a shape determined by the
energy variation of neutron wave number, penetrability factors,
and so on. RECONR handles this case by choosing a set of energies
(about 13 per decade) to be used to calculate the cross sections;
the set of energies gives a reasonable approximation to the result
intended. For evaluations that use energy-dependent resonance
parameters, it is supposed to be sufficient to compute the
unresolved cross sections at the given energies and to use
interpolation\index{interpolation} on the cross sections to obtain
the appropriate values at other energies. However, some
evaluations carried over from earlier versions of ENDF/B were not
evaluated using this convention, and cross sections computed
using cross-section interpolation are not sufficiently accurate.
Even some modern evaluations use inadequate energy grids for
the unresolved range. RECONR detects such cases by looking for
large steps between the points of the given energy grid. It
then adds additional energy grid points using the same
13-per-decade rule used for energy-independent parameters.
``Large'' is currently defined by \cword{wide} to be a factor
of 1.26.\index{unresolved energy grid}
\subsection{Linearization and Reconstruction Methods}
\label{ssRECONR_linear}
Linearization\index{linearization} (\cword{lunion}) and resonance
reconstruction\index{resonance reconstruction} (\cword{resxs})
both function by inserting new energy grid points between
the points of an original grid using an ``inverted
stack''.\index{inverted stack} The general concepts involved
are illustrated with a simple example shown in Fig.~\ref{stackfig}.
\begin{figure}[htbp]\centering
\includegraphics[keepaspectratio, height=5.3in, angle=0]{figs/reconr2ack}
\caption[Inverted stack mesh generation description]{Inverted
-stack method used in RECONR and several
other places in NJOY. Line 1 shows the two initial points
(the lower energy is higher in the stack). In line 2, a new
point has been calculated at the midpoint, but the result was
not converged, and the new point has been inserted in the
stack. In line 3, the midpoint of the top panel has been
checked again, found to be not converged, and inserted
into the stack. The same thing happens in line 4. In line 5,
the top panel is found to be converged, and the top point (5)
has been written out. The same thing happens in line 6. In
line 7, the top panel is tested and found to be not converged.
The midpoint is added to the stack. Finally, in line 8, the
top panel is found to be converged, and the top point is
written out. This leaves two points in the stack (see line 9).
Note that the energy points come off the stack in the desired
order of increasing energy, and that only one point has to be
moved up in the stack as each new result is inserted.}
\label{stackfig}
\end{figure}
The stack is first primed with two starting values. For
linearization, they will be two adjacent points on the original
union grid. For reconstruction, they will usually be the peaks
and half-height energies of resonances. The stack is said to be
inverted because the lower energy is at the ``top''
(\cword{I}=2).
This interval or panel is now divided into two parts, and the
cross section computed at the intermediate point is compared to
the result of linear interpolation between the adjacent points.
If the two values do not agree within various criteria, the top
of the stack is moved up one notch (\cword{I}=3), and the new
value is inserted (\cword{I}=2). The code then repeats the
checking process for the new (smaller) interval at the top of the
stack. The top of the stack rises until convergence is achieved
for the top interval. The top energy and cross section are then
saved on a scratch file, the stack index is decremented, and the
checks are repeated. This process is continued with the top of
the stack rising and falling in response to the complexity of the
cross section until the entire panel $\Delta E$ has been
converged (\cword{I}=1). The stack is then reprimed with the
bounds of the next panel. The process continues until the entire
energy range for linearization or reconstruction has been
processed.
This stack logic enables a panel to be subdivided into parts as
small as $\Delta E / 2^n$ where $n$ is the stack size, and several
different cross sections (elastic, capture, fission) can easily
be stored in arrays of this size.
The convergence criterion used for linearization is that the
linearized cross section at the intermediate point is within the
fractional tolerance \cword{err} (or a small absolute value
\cword{errlim}) of the actual cross section specified by the
ENDF law. More complicated criteria are used for resonance
reconstruction.
There are two basic problems that arise if a simple fractional
tolerance test is used to control resonance reconstruction.
First, as points are added to the energy grid, adjacent energy
values may become so close that they will be rounded to the same
number when a formatted output file is produced. There can be
serious problems if the code continues to add grid points after
this limit is reached. Through the use of dynamic format
reconstruction, the energy resolution available for formatted
NJOY output (which use ENDF 11-character fields) is 7
significant figures\index{significant figures} (that is,
$\pm 1.234567\pm n$) rather than the usual 5 or 6 (see Section
\ref{ssNJOY_ENDF_IO}). For NJOY2016, the Fortran-90 ``kind'' parameter is
used to assure sufficient precision for this. Even this
seven significant figure format is sometimes insufficient for
very narrow resonances. If necessary, NJOY can go to nine
significant figures by using a Fortran ``F'' format,
{\it e.g.,} $\pm 1234.56789$.
Significant-figure control is implemented as follows: each
intermediate energy is first truncated to 7 significant
figures before the corresponding cross sections are computed.
If the resulting number is equal to either of the adjacent
values and convergence has not been obtained, subdivision
continues using energies truncated to 9 significant figures.
If an energy on this finer grid is equal to either of the
adjacent values, the interval is declared to be converged
even though convergence has not been achieved. Thus, no
identical energies are produced, but an unpredictable but
very small loss in accuracy results.
The second basic problem alluded to above is that a very large
number of resonance grid points arise from straightforward
linear reconstruction of the resonance cross section of some
isotopes. Many of these points come from narrow, weak,
high-energy resonances, which do not need to be treated
accurately in many applications. As an example, the capture and
fission resonance integrals important for thermal reactors must
be computed with a $1/E$ flux weighting. If the resonance
reconstruction tolerance is set high (say 1\%) to reduce the cost
of processing, the resonance integrals will be computed to only
1\% accuracy. However, if the reconstruction tolerance were set
to a smaller value, like 0.1\%, and if the high-energy resonances
(whose importance is reduced by the $1/E$ weight and the $1/v$
trend of the capture and fission cross sections) were treated
with less accuracy than the low-energy resonances, then it is
likely that one could achieve an accuracy much better than 1\%
with an overall reduction in the number of points (hence computing
cost). Since $1/E$ weighting is not realistic in all applications
(for example, in fast reactors), user control of this
``thinning'' operation must be provided.
Based on these arguments, the following approach was chosen to
control the problem of very large files. First, panels are
subdivided until the elastic, capture, and fission cross sections
are converged to within \cword{errmax}, where \cword{errmax}
$\ge$ \cword{err}. These two tolerances are normally chosen to
form a reasonable band, such as 1\% and 0.1\%, to ensure that
all resonances are treated at least roughly (for example, for
plotting). If the resonance integral ($1/E$ weight) in some panel
is large, the panel is further subdivided to achieve an accuracy
of \cword{err} (say 0.1\%). However, if the contribution to the
resonance integral from any one interval gets small, the interval
will be declared converged, and the local value of the cross
section will end up with some intermediate accuracy. The
contribution to the error in the resonance integral should be
less than $0.5{\times}\Delta\sigma{\times}\Delta E$. This value
is added into an accumulating estimate of the error, and a count
of panels truncated by the resonance integral check is
incremented.
\index{integral thinning}
\index{resonance integral check}
The problem with this test is that RECONR does not know the value
of the resonance integral in advance, so the tolerance parameter
\cword{errint} is not the actual allowed fractional error in the
integral. Instead, it is more like the resonance integral error
per grid point (barns/point). Thus, a choice of
\cword{errint=err/10000} with \cword{err}=0.001 would limit the
integral error to about 0.001 barn if 10000 points resulted from
reconstruction. Since important resonance integrals vary from a
few barns to a few hundred barns, this is a reasonable choice.
The integral check can be suppressed by setting \cword{errint}
very small or \cword{errmax=err}.
When resonance reconstruction is complete, RECONR provides a
summary of the possible resonance integral error due to the
integral check over several coarse energy bands. An example
from ENDF/B-VII.0 $^{235}$U follows:
\newpage
\small
\begin{ccode}
estimated maximum error due to
resonance integral check (errmax,errint)
upper elastic percent capture percent fission percent
energy integral error integral error integral error
1.00E-05
1.00E-04 3.50E+01 0.000 8.15E+03 0.000 4.29E+04 0.000
1.00E-03 3.50E+01 0.000 2.57E+03 0.000 1.36E+04 0.000
1.00E-02 3.50E+01 0.000 8.02E+02 0.000 4.24E+03 0.000
1.00E-01 3.46E+01 0.000 2.15E+02 0.000 1.26E+03 0.000
1.00E+00 3.25E+01 0.000 6.03E+01 0.000 3.26E+02 0.000
2.00E+00 8.95E+00 0.000 7.31E+00 0.000 2.62E+01 0.000
5.00E+00 1.08E+01 0.000 1.25E+01 0.000 1.56E+01 0.000
1.00E+01 7.75E+00 0.000 2.40E+01 0.000 3.52E+01 0.000
2.00E+01 8.18E+00 0.000 2.92E+01 0.000 3.31E+01 0.000
5.00E+01 1.07E+01 0.000 2.57E+01 0.000 3.83E+01 0.000
1.00E+02 8.30E+00 0.000 1.07E+01 0.000 2.34E+01 0.000
2.00E+02 8.04E+00 0.000 8.17E+00 0.000 1.42E+01 0.000
5.00E+02 1.10E+01 0.001 6.81E+00 0.008 1.51E+01 0.004
1.00E+03 8.28E+00 0.008 3.44E+00 0.080 7.62E+00 0.038
2.00E+03 8.27E+00 0.033 2.54E+00 0.261 5.06E+00 0.185
points added by resonance reconstruction = 232418
points affected by resonance integral check = 80445
final number of resonance points = 242170
number of points in final unionized grid = 242600
\end{ccode}
\normalsize
\noindent
The parameters \cword{errmax} and \cword{errint}, taken together,
should be considered as adjustment ``knobs'' that can increase or
decrease the errors in the ``res-int'' columns to get an appropriate
balance between accuracy and economy for a particular application.
The error from significant figure reduction provided by earlier
versions of NJOY is no longer needed.
For energies in the thermal range (energies less than
\cword{trange}=0.5 eV), the user's reconstruction
tolerance\index{thermal reconstruction tolerance} is
divided by a factor of 5 in order to give better results for
several important thermal integrals, especially after Doppler
broadening, and to make the 0.0253 eV cross section behave
well under Doppler broadening.
\subsection{Resonance Representations}
\label{ssRECONR_resrep}
RECONR uses the resonance formulas as implemented in the original
RESEND code\cite{RESEND}\index{RESEND} with several changes: a
more efficient calculation of MLBW cross sections \index{Multi-Level
Breit-Wigner!MLBW} developed by C. R. Lubitz\index{Lubitz} of the
Knolls Atomic Power Laboratory (KAPL)\index{Knolls Atomic Power
Laboratory!KAPL} and coded by P. Rose \index{Rose} of the National
Nuclear Data Center (NNDC)\index{National Nuclear Data Center!NNDC}
\index{NNDC|see{National Nuclear Data Center}} at
the Brookhaven National Laboratory (BNL)\index{Brookhaven National
Laboratory!BNL}, the addition of competitive widths\index{competitive width}
introduced for ENDF/B-V, a $\psi\chi$ Doppler-broadening\index{$\psi\chi$
broadening} calculation for SLBW\index{Single-Level Breit-Wigner!SLBW} and
Adler-Adler \index{Adler-Adler} resonance shapes, and a capability to
process either the multi-level multi-channel R-matrix
Reich-Moore\index{Reich-Moore!RM} parameters or
the multi-level single-channel Hybrid R-Function\index{Hybrid R-Function!HRF}
parameters based on the work of
M. Bhat\index{Bhat} and C. Dunford\index{Dunford} of the NNDC,
an implementation of the GH method\index{Multi-Level Breit-Wigner!GH MLBW
method} for MLBW resonances, which allows psi-chi broadening, and a capability
to process the new RML\index{Reich-Moore-Limited!RML}
parameters, including resolved resonance energy region angular distributions.
\index{resonance angular distributions}
Expanded discussions of the following formulas can be found in the
ENDF-6 format manual\cite{ENDF102}.\index{ENDF!ENDF format!ENDF-6 format}
\paragraph{Single-Level Breit-Wigner Representation (SLBW)}
\index{Single-Level Breit-Wigner}
The subroutine that computes Single-Level Breit-Wigner cross
sections\index{Single-Level Breit-Wigner!SLBW}
(\cword{csslbw})\index{csslbw@{\ty csslbw}} uses
\begin{eqnarray}
\sigma_n&=&\sigma_p\nonumber\\
& &+\sum_{\ell}\sum_r\sigma_{mr}
\Bigl\lbrace \Bigl[ \cos 2\phi_\ell - (1-{{\Gamma_{nr}}
\over {\Gamma_r}}) \Bigr] \,\psi(\theta,x)\nonumber\\
& &+\sin 2\phi_\ell \,\chi(\theta,x) \Bigr\rbrace\,\,,\\
\sigma_f&=&\sum_{\ell}\sum_r \sigma_{mr} {{\Gamma_{fr}}
\over{\Gamma_r}}\,\psi(\theta,x)\,\,,\\
\sigma_\gamma&=&\sum_{\ell}\sum_r\sigma_{mr} {{\Gamma_{\gamma r}}
\over {\Gamma_r}} \,\psi(\theta,x)\,\,,\;\hbox{and}\\
\sigma_p&=&\sum_\ell {{4\pi}\over{k^2}}(2\ell+1)\sin^2
\theta_\ell \,\,,
\end{eqnarray}
where $\sigma_n$, $\sigma_f$, $\sigma_\gamma$, and $\sigma_p$ are
the neutron (elastic), fission, radiative capture, and potential
scattering components of the cross section arising from the given
resonances. There can be ``background'' cross sections in File 3
that must be added to these values to account for competitive
reactions such as inelastic scattering or to correct for the
inadequacies of the single-level representation with regard to
multilevel effects or missed resonances. The sums extend over
all the $\ell$ values and all the resolved resonances $r$ with a
particular value of $\ell$. Each resonance is characterized by
its total, neutron, fission, and capture widths ($\Gamma,
\Gamma_n, \Gamma_f, \Gamma_\gamma$), by its $J$ value (AJ in the
file), and by its maximum value (\cword{smax}$=\sigma_{mr} /
\Gamma_r$ in the code)
\begin{equation}
\sigma_{mr} = {\frac{4\pi}{k^2}}\,g_J \,{\frac{\Gamma_{nr}}
{\Gamma_r}} \,\,,
\end{equation}
where $g_J$ is the spin statistical factor
\begin{equation}
g_J={\frac{2J+1}{4I+2}}\,\,,
\end{equation}
and $I$ is the total spin (SPI) given in File 2, and $k$ is the
neutron wave number, which depends on incident energy $E$ and the
atomic weight ratio to the neutron for the isotope $A$ (AWRI in
the file), as follows:
\begin{equation}
k=(2.196771{\times}10^{-3}){\frac{A}{A+1}}\sqrt{E}\,\,.
\end{equation}
There are two different characteristic lengths that appear in the
ENDF resonance formulas: first, there is the ``scattering
radius''\index{scattering radius} $\hat a$, which is given
directly in File 2 as AP; and second, there is the ``channel
radius''\index{channel radius} $a$, which is given by
\begin{equation}
a=0.123\,A^{1/3}+0.08\,\,.
\end{equation}
If the File 2 parameter NAPS is equal to one, $a$ is set equal to
$\hat a$ in calculating penetrabilities and shift factors (see
below). The ENDF-6 option to enter an energy-dependent
scattering radius is not supported. The neutron width in the
equations for the SLBW cross sections is energy dependent due to
the penetration factors $P_\ell$; that is,
\index{penetrabilities}
\begin{equation}
\Gamma_{nr}(E)={\frac{P_\ell(E)\,\Gamma_{nr}}{P_\ell(|E_r|)}}\,\,,
\end{equation}
where
\begin{eqnarray}
P_0&=&\rho\,\,,\\
P_1&=&{\frac{\rho^3}{1+\rho^2}}\,\,,\\
P_2&=&{\frac{\rho^5}{9+3\rho^2+\rho^4}}\,\,,\\
P_3&=&{\frac{\rho^7}{225+45\rho^2+6\rho^4+\rho^6}}\,\,,
\;\hbox{and}\\
P_4&=&{\frac{\rho^9}{11025+1575\rho^2+135\rho^4+10\rho^6+\rho^8}}\,\,,
\end{eqnarray}
where $E_r$ is the resonance energy and $\rho{=}ka$ depends on
the channel radius or the scattering radius as specified by NAPS.
The phase shifts are given by
\index{phase shifts}
\begin{eqnarray}
\phi_0&=&\hat\rho\,\,,\\
\phi_1&=&\hat\rho - \tan^{-1}\hat\rho \,\,,\\
\phi_2&=&\hat\rho - \tan^{-1}{\frac{3\hat\rho}
{3-\hat\rho^2}} \,\,,\\
\phi_3&=&\hat\rho - \tan^{-1}{\frac{15\hat\rho-\hat\rho^3}
{15-6\hat\rho^2}} \,\,,\;\hbox{and}\\
\phi_4&=&\hat\rho - \tan^{-1}{\frac{105\hat\rho-10\hat\rho^3}
{105-45\hat\rho^2+\hat\rho^4}}\,\,,
\end{eqnarray}
where $\hat\rho{=}k\hat a$ depends on the scattering radius. The
final components of the cross section are the actual line shape
functions $\psi$ and $\chi$. At zero temperature,
\begin{eqnarray}
\psi&=&{\frac{1}{1+x^2}}\,\,,\\
\chi&=&{\frac{x}{1+x^2}}\,\,,\\
x&=&{\frac{2(E-E'_r)}{\Gamma_r}}\,\,,
\end{eqnarray}
and
\begin{equation}
E'_r=E_r+{\frac{S_\ell(|E_r|)-S_\ell(E)}
{2(P_\ell(|E_r|)}}\,\Gamma_{nr}(|E_r|)\,\,,
\label{r24}
\end{equation}
in terms of the shift factors
\index{resonance shift factors}
\begin{eqnarray}
S_0&=&0\,\,,\\
S_1&=&-{\frac{1}{1+\rho^2}}\,\,,\\
S_2&=&-{\frac{18+3\rho^2}{9+3\rho^2+\rho^4}} \,\,,\\
S_3&=&-{\frac{675+90\rho^2+6\rho^4}{225+45\rho^2+6\rho^4+\rho^6}}\,\,,
\;\hbox{and}\\
S_4&=&-{\frac{44100+4725\rho^2+270\rho^4+10\rho^6}
{11025+1575\rho^2+135\rho^4+10\rho^6+\rho^8}}\,\,.
\end{eqnarray}
To go to higher temperatures, define
\begin{equation}
\theta={\frac{\Gamma_r}
{\displaystyle\sqrt{{\frac{4kTE}{A}}}}}\,\,,
\end{equation}
where $k$ is the Boltzmann constant\index{Boltzmann constant}
and $T$ is the absolute temperature.
\index{$\psi\chi$ broadening}
The line shapes $\psi$ and $\chi$ are now given by
\begin{equation}
\psi={\frac{\sqrt{\pi}}{2}}\,\theta \,{\rm Re} W\bigl(
{\frac{\theta x}{2}},{{\theta}\over 2}\bigr)\,\,,
\end{equation}
and
\begin{equation}
\chi={{\sqrt{\pi}}\over 2} \,\theta \,{\rm Im}W\bigl(
{{\theta x}\over 2},{{\theta}\over 2}\bigr)\,\,,
\end{equation}
in terms of the complex probability function (see \cword{quickw},
\cword{wtab}, and \cword{w}, which came from the MC$^2$ code\cite{MC2})
\begin{equation}
W(x,y)={\rm e}^{-z^2}\,{\rm erfc}(-iz)
={\frac{i}{\pi}}\int_{-\infty}^\infty
{{{\rm e}^{-t^2}}\over{z-t}}\,dt\,\,,
\end{equation}
where $z{=}x{+}iy$. The $\psi\chi$ method is not as accurate as
kernel broadening\index{kernel broadening} (see
\hyperlink{sBROADRhy}{BROADR}\index{BROADR})
because the backgrounds (which are sometimes quite complex) are not
broadened, and terms important for energies less than about $16kT/A$
are neglected; however, the $\psi\chi$ method is less expensive than
\hyperlink{sBROADRhy}{BROADR}. Previous versions of
RECONR included $\psi\chi$ broadening
\index{$\psi\chi$ broadening} for the SLBW
\index{Single-Level Breit-Wigner!SLBW} and Adler-Adler\index{Adler-Adler}
representations only. This version also allows the method to be used
for MLBW\index{Multi-Level Breit-Wigner!MLBW} cases. The
SLBW approach can produce negative elastic
cross sections.\index{negative cross sections} If found, they are
set to a small positive value, and a count is accumulated for a
diagnostic in the listing file.
\paragraph{Multilevel Breit-Wigner Representation (MLBW)}
\index{Multi-Level Breit-Wigner}
The Lubitz-Rose method used for calculating Multi-Level
Breit-Wigner cross sections (\cword{csmlbw}) is formulated as
follows:
\index{Lubitz-Rose method}
\index{Multi-Level Breit-Wigner!MLBW}
\index{csmlbw@{\ty csmlbw}}
\begin{equation}
\sigma_n(E)={\frac{\pi}{k^2}}
\sum_\ell \sum_{s=|I-\frac{1}{2}|}^{I+\frac{1}{2}}
\sum_{J=|l-s|}^{l+s} g_J\,|1-U_{nn}^{\ell sJ}(E)|^2\,\,,
\end{equation}
\noindent with
\begin{equation}
U_{nn}^{\ell J}(E)={\rm e}^{2i\phi_\ell}-
\sum_r {\frac{i\Gamma_{nr}}
{E'_r-E-i\Gamma_r/2}}\,\,,
\end{equation}
\noindent
where the other symbols are the same as those used above.
Expanding the complex operations gives
\begin{eqnarray}
\sigma_{n}(E)&=&{\frac{\pi}{k^2}}
\sum_\ell \sum_{s=|I-\frac{1}{2}|}^{I+\frac{1}{2}}
\sum_{J=|l-s|}^{l+s} g_J
\biggl\lbrace \Bigl( 1-\cos 2\phi_\ell -
\sum_r {{\Gamma_{nr}}\over{\Gamma_r}}
{2\over{1+x_r^2}} \Bigr)^2\nonumber\\
&+&\Bigl(\sin 2\phi_\ell
+\sum_r {{\Gamma_{nr}}\over{\Gamma_r}}
{\frac{2x_r}{1+x_r^2}} \Bigr)^2 \biggr\rbrace \,\,,
\end{eqnarray}
\noindent
where the sums over $r$ are limited to resonances in spin
sequence $\ell$ that have the specified value of $s$ and $J$.
Unfortunately, the $s$ dependence of $\Gamma$ is not known.
The file contains only $\Gamma_J{=}\Gamma_{s_1J}{+}\Gamma_{s_2J}$.
It is assumed that the $\Gamma_J$ can be used for one of the
two values of $s$, and zero is used for the other. Of course,
it is important to include both channel-spin terms in the
potential scattering. Therefore, the equation is written in
the following form:
\index{channel spin}
\index{potential scattering}
\begin{eqnarray}
\sigma_{n}(E)&=&{\frac{\pi}{k^2}}
\sum_\ell \biggl[
\sum_J g_J \biggl\lbrace \Bigl( 1-\cos 2\phi_\ell -
\sum_r {{\Gamma_{nr}}\over{\Gamma_r}}
{2\over{1+x_r^2}} \Bigr)^2\nonumber\\
&+&\Bigl(\sin 2\phi_\ell
+\sum_r {{\Gamma_{nr}}\over{\Gamma_r}}
{\frac{2x_r}{1+x_r^2}} \Bigr)^2 \biggr\rbrace
+2D_\ell(1-\cos 2\phi_\ell) \biggr] \,\,,
\end{eqnarray}
\noindent where the summation over $J$ now runs from
\begin{equation}
||I-\ell|-\frac{1}{2}| \rightarrow I+\ell+\frac{1}{2} \,\,,
\end{equation}
\noindent and $D_\ell$ gives the additional contribution to the
statistical weight resulting from duplicate $J$ values not
included in the new $J$ sum; namely,
\index{J values@{J values!duplicate $J$ values}}
\begin{eqnarray}
D_\ell&=&
\sum_{s=|I-\frac{1}{2}|}^{I+\frac{1}{2}}
\sum_{J=|l-s|}^{l+s} g_J \;
-\sum_{J=||I-\ell|-\frac{1}{2}|}^{I+\ell+\frac{1}{2}} g_J \\
&=&(2\ell+1) \;
-\sum_{J=||I-\ell|-\frac{1}{2}|}^{I+\ell+\frac{1}{2}} g_J\,\,.
\label{missing}
\end{eqnarray}
\noindent
A case where this correction would appear is the $\ell{=}1$ term
for a spin-1 nuclide. There will be 5 $J$ values: 1/2, 3/2, and
5/2 for channel spin 3/2; and 1/2 and 3/2 for channel spin 1/2.
All five contribute to the potential scattering, but the file
will only include resonances for the first three.
The fission and capture cross sections are the same as for the
single-level option. The $\psi\chi$ Doppler-broadening cannot be
used with this formulation of the MLBW representation.
\index{$\psi\chi$ broadening}\index{Multi-Level Breit-Wigner!MLBW}
However, there is an alternate representation available that
does support $\psi\chi$ broadening:
\begin{eqnarray}
\sigma_n&=&\sigma_p\nonumber\\
& &+\sum_{\ell}\sum_r\sigma_{mr}
\Bigl\lbrace \Bigl[ \cos 2\phi_\ell - (1-{{\Gamma_{nr}}
\over {\Gamma_r}})+\frac{G_{r\ell}}{\Gamma_{nr}} \Bigr]
\,\psi(\theta,x)\nonumber\\
& &+(\sin 2\phi_\ell +\frac{H_{r\ell}}{\Gamma_{nr}})
\,\chi(\theta,x) \Bigr\rbrace\,\,,
\end{eqnarray}
where
\begin{equation}
G_{r\ell}=\frac{1}{2}
\sum_{\stackrel{\displaystyle r'\ne r}
{\displaystyle J_{r'}\ne J_r}}
\Gamma_{nr}\Gamma_{nr'}\frac{\Gamma_r+\Gamma_{r'}}
{(E_r-E_{r'})^2+(\Gamma_r+\Gamma_{r'})^2/4} \,,
\end{equation}
and
\begin{equation}
H_{r\ell}=\sum_{\stackrel{\displaystyle r'\ne r}
{\displaystyle J_{r'}\ne J_r}}
\Gamma_{nr}\Gamma_{nr'}\frac{E_r-E{r'}}
{(E_r-E_{r'})^2+(\Gamma_r+\Gamma_{r'})^2/4} \,.
\end{equation}
Nominally, this method is slower than the previous one because
it contains a double sum over resonances at each energy. However,
it turns out that G and H are slowly varying functions of energy,
and the calculation can be accelerated by computing them at just
a subset of the energies and getting intermediate values by
interpolation. It is important to use a large number of $r'$
values on each side of $r$. The GH MLBW method is implemented
in \cword{csmlbw2}.
\index{Multi-Level Breit-Wigner!GH MLBW method}
\index{csmlbw2@{\ty csmlbw2}}
\paragraph{Adler-Adler Representation (Adler-Adler)}
\index{Adler-Adler}
The multilevel Adler-Adler representation
(\cword{csaa})\index{csaa@{\ty csaa}}
is defined for $\ell{=}0$ only. It is useful for fissionable
materials. The total cross sections are given by
\begin{eqnarray}
\sigma_t(E)&=&{\frac{4\pi}{k^2}}\sin^2\phi_0\nonumber\\
&+&{\frac{\pi\sqrt{E}}{k^2}} \biggl\lbrace
\sum_r {\frac{1}{\nu_r}} \biggl[(G_r\cos 2\phi_0
+H_r\sin 2\phi_0 ) \,\psi(\theta,x)\nonumber\\
&+&(H_r\cos 2\phi_0 - G_r\sin 2\phi_0) \,\chi(\theta,x)
\biggr]\nonumber\\
&+&A_1+{\frac{A_2}{E}}+{\frac{A_3}{E^2}}
+{\frac{A_4}{E^3}}+B_1E+B_2 E^2 \biggr\rbrace \,\,,
\end{eqnarray}
\noindent where
\begin{equation}
x={\frac{\mu_r-E}{\nu_r}}\,\,,
\end{equation}
\vspace{0.5 pt}
\noindent and where $\nu_r$ is the resonance half-width (corresponds
to $\Gamma /2$ in the Breit-Wigner notation), $\mu_r$ is the
resonance energy, $G_r$ is the symmetric total parameter,
$H_r$ is the asymmetric total parameter, and the $A_i$ and
$B_i$ are coefficients of the total background correction.
The fission and capture cross section both use the form
\begin{eqnarray}
\sigma_x(E)&=&{\frac{\pi\sqrt{E}}{k^2}}
\biggl\lbrace \sum_r {\frac{1}{\nu_r}}
\left[G_r\psi(\theta,x)+H_r\chi(\theta,x)\right]\nonumber\\
&+&A_1+{\frac{A_2}{E}}+{\frac{A_3}{E^2}}
+{\frac{A_4}{E^4}}+B_1E+B_2E^2 \biggr\rbrace \,\,,
\end{eqnarray}
\noindent where the values of $G$, $H$, $A_i$, and $B_i$
appropriate for the desired reaction are used.
Doppler-broadening\index{$\psi\chi$ broadening} can be applied
as for the SLBW\index{Single-Level Breit-Wigner!SLBW} case, except note
that $\Gamma_r$ in Eq.~\ref{r24} must be replaced with $2\nu_r$.
Doppler-broadened Adler-Adler cross sections are more accurate
than SLBW cross sections because the background is smoother.
However, cross sections below about $16kT/A$ will still be
inaccurate. The Adler-Adler method is not used in modern
evaluations.
\paragraph{Reich-Moore Representation (RM)}\index{Reich-Moore}
The Reich-Moore representation\index{Reich-Moore!RM}
as implemented in subroutine \cword{csrmat}\index{csrmat@{\ty csrmat}}
is a multi-level formulation with two fission channels; hence,
it is useful for both structural and fissionable materials.
The cross sections are given by
\begin{eqnarray}
\sigma_t&=&{\frac{2\pi}{k^2}}\sum_\ell\sum_J
g_J \Bigl\{ \bigl( 1-{\rm Re}\,U_{nm}^{\ell J}
\bigr) + 2d_{\ell J}\bigl[1-\cos(2\phi_\ell)
\bigr]\Bigr\} \,\,,\\
\sigma_n&=&{\frac{\pi}{k^2}}\sum_\ell\sum_J
g_J \Bigl\{ | 1-U_{nn}^{\ell J} |^2
+ 2d_{\ell J}\bigl[1-\cos(2\phi_\ell) \Bigr]
\,\,,\\
\sigma_f&=&{\frac{4\pi}{k^2}}\sum_\ell\sum_J
g_J \sum_c |{\cal I}_{nc}^{\ell J} |^2 \,\,,\;\hbox{and}\\
\sigma_\gamma&=&\sigma_t-\sigma_n-\sigma_f \,\,,
\end{eqnarray}
\noindent where ${\cal I}_{nc}$ is an element of the inverse of the
complex R-matrix\index{R-matrix} and
\begin{equation}
U_{nn}^{\ell J}={\rm e}^{2i\phi_\ell}\,
\Bigl[ \,2{\cal I}_{nn}-1\, \Bigr] \,\,.
\label{ufun}
\end{equation}
\noindent The elements of the R-matrix are given by
\begin{equation}
R_{nc}^{\ell J}=\delta_{nc}
-{\frac{i}{2}}\sum_r {{\Gamma_{nr}^{1/2}\Gamma_{cr}^{1/2}}
\over{E_r-E-{\frac{i}{2}}\Gamma_{\gamma r}}}\,\,.
\end{equation}
\vspace{0.5 pt}
\noindent In these equations, ``c'' stands for the fission channel, ``r''
indexes the resonances belonging to spin sequence ($\ell,J$), and
the other symbols have the same meanings as for SLBW or MLBW. Of
course, when fission is not present, $\sigma_f$ can be ignored.
The R-matrix reduces to an R-function\index{R-function}, and
the matrix inversion normally required to get ${\cal I}_{nn}$
reduces to a simple inversion of a complex number.
As in the MLBW\index{Multi-Level Breit-Wigner!MLBW} case, the
summation over $J$ runs from
\begin{equation}
||I-\ell|-\frac{1}{2}| \rightarrow I+\ell+\frac{1}{2} \,\,.
\end{equation}
\noindent The term $d_{\ell J}$ in the expressions for the total and
elastic cross sections is used to account for the possibility
of an additional contribution to the potential scattering
cross section from the second channel spin. It is unity
if there is a second $J$ value equal to $J$, and zero otherwise.
This is just a slightly different approach for making the
correction discussed in connection with Eq.~(\ref{missing}).
Returning to the $I{=}1$, $\ell{=}1$ example given above,
$d$ will be one for $J{=}1/2$ and $J{=}3/2$, and it will
be zero for $J{=}5/2$.
ENDF-6 format RM evaluations can contain a parameter
LAD that indicates that these parameters can be used to compute an
angular distribution\index{resonance angular distributions}
for elastic scattering if desired (an approximate angular
distribution is still given in File 4 for these cases). The
current version of RECONR has such a capability, and it can
be used with RM\index{Reich-Moore!RM} evaluations. Because of channel-spin
issues, it works best with RML\index{Reich-Moore-Limited!RML} evaluations.
See below for a discusion of angular distributions.
\paragraph{Hybrid R-Function Representation (HRF)}\index{Hybrid R-Function}
The Hybrid R-Function representation\index{Hybrid R-Function!HRF} treats
elastic scattering as a multi-level
cross section using formulas similar to those given above
for the Reich-Moore\index{Reich-Moore!RM} format
in the case where fission is absent. The other reactions are
treated with formulas similar to those of the SLBW\index{Single-Level
Breit-Wigner!SLBW} method. The main use for this format is to provide a better
representation of competitive reactions than is
provided by any of the other formats described above. This
treatment can include a background R-function, tabulated
charged-particle penetrabilities, and optical model phase
shifts. Following the RM notation, the elastic cross
section is given by
\begin{equation}
\sigma_n={\frac{\pi}{k^2}}
\sum_\ell \sum_{s=|I-\frac{1}{2}|}^{I+\frac{1}{2}}
\sum_{J=|l-s|}^{l+s}
g_J | 1-U_{nn}^{\ell sJ} |^2\,\,,\\
\end{equation}
where the $U$ function is given by the scalar version of
Eq.~(\ref{ufun}):
\begin{equation}
U_{nn}^{\ell sJ}={\rm e}^{2i\phi_\ell}\,
\Bigl[\,\frac{2}{R^{\ell sJ}_{nn}}-1\, \Bigr] \,\,.
\end{equation}
The R-function\index{R-function} itself is given by
\begin{equation}
R_{nn}^{\ell sJ}=1
-{\frac{i}{2}}\sum_r {{\Gamma_{nr}}\over
{E_r-E-{\frac{i}{2}}\Gamma_{\gamma r}}}
-i\,P_{\ell sJ}R^0_{\ell sJ}\,\,,
\end{equation}
where $R^0_{\ell sJ}$ is a (complex) background R function and
$P_{\ell sJ}$ is a penetrability factor. The background R
function can either be read in or set to zero. The penetrability
and shift factors are computed from the scattering radius or
channel radius as for SLBW\index{Single-Level Breit-Wigner!SLBW}. The phase
shifts $\phi_{\ell sJ}$ can be computed from the scattering radius
as before, or the (complex) phase shifts can be read in from
an optical model calculation.
Note that resonance parameters are given explicitly for all three
quantum numbers $\ell$, $s$, and $J$. No correction to the
potential scattering cross section from repeated $J$ values is
needed.
Elastic angular distributions can also be computed from HRF
parameters if the LAD parameter is set; however, RECONR does not
support that.
\paragraph{Reich-Moore-Limited Representaton (RML)}
\index{Reich-Moore-Limited} The Reich-Moore-Limited representation is a more
general multilevel and multichannel formulation. In addition to the
normal elastic, fission, and capture reactions, it allows for
inelastic scattering and Coulomb reactions. Furthermore,
it allows resonance angular distributions to be calculated.
It is also capable of computing derivatives of cross sections
with respect to resonance parameters. See
\hyperlink{sERRORRhy}{ERRORR}. The RML
processing in NJOY is based on the SAMMY code\cite{SAMMY}.
The calculation in RECONR makes use of several subroutines
exported by the \cword{samm} module;\index{modules!samm@{\ty samm}}
namely, \cword{s2sammy}, \cword{ppsammy}, \cword{rdsammy},
\cword{cssammy}, and \cword{desammy}.
\index{Reich-Moore-Limited!RML}
\index{SAMMY}
\index{ppsammy@{\ty ppsammy}}
\index{rdsammy@{\ty rdsammy}}
\index{cssammy@{\ty cssammy}}
\index{s2sammy@{\ty s2sammy}}
\index{desammy@{\ty desammy}}
The quantities that are conserved during neutron scattering and
reactions are the total angular momentum $J$ and its associated
parity $\pi$, and the RML format lumps all the channels with
a given $J^\pi$ into a ``spin group.''\index{spin group} In
each spin group, the reaction channels are defined by
$c=(\alpha,\ell,s,J)$, where $\alpha$ stands for the
particle pair (masses, charges, spins, parities, and Q-value),
$\ell$ is the orbital angular momentum with associated
parity $(-1)^\ell$, and $s$ is the channel spin (the
vector sum of the spins of the two particles of the pair). The
$\ell$ and $s$ values must vector sum to $J^\pi$ for the spin group.
The channels are divided into incident channels and exit
channels. Here, the important input channel is defined by the
particle pair neutron+target. There can be several such
incident channels in a given spin group. The exit channel
particle pair defines the reaction taking place. If the
exit channel is the same as the incident channel, the reaction
is elastic scattering. There can be several exit channels
that contribute to a given reaction.
The R-matrix\index{R-matrix} in the Reich-Moore ``eliminated width''
\index{eliminated width} approximation for a given spin group is
given by
\begin{equation}
R_{cc'}=\sum_\lambda \frac{\gamma_{\lambda c}\gamma_{\lambda c'}}
{E_\lambda-E-i\Gamma_{\lambda\gamma}/2}
+R_c^b\delta_{cc'}\,,
\label{rmtx}
\end{equation}
where $c$ and $c'$ are incident and exit channel indexes, $\lambda$
is the resonance index for resonances in this spin group,
$E_\lambda$ is a resonance energy, $\gamma_{\lambda c}$ is a
resonance amplitude, and $\Gamma_{\lambda\gamma}$ is the
``eliminated width,'' which normally includes all of the
radiation width (capture). The channel indexes runs over the
``particle channels'' only, which doesn't include capture.
The quantity $R_c^b$ is the ``background R-matrix.''
\index{background R-matrix}
In order to calculate the contribution of this spin group to the
cross sections, we first compute the following quantity:
\begin{equation}
X_{cc'}=P_c^{1/2}\,L_c^{-1} \sum_{c''} Y_{cc''}^{-1}
R_{c''c'}\,P_{c'}^{1/2} \,,
\label{xmtx}
\end{equation}
where
\begin{equation}
Y_{cc''}=L_c^{-1}\delta_{cc''}-R_{cc''} \,,
\end{equation}
and
\begin{equation}
L_c=S_c-B_c+iP_c \,.
\end{equation}
Here, the $P_c$ and $S_c$ are penetrability\index{penetrability
factor} and shift factors,\index{shift factor} and the $B_c$ are
boundary constants. The cross sections can now be written down
in terms of the $X_{cc'}$. For elastic scattering
\begin{equation}
\sigma_{elastic}=\frac{4\pi}{k_\alpha^2}\sum_{J^\pi}
\Bigl[\sin^2\phi_c(1-2X_{cc}^i) \nonumber\\
-X_{cc}^r\sin(2\phi_c)
+\sum_{c'}|X_{cc'}|^2\Bigr] \,,
\end{equation}
where $X_{cc'}^r$ is the real part of $X_{cc'}$, $X_{cc'}^i$ is
the imaginary part, $\phi_c$ is the phase shift, the sum over
\index{phase shifts}
$J^\pi$ is a sum over spin groups, the sum over $c$ is limited to
incident channels in the spin group with particle pair $\alpha$
equal to neutron+target, and the sum over $c'$ is limited to
exit channels in the spin group with particle pair $\alpha$.
Similarly, the capture cross section becomes