-
Notifications
You must be signed in to change notification settings - Fork 6
/
matxsx.tex
2015 lines (1856 loc) · 90.8 KB
/
matxsx.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{MATXSR}
\label{sMATXSR}
\index{MATXSR|textbf}
\hypertarget{sMATXSRhy}{The}
MATXS\index{MATXS format} material cross section format is
a generalized CCCC-type\index{CCCC format} interface format for
neutron, photon, and charged-particle data, including cross sections,
group-to-group matrices, temperature variations, self-shielding,
and time-dependence. The CCCC standards are discussed in more
detail in the CCCCR chapter of this manual and in the
CCCC-III\index{CCCC format!CCCC-III} and CCCC-IV\index{CCCC format!CCCC-IV}
reports\cite{CCCC3,CCCC4}. MATXS libraries
can be used with the TRANSX\index{TRANSX} code\cite{TRANSX,TRANSX2}
to produce effective cross sections for a wide variety of application
codes.
This chapter describes the MATXSR module in NJOY2016.0.
\subsection{Background}
\label{ssMATXSR_back}
Even the very best nuclear cross section processing code would be useless
if it were unable to deliver its products to users. This is the role of
the interface file. There have been interface files since the beginning
of calculational neutronics; examples include the DTF format (see the
\hyperlink{sDTFRhy}{DTFR} chapter of this manual) that was devised
for the early discrete-ordinates transport code DTF-IV\cite{DTF},
\index{DTF format} and the CCCC ISOTXS\index{ISOTXS}
format\cite{CCCC4} (see the \hyperlink{sCCCCRhy}{CCCCR}
section of this manual). Both of these interface formats are still
in use today, but both of them have problems and show their age. Some
of these problems result from the increase in the capabilities of
computer systems (capabilities that allow us to consider much more
complex problems), some arise from the many new kinds of nuclear systems
that are being studied today, and some come from 20/20 hindsight, which
makes it easy to see the design flaws in earlier formats.
Based on the problems seen with existing interface files, an
ideal interface file should be
\begin{description}
\begin{singlespace}
\item[extendable,]
so that new cross section types, new incident or secondary particle
types, or new energy ranges are easy to add without changing the
basic format;
\item[comprehensive,]
in order to be able to handle as many of the kinds of data produced
by the processing code as possible (results should not be lost just
because there are no places for them);
\item[generalizable,]
to allow common methods to be used for similar kinds of data (for
example, $nn$ matrices and $\gamma\gamma$ matrices) in order
to transfer the experience gained in one field to another, and in
order to simplify coding by allowing components to be reused;
\item[self-contained,]
because it should not be necessary to provide additional information
that is not in the file in order to use or interpret the file;
\item[compact,]
because nuclear data often have many zeros or very small numbers in
tables (for example, threshold reactions, scattering matrices),
and these zeros must be removed effectively for economic storage
and fast transfer of libraries; and
\item[efficient,]
thus implying that binary mode should be used, that the records have
a well-defined maximum size, and that there is a minimum number of
records to reduce the number of I/O operations.
\end{singlespace}
\end{description}
Comparing the DTF format to these principles gives the following
results: it is fairly {\it extendable} because it has no fixed
particles, energy limits, or reaction types; it is not very {\it
comprehensive} because it can only transmit the total scattering
matrix; it is fairly {\it generalizable} because of the lack of fixed
types; it is not at all {\it self-contained} in that it requires
outside definitions like table length, position of the total, group
structure, and identity of edit cross sections; it is not very {\it
compact} because most zeros must be given explicitly in the tables; and
it is not very {\it efficient} because it uses coded card-image
records.
Similarly, studying the ISOTXS format gives the following results: it
is not {\it extendable} because it works for neutrons only and allows
only very limited types of reactions to be included; it is not {\it
comprehensive} because it works for neutrons only and allows only very
limited types of reactions to be included; it is not {\it
generalizable} because of its specialization to fast-reactor problems
(as proof, note that the CCCC files for $\gamma$ cross sections use
completely different formats); it is reasonably {\it self-contained}
because all the parameters are internal, the group structure is given,
and all names needed for labeling an interpreted listing are well
determined; it is fairly {\it compact} because many zeros are removed
(but too many still remain); it is fairly {\it efficient} because it
uses binary mode, but record sizes are poorly predictable and very
nonuniform, thereby needlessly increasing the size of application codes
and the number of I/O operations.
\subsection{The MATXS Format}
\label{ssMSTXSR_format}
Following these general principles, the MATXS material cross section
file was designed to extend and generalize the existing interface
formats while still using the CCCC approach for efficiency and
familiarity (see the \hyperlink{sCCCCRhy}{CCCCR} section of this
report for more details). The
first design principle was that all information would be identified
using lists of Hollerith names. As an example, if the list of reactions
included in the file contains entries such as \cword{nf}, \cword{ng},
and \cword{n2n}, it is trivial to add additional reactions such
as \cword{kerma} or \cword{dpa}. This approach is much more extendable
than the fixed set of reaction flags used in ISOTXS. The second design
principle was that the file would be designed to hold sets of vectors
and rectangular matrices and that the same format would be used
regardless of the contents of the vectors and matrices. As a
consequence, once a code can handle $n{\rightarrow}n$, it can also
handle $\gamma{\rightarrow}\gamma$; once a code can handle
$n{\rightarrow}\gamma$, it can also handle $\gamma{\rightarrow}n$,
$n{\rightarrow}\beta$, or even $d{\rightarrow}p$. This approach
is an example of generalization. Each material is now divided into
data types identified by input and output particle. As an example,
$n{\rightarrow}\gamma$ is a data type characterized by input particle
equals neutron, and output particle equals photon. The matrices for
this data type contain cross sections for producing photons in photon
group $\gamma$ due to reactions of neutrons in group $n$. The
vectors, if any, would contain photon production cross sections
versus neutron group. The use of completely general data types helps
make the format comprehensive.
The names for materials are written in the forms \cword{u235},
\cword{fe56}, \cword{tinat}, or \cword{h2a}. Note that ``\cword{nat}''
is used explicitly for elements; names like \cword{be} or \cword{c}
should be avoided. Suffixes ``\cword{a}'', ``\cword{b}'', or
``\cword{c}" are used to label different versions of a material in a
library. In order to keep names to six characters, isomers should be
identified by incrementing the ``thousands'' digit in the atomic number
field; for example, \cword{nb193a} would be the second version of
the first isomer of $^{93}$Nb. The standard names for MATXS particles
are given in Table~\ref{sparts}.
\index{MATXS!particle names}
\begin{table}[t]
\caption[Standard MATXSR particle names]{Standard Particle Names}
\begin{center}
\begin{tabular}{ll}
Name & Particle \\ \hline
\cword{n} & neutron \\
\cword{g} & gamma \\
\cword{p} & proton \\
\cword{d} & deuteron \\
\cword{t} & triton \\
\cword{h} & $^3$He nucleus \\
\cword{a} & alpha \\
\cword{b} & beta \\
\cword{r} & residual or recoil (heavier than $\alpha$) \\ \hline
\end{tabular}
\label{sparts}
\end{center}
\end{table}
The standard names for the data types (\cword{htype}) are mostly based
on these particle names; the use of the terms \cword{scat}, \cword{dk},
\cword{therm} are exceptions. Table~\ref{stypes} illustrates the scheme used.
\index{MATXS!data type names}
\begin{table}[b]
\caption[Standard MATXSR data-type names]{Standard Data-Type Names}
\begin{center}
\begin{tabular}{ll}
Name & Data Type \\ \hline
\cword{nscat} & neutron scattering \\
\cword{ng} & neutron-induced gamma production \\
\cword{np} & neutron-induced proton production \\
\cword{nr} & neutron-to-recoil matrix \\
\cword{gscat} & gamma scattering \\
\cword{pscat} & proton scattering \\
\cword{pn} & proton-induced neutron production \\
$\cdots$ & $\cdots$ \\
\cword{ntherm} & thermal scattering data \\
\cword{dkn} & delayed-neutron data \\
\cword{dkhg} & decay heat and gamma data \\
\cword{dkb} & decay beta data \\ \hline
\end{tabular}
\label{stypes}
\end{center}
\end{table}
Reactions names are constructed in MATXSR from the ENDF MT number, the
LR flag (if present), and the incident particle name. Examples of the
standard names are given in Tables~\ref{sname3}--\ref{sname11}.
\index{MATXS!reaction names} Note that the first \cword{n}
is omitted from the last three reactions in Table~\ref{sname3}. It
is implicit in the data-type name. This convention saves space in
the name for possible breakup products (see Table~\ref{sname4}).
The first \cword{n} is also implicit in the reactions of Table~\ref{sname4}.
No multiplicity is used in the breakup product strings in order to avoid
possible confusions with the discrete-level number; just count the
like letters to get the multiplicity. The names used for the most
common neutron absorption reactions are given in Table~\ref{sname5},
and the names used for the fission reactions are given in
Table~\ref{sname6}. MATXS libraries typically give the
total fission cross section and all the partial cross sections (when
available) in the vector blocks, but they do not give the total
fission matrix when the partial matrices are available.
\begin{table}[t]
\caption[MATXSR neutron emitting reaction names]{Simple Neutron-Emitting
Reactions}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{nelas} & 2 & neutron elastic scattering \\
\cword{nnonel} & 3 & neutron nonelastic (MT=1--MT=2) \\
\cword{ninel} & 4 & neutron inelastic sum (MT=51--91) \\
\cword{n2n} & 16 & (n,2n) \\
\cword{n3n} & 17 & (n,3n) \\
\cword{nna} & 22 & (n,n$'\alpha$) \\
\cword{nnp} & 28 & (n,n$'$p) \\
\cword{n01} & 51 & (n,n$_1$) \\
\cword{n02} & 52 & (n,n$_2$) \\
\cword{ncn} & 91 & (n,n$'$) to continuum \\ \hline
\end{tabular}
\label{sname3}
\end{center}
\end{table}
\begin{table}[b]
\caption[MATXSR breadkup reaction (LR flag) names]{Breakup Reactions (LR flags)}
\begin{center}
\begin{tabular}{llll}
Name & MT & LR & Description \\ \hline
\cword{n07a} & 57 & 22 & (n,n$_7$)$\alpha$ \\
\cword{n51p} & 65 & 28 & (n,n$_{15}$)p \\
\cword{n02aa} & 52 & 29 & (n,n$_2$)$2\alpha$ \\
\cword{ncnaaa} & 91 & 23 & (n,n$'$)$3\alpha$ \\
\cword{n06na} & 56 & 24 & (n,n$_5$)n$\alpha$ \\
\cword{n01ee} & 51 & 40 & (n,n$_1$)ee \\ \hline
\end{tabular}
\label{sname4}
\end{center}
\end{table}
\begin{table}[t]
\caption[MATXSR neutron absorption reaction names]{Neutron-Absorption Reactions}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{nabs} & 101 & total absorption \\
\cword{ng} & 102 & radiative capture \\
\cword{np} & 103 & (n,p) \\
\cword{na} & 107 & (n,$\alpha$) \\ \hline
\end{tabular}
\label{sname5}
\end{center}
\end{table}
\begin{table}[b]
\caption[MATXSR fission reaction names]{Fission Reactions}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{nftot} & 18 & total fission \\
\cword{nf} & 19 & (n,f) first-chance fission \\
\cword{nnf} & 20 & (n,n$'$f) second-chance fission\\
\cword{n2nf} & 21 & (n,n2f) third-chance fission\\
\cword{n3nf} & 38 & (n,n3f) fourth-chance fission\\
\cword{nudel} & 455 & delayed-neutron yield (MF=3) \\
\cword{chid} & 455 & delayed-neutron spectrum (MF=5) \\ \hline
\end{tabular}
\label{sname6}
\end{center}
\end{table}
Table~\ref{sname7} gives some additional reaction names, some of which
are special NJOY names. As discussed in the
\hyperlink{sGROUPRhy}{GROUPR}\index{GROUPR}
chapter of this report, the total cross section can be averaged with
the $\ell$th order of the flux to obtain the multigroup total
cross section components $\sigma_{t\ell,g}$. These total cross
section components and the corresponding Legendre fluxes are given
names like the first four shown in Table~\ref{sname7}. Related
names with first letters \cword{g}, \cword{p}, \cword{d}, {\it etc.},
will also be found in MATXS libraries. The average inverse velocities
are defined to preserve the time term of the time-dependent
Boltzmann equation:
\begin{equation}
\Big< \frac{1}{v} \Big> = \frac{\displaystyle\int_g
(1/v)\phi(E)\,dE}{\displaystyle\int_g \phi(E)\,dE} \,\,.
\end{equation}
\begin{table}[t]
\caption[Special MATXSR NJOY names]{Special NJOY Names}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{ntot0} & 1 & P$_0$ total cross section \\
\cword{ntot1} & 1 & P$_1$ total cross section \\
\cword{nwt0} & 1 & P$_0$ weight function (flux) \\
\cword{nwt1} & 1 & P$_1$ weight function (flux) \\
\cword{mubar} & 251 & scattering $\bar{\mu}$ \\
\cword{xi} & 252 & scattering $\xi$ \\
\cword{invel} & 259 & inverse velocity (sec/m) \\
\cword{heat} & 301 & energy-balance heat production \\
\cword{kerma} & 443 & kinematic KERMA factor \\
\cword{dame} & 444 & damage-energy production \\ \hline
\end{tabular}
\label{sname7}
\end{center}
\end{table}
\begin{table}[b]
\caption[MATXSR gas production names]{Gas-Production Reactions}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{n.neut} & 201 & total neutron production \\
\cword{n.gam} & 202 & total $\gamma$ production \\
\cword{n.h1} & 203 & hydrogen production \\
\cword{n.h3} & 205 & tritium production \\
\cword{n.HE4} & 207 & helium production \\ \hline
\end{tabular}
\label{sname8}
\end{center}
\end{table}
\noindent
The meaning of the terms energy-balance heat production and kinematic
KERMA\index{KERMA} factor are discussed in more detail in the
\hyperlink{sHEATRhy}{HEATR}\index{HEATR} chapter of this
manual. Briefly, the
energy-balance heating (\cword{mt}=301) is computed by subtracting the
energy carried away by neutrons and photons from the
energy available for a reaction. The result should be the energy
deposited by charged particles and the recoil nucleus, that is, the
local heating. Unfortunately, problems with the energy-balance
consistency of evaluations, the difficulty of determining the
available energy for elements, and the inaccuracy in the difference
between relatively large numbers sometimes cause this value to have
unphysical values (for example, negative heating). These values do
have the property of always conserving energy for large systems. The
kinematic value (\cword{mt}=443) is computed from reaction kinematics alone.
It is very accurate at low energies, but when three or more particles
are involved in the reaction, it begins to fail. The results in
\cword{kerma} are always larger than the correct heating value.
Comparing the two estimates for the local heating can reveal problems
in the evaluations\cite{ebal,KAOS5}. The MATXS user is free to
choose whichever number is more appropriate for the problem. The
reaction \cword{dame} is also generated using data from
\hyperlink{sHEATRhy}{HEATR}. As discussed in the
\hyperlink{sHEATRhy}{HEATR} section of this report, this ``damage-energy
production'' cross section can be used to obtain the DPA\index{DP}
(displacements per atom) parameter used in radiation damage studies.
The gas-production reaction names given in Table~\ref{sname8} can
also appear with other particle names before the decimal point. The
names for reactions induced by incident charged particles follow the
neutron names in most cases, except that the first letter is changed to
indicate the incident particle type. Discrete-level scattering
reactions are exceptions; \cword{n01} is used for both (n,n$_1$)
and (p,n$_1$). Also note the \cword{n00} cannot be used for
incident neutrons; the name \cword{nelas} is used instead. Similarly,
\cword{p00} is not used for incident protons.
As discussed in more detail below, scattering from thermal moderators
is treated like {\it materials} in ENDF/B libraries, but it is treated
like {\it reactions} on the GENDF files. The free-gas scattering
reaction can appear in any material, but the other thermal MT numbers
can only appear in the material corresponding to the dominant
scattering isotope. For example, \cword{hh2o} only appears in $^{1}$H.
There are two versions of \cword{zrhyd}; one appears in $^{1}$H and the
other in Zr. The coherent and incoherent terms in the thermal
cross section are kept separate for the convenience of applications;
all the coherent names end with \$. Note that MATXS files contain
two different representations for the scattering cross sections at
low energies:
\begin{description}
\begin{singlespace}
\item[static,] where the cross section and group-to-group matrix are
obtained from \cword{nscat}, which is derived from \cword{mt}=2 on the
ENDF evaluation. (This is scattering for ``static'' nuclei;
energy loss from recoil is included.); and
\item[thermal,] where the cross section and group-to-group matrix are
obtained from one of the thermal reactions in the \cword{ntherm}
data type. (The scattering nuclei are in motion with a distribution
described by the Maxwell-Boltzmann law; both energy loss and energy
gain events are possible.)
\end{singlespace}
\end{description}
\noindent
The TRANSX code gives the user the choice of static or thermal
scattering, and it also allows the user to choose which binding
state is desired for a particular moderator material.
\begin{table}[t]\small
\caption[MATXSR incident proton reaction names]{Incident-Proton Reactions}
\begin{center}
\begin{tabular}{lcl}
Name & MT & Description \\ \hline
\cword{pelas} & 2 & proton elastic scattering \\
\cword{p01} & 601 & discrete-level (p,p$_1$) scattering \\
\cword{n00} & 50 & discrete-level (p,n$_0$) \\
\cword{n01} & 51 & discrete-level (p,n$_1$) \\
\cword{p2n} & 16 & (p,2n) \\
\cword{pg} & 102 & (p,$\gamma$) \\
\cword{pt} & 104 & (p,t) \\ \hline
\end{tabular}
\label{sname9}
\end{center}
\end{table}
\index{MATXS!thermal cross sections}
\begin{table}[thb]\small
\caption[MATXSR thermal material names (ENDF/B-VII)]{Thermal Material Names
for ENDF/B-VII}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{free} & 221 & free-gas scattering \\
\cword{hh2o} & 222 & H in H$_2$O \\
\cword{poly} & 223 & H in polyethylene (CH$_2$) incoherent \\
\cword{poly\textdollar} & 224 & H in polyethylene (CH$_2$) coherent \\
\cword{hzrh} & 225 & H in ZrH incoherent \\
\cword{hzrh\textdollar} & 226 & H in ZrH coherent \\
\cword{benz} & 227 & Benzene incoherent \\
\cword{dd2o} & 228 & D in D$_2$O \\
\cword{graph} & 229 & C in graphite incoherent \\
\cword{graph\textdollar} & 230 & C in graphite coherent \\
\cword{be} & 231 & Be metal incoherent \\
\cword{be\textdollar} & 232 & Be metal coherent \\
\cword{bebeo} & 233 & Be in BeO incoherent\\
\cword{bebeo\textdollar} & 234 & Be in BeO coherent \\
\cword{zrzrh} & 235 & Zr in ZrH incoherent \\
\cword{zrzrh\textdollar} & 236 & Zr in ZrH coherent \\
\cword{obeo} & 237 & O in BeO incoherent \\
\cword{obeo\textdollar} & 238 & O in BeO coherent \\
\cword{ouo2} & 239 & O in UO$_2$ incoherent \\
\cword{ouo2\textdollar} & 240 & O in UO$_2$ coherent \\
\cword{uuo2} & 241 & U in UO$_2$ incoherent \\
\cword{uuo2\textdollar} & 242 & U in UO$_2$ coherent \\
\cword{al} & 243 & Al metal incoherent \\
\cword{al} & 244 & Al metal coherent \\
\cword{fe} & 245 & Fe metal incoherent \\
\cword{fe} & 246 & Fe metal coherent \\ \hline
\end{tabular}
\label{sname10}
\end{center}
\end{table}
The ENDF representation of photoatomic reactions was described in the
\hyperlink{sGAMINRhy}{GAMINR}\index{GAMINR} chapter. The
\cword{gheat} reaction, constructed in
\hyperlink{sGAMINRhy}{GAMINR}, represents the local heating from atomic
recoil and photo-electric electron production. Fluorescence
photons from photoelectric interactions are assumed to deposit their
energy locally.
\index{photoatomic}
\index{MATXS!photoatomic cross sections}
\begin{table}[t]\small
\caption[MATXSR photoatomic cross section names]{Photoatomic Cross Sections}
\begin{center}
\begin{tabular}{lll}
Name & MT & Description \\ \hline
\cword{gtot0} & 501 & P$_0$ total \\
\cword{gwt0} & 501 & P$_0$ weight function (flux) \\
\cword{gcoh} & 502 & coherent scattering \\
\cword{ginch} & 504 & incoherent scattering \\
\cword{gpair} & 516 & pair production $(\gamma,2\gamma)$ \\
\cword{gabs} & 522 & photoelectric absorption \\
\cword{gheat} & 525 & heating \\ \hline
\end{tabular}
\label{sname11}
\end{center}
\end{table}
\hyperlink{sGROUPRhy}{GROUPR} and MATXSR
are capable of supporting a new experimental
capability for generating nuclide production cross sections. This
capability is most useful for radionuclides and isomers, but it
is general enough to handle all the possible heavy products of a
nuclear reaction. The input GENDF file may contain several different
sections that produce a given nuclide. MATXSR
adds them up into a single named reaction. The naming convention
used for capture reactions is \cword{cZZAAA}, where Z and A are
the charge and mass numbers for the nuclide. Isomers are
handled by incrementing the first postion of the ``AAA''
field. Products of other reactions
are named using the pattern \cword{rZZAAA}, with the same convention
used for isomers. The reason that capture products are distinguished
from those from other reactions is that the former may have to be
self shielded.
The CCCC standards have always used 6-character Hollerith strings
for names. These kinds of names are represented as ``\cword{REAL*8}''
double precision variables on 32-bit machines (IBM, VAX, Sun, {\it etc.})
and as single-precision variables on 60- to 64-bit machines (CDC, Cray).
However, a double-precision variable on a short-word machine can
hold 8 characters. So can single-precision variables on CDC and
Cray machines. There do not seem to be any computer systems
currently in use that require 6-character words. Therefore, the
latest versions of the MATXS format and the MATXSR module
have been written to handle 8-character names.
The formal format specification for the MATXS material cross
section file follows, using the standard CCCC presentation
(except for the ! before the c):
\index{MATXS format}
\small
\begin{ccode}
! Standardized CCCC format listing for MATXS file
!c
!c**********************************************************************
!c proposed 09/09/77
!c (modified 09/80)
!c (nomenclature changed 06/88)
!c (modified for const sub-blocks 06/90)
!c (ordering changed 10/90)
!c c (bcd format changed 12/21/91)
!c
!cf matxs
!ce material cross section file
!c
!cn this file contains cross section
!cn vectors and matrices for all
!cn particles, materials, and reactions;
!cn delayed neutron spectra by time group;
!cn and decay heat and photon spectra.
!c
!cn formats given are for file exchange only
!c
!c**********************************************************************
!c
!c
!c----------------------------------------------------------------------
!cs file structure
!cs
!cs record type present if
!cs ============================== ===============
!cs file identification always
!cs file control always
!cs set hollerith identification always
!cs file data always
!cs
!cs *************(repeat for all particles)
!cs * group structures always
!cs *************
!cs
!cs *************(repeat for all materials)
!cs * material control always
!cs *
!cs * ***********(repeat for all submaterials)
!cs * * vector control n1db.gt.0
!cs * *
!cs * * *********(repeat for all vector blocks)
!cs * * * vector block n1db.gt.0
!cs * * *********
!cs * *
!cs * * *********(repeat for all matrix blocks)
!cs * * * matrix control n2d.gt.0
!cs * * *
!cs * * * *******(repeat for all sub-blocks)
!cs * * * * matrix sub-block n2d.gt.0
!cs * * * *******
!cs * * *
!cs * * * constant sub-block jconst.gt.0
!cs * * *
!cs *************
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr file identification
!c
!cl hname,(huse(i),i=1,2),ivers
!c
!cw 1+3*mult
!c
!cb format(4h 0v ,a8,1h*,2a8,1h*,i6)
!c
!cd hname hollerith file name - matxs - (a8)
!cd huse hollerith user identifiation (a8)
!cd ivers file version number
!cd mult double precision parameter
!cd 1- a8 word is single word
!cd 2- a8 word is double precision word
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr file control
!c
!cl npart,ntype,nholl,nmat,maxw,length
!c
!cw 6
!c
!cb format(6h 1d ,6i6)
!c
!cd npart number of particles for which group
!cd structures are given
!cd ntype number of data types present in set
!cd nholl number of words in set hollerith
!cd identification record
!cd nmat number of materials on file
!cd maxw maximum record size for sub-blocking
!cd length length of file
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr set hollerith identification
!c
!cl (hsetid(i),i=1,nholl)
!c
!cw nholl*mult
!c
!cb format(4h 2d /(9a8))
!c
!cd hsetid hollerith identification of set (a8)
!cd (to be edited out 72 characters per line)
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr file data
!c
!cl (hprt(j),j=1,npart),(htype(k),k=1,ntype),(hmatn(i),i=1,nmat),
!cl 1(ngrp(j),j=1,npart),(jinp(k),k=1,ntype,(joutp(k),k=1,ntype),
!cl 2(nsubm(i)i=1,nmat),(locm(i),i=1,nmat)
!c
!cw (npart+ntype+nmat)*mult+2*ntype+npart+2*nmat
!c
!cb format(4h 3d ,4x,8a8/(9a8)) hprt,htype,hmatn
!cb format(12i6) ngrp,jinp,joutp,nsubm,locm
!c
!cd hprt(j) hollerith identification for particle j
!cd n neutron
!cd g gamma
!cd p proton
!cd d deuteron
!cd t triton
!cd h he-3 nucleus
!cd a alpha (he-4 nucleus)
!cd b beta
!cd r residual or recoil
!cd (heavier than alpha)
!cd htype(k) hollerith identification for data type k
!cd nscat neutron scattering
!cd ng neutron induced gamma production
!cd gscat gamma scattering
!cd pn proton induced neutron production
!cd . .
!cd . .
!cd . .
!cd dkn delayed neutron data
!cd dkhg decay heat and gamma data
!cd dkb decay beta data
!cd hmatn(i) hollerith identification for material i
!cd ngrp(j) number of energy groups for particle j
!cd jinp(k) type of incident particle associated with
!cd data type k. for dk data types, jinp is 0.
!cd joutp(k) type of outgoing particle associated with
!cd data type k
!cd nsubm(i) number of submaterials for material i
!cd locm(i) location of material i
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr group structure
!c
!cl (gpb(i),i=1,ngr),emin
!c
!cc ngr=ngrp(j)
!c
!cw ngrp(j)+1
!c
!cb format(4h 4d ,8x,1p,5e12.5/(6e12.5))
!c
!cd gpb(i) maximum energy bound for group i for particle j
!cd emin minimum energy bound for particle j
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr material control
!c
!cl hmat,amass,(temp(i),sigz(i),itype(i),n1d(i),n2d(i),
!cl 1locs(i),i=1,nsubm)
!c
!cw mult+1+6*nsubm
!c
!cb format(4h 5d ,a8,1p,2e12.5/(2e12.5,5i6))
!c
!cd hmat hollerith material identifier
!cd amass atomic weight ratio
!cd temp ambient temperature or other parameters for
!cd submaterial i
!cd sigz dilution factor or other parameters for
!cd submaterial i
!cd itype data type for submaterial i
!cd n1d number of vectors for submaterial i
!cd n2d number of matrix blocks for submaterial i
!cd locs location of submaterial i
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr vector control
!c
!cl (hvps(i),i=1,n1d),(nfg(i),i=1,n1d),(nlg(i),i=1,n1d)
!c
!cw (mult+2)*n1d
!c
!cb format(4h 6d ,4x,8a8/(9a8)) hvps
!cb format(12i6) iblk,nfg,nlg
!c
!cd hvps(i) hollerith identifier of vector
!cd nelas neutron elastic scattering
!cd n2n (n,2n)
!cd nnf second chance fission
!cd gabs gamma absorption
!cd p2n protons in, 2 neutrons out
!cd . .
!cd . .
!cd . .
!cd nfg(i) number of first group in band for vector i
!cd nlg(i) number of last group in band for vector i
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr vector block
!c
!cl (vps(i),i=1,kmax)
!c
!cc kmax=sum over group band for each vector in block j
!c
!cw kmax
!c
!cb format(4h 7d ,8x,1p,5e12.5/(6e12.5))
!c
!cd vps(i) data for group bands for vectors in block j.
!cd block size is determined by taking all the group
!cd bands that have a total length less than or equal
!cd to maxw.
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr scattering matrix control
!c
!cl hmtx,lord,jconst,
!cl 1(jband(l),l=1,noutg(k)),(ijj(l),l=1,noutg(k))
!c
!cw mult+2+2*noutg(k)
!c
!cb format(4h 8d ,4x,a8/(12i6)) hmtx,lord,jconst,
!cb jband,ijj
!c
!cd hmtx hollerith identification of block
!cd lord number of orders present
!cd jconst number of groups with constant spectrum
!cd jband(l) bandwidth for group l
!cd ijj(l) lowest group in band for group l
!c
!c----------------------------------------------------------------------
!c
!c
!c----------------------------------------------------------------------
!cr scattering sub-block
!c
!cl (scat(k),k=1,kmax)
!c
!cc kmax=lord times the sum over all jband in the group range of
!cc this sub-block
!c
!cb format(4h 9d ,8x,1p,5e12.5/(6e12.5))
!c
!cw kmax
!c
!cd scat(k) matrix data given as bands of elements for initial
!cd groups that lead to each final group. the order
!cd of the elements is as follows: band for p0 of
!cd group i, band for p1 of group i, ... , band for p0
!cd of group i+1, band for p1 of group i+1, etc. the
!cd groups in each band are given in descending order.
!cd the size of each sub-block is determined by the
!cd total length of a group of bands that is less than
!cd or equal to maxw.
!cd
!cd if jconst.gt.0, the contributions from the jconst
!cd low-energy groups are given separately.
!c
!c----------------------------------------------------------------------
!c
!c
!c
!c----------------------------------------------------------------------
!cr constant sub-block
!c
!cl (spec(l),l=1,noutg(k)),(prod(l),l=l1,ning(k))
!c
!cc l1=ning(k)-jconst+1
!c
!cw noutg(k)+jconst
!c
!cb format(4h10d ,8x,1p,5e12.5/(6e12.5))
!c
!cd spec normalized spectrum of final particles for initial
!cd particles in groups l1 to ning(k)
!cd prod production cross section (e.g., nu*sigf) for
!cd initial groups l1 through ning(k)
!cd
!cd this option is normally used for the energy-independent
!cd neutron and photon spectra from fission and radiative
!cd capture usually seen at low energies.
!c
!c----------------------------------------------------------------------
\end{ccode}
\normalsize
\vspace{6 pt}
The MATXS format is intended to communicate multigroup cross sections
and matrices for all reaction types, incident particles, and outgoing
particles from a nuclear data processing code to applications. It
also includes temperature and self-shielding effects, delayed-neutron
data, and a limited format for decay heat and delayed photon or particle
emission. As shown in the ``File Structure'' presentation above, the
main loop is over material. Materials are subdivided into submaterials,
which usually correspond to different data types, temperatures, and
background cross section ($\sigma_0$) values. Each submaterial can
contain a series of ``Vector Blocks'' giving cross section versus energy
for one of the allowed group structures and incident particles, and it
can contain a series of matrix blocks and subblocks giving the cross
sections for group-to-group transfers.
The ``File Identification'' record is the same for all CCCC files. It
gives the Hollerith name for the file (which is always \cword{matxs}),
a version number \cword{ivers}, which can be used to distinguish
between different libraries in this format, and a Hollerith
identification string \cword{huse}, which can be used for entries
like ``\cword{T2 LANL NJOY}''.
The ``File Control'' record contains parameters that are needed to
compute the lengths of the following records. The meaning of the
various names is well explained in the format specification, and the
values of the parameters are obtained from the user's input.
The purpose of \cword{maxw} is to tell application codes how much
memory they will need to read through the records on these MATXS files.
It is used for both vector blocks and matrix subblocks when deciding
how to break them up. The MATXSR value is 5000 words. The code tries
to make as many records as possible that have nearly this size in order
to minimize the number of I/O operations. The parameter \cword{length} is
used to help find the end of the file when appending a new material
to an existing file. Its units are left unspecified in the format.
It is usually the length in records, in which case record skipping
can be used to find the end. Or it could be the length in words on
computer systems that allow direct word-addressed I/O operations
(this used to be possible using CTSS on Cray computers).
The ``Set Hollerith Identification'' record comes next. It contains
an arbitrary amount of Hollerith text to describe the contents of the
library. The description comes from the user's input.
The ``File Data'' record contains a number of important arrays that
define the structure of data types and the location of materials. The
parameter \cword{hprt} contains the standard names for the \cword{npart}
particles. The standard names for particles were discussed above. The
standard names for the data types and materials (\cword{htype} and
\cword{hmatn}) were also discussed above. The next three parameters
are used to complete the specification of the data types included in
this MATXS library. \cword{ngrp} just gives the number of groups used
for each particle type; for example, the traditional Los Alamos
30$\times$12 library (with 30 neutron groups and 12 photon groups)
would have \cword{ngrp(1)}=30 and \cword{ngrp(2)}=12. Using the same
example, the \cword{nscat} data type would have \cword{jinp(1)}=1
and \cword{joutp(1)}=1; the \cword{ng} data type would have
\cword{jinp(2)}=1 and \cword{joutp(2)}=2; and the \cword{gscat} data
type would have \cword{jinp(3)}=2 and \cword{joutp(3)}=2. The
information for these 6 arrays is given in the user's input.
The final two parameters in the ``File Data'' record are
\cword{nsubm} and \cword{locm}. The value of \cword{nsubm} depends
on the number of data types, the number of temperatures, and
the number of background cross sections found on the input
GENDF tapes. The value for \cword{locm(i)} is usually the record
index for material \cword{i}. A code can then jump directly to a desired
material using record skipping (forward or backward). However, the
units for \cword{locm} have been left unspecified to allow direct
random access for systems that use word-addressable random-access
I/O operations.
The ``Group Structure'' records give the energy bounds for
\cword{npart} group structures. Following the normal convention for
application codes, the energy bounds are given in the order of
decreasing energy. The numbers are obtained from \cword{mf}=1,
\cword{mt}=451 on the GENDF tape. The \hyperlink{sGROUPRhy}{GROUPR}
module currently uses one group structure for
all particles (n, p, $\alpha$, {\it etc.}), and another for photons ($\gamma$).
Inside the material loop, there is a ``Material Control'' record for
each material. The choice of names for \cword{hmat} was discussed above.
The \cword{amass} parameter is the same as the ENDF AWR parameter;
that is, it is the ratio of the target mass to the neutron mass.
Temperatures \cword{temp} are given in degrees Kelvin, and background
cross sections for self-shielding codes (\cword{sigz}, or $\sigma_0$)
are given in barns. The parameter \cword{itype} tells which data-type
each submaterial belongs to using the data type codes defined by
\cword{htype}. Although it is not specified in the format description,
the order that MATXSR loops through
submaterials is as follows:
the outer loop is over data type, the next loop is over temperature,
and the innermost loop is over background cross section. The number of
cross section vector reactions and matrix reactions for each submaterial
are given in \cword{n1d} and \cword{n2d}. Finally, \cword{locs(i)}
normally gives the record index for submaterial \cword{i}. A code can
search the arrays \cword{temp}, \cword{sigz}, and \cword{itype} for a
desired submaterial, and then jump right to the desired submaterial
using record skipping. Alternatively, a version that uses word
addresses in \cword{locs} could use random-access methods to jump to
the desired submaterial.
Each submaterial that contains vectors (\cword{n1d}$>$0) starts with a
``Vector Control'' record. This record gives a list of reaction names
in \cword{hvps}. MATXSR constructs these
reaction names automatically
based on the MT number, ENDF ``LR flag'' (if any), and the incident
particle type. Examples of these names were given above. The
parameters \cword{nfg} and \cword{nlg} are used to remove unnecessary
leading or trailing zeros in reaction cross section vectors. The zeroes
are usually due to thresholds. For example, an (n,2n) reaction might only
have nonzero cross sections for groups 1 through 5 out of an 80-group
structure. Storing only the 5-element band will save 75 words on the
MATXS file. Even with the zeros removed, the number of words of vector
cross section data for a submaterial can be quite large. Therefore,
the MATXS format provides a way to break the vector data into a number
of vector blocks. The idea is to sum up the bandwidths for each
reaction (that is, \cword{nlg(i)}-\cword{nfg(i)}+1) in order to find the
largest number of reactions that will fit within a block of length
less than or equal to \cword{maxw}. The data for this block are
written to the output file, and then the next group of reactions is
found. This continues until all the vector data have been written out
as a series of ``Vector Block'' records with lengths less than
\cword{maxw} (5000 words in MATXSR). This method minimizes
the number of records on the file while allowing the application codes
that read MATXS libraries to allocate space for reading the records
economically.
Most submaterials will contain \cword{n2b} ``Scattering Matrix Control''
records. The convention for the reaction names used in \cword{hmtx}
were discussed above. \cword{lord} gives the {\it number} of
Legendre orders present for this reaction; that is, \cword{lord}=4
for a P$_3$ matrix. Matrices are compacted for efficient storage
and data transfer using two techniques. First, unnecessary leading
and trailing zeros for group-to-group transfers into a particular
final group are removed by banding. \cword{jband(i)} gives the
number of incident groups in the band for final group \cword{i},
and \cword{ijj(i)} gives the group index for the lowest-energy group
(highest group index) in the band for group \cword{i}. For example,
consider an isotropic (n,2n) reaction with a threshold in group 3 of a
30-group structure. The values for \cword{jband} and \cword{ijj}
for group 20 might well be 3 and 3, respectively. That is, groups
1 through 3 scatter into group 20. The order of storage for this
matrix would be as follows:
\begin{center}
\begin{tabular}{cccc}
Band & Element & \cword{jband} & \cword{ijj} \\ \hline
1 & 1$\rightarrow$1 & 1 & 1 \\
2 & 2$\rightarrow$2 & 2 & 2 \\
& 1$\rightarrow$2 & & \\
3 & 3$\rightarrow$3 & 3 & 3 \\
& 2$\rightarrow$3 & & \\
& 1$\rightarrow$3 & & \\
4 & 3$\rightarrow$4 & 3 & 3 \\
& 2$\rightarrow$4 & & \\
& 1$\rightarrow$4 & & \\
$\cdots$ & $\cdots$ & & \\ \hline