Module endf

Source
Expand description

Evaluated Nuclear Data File (ENDF) module.

The endf module provides convenient structs/enums/functions/implementations for dealing with ASCII ENDF-6 formatted files.

§Records

All records available in ENDF-6 format are available:

§Parsing

A low level API is available for parsing standard ENDF-6 format primitives:

A mid level API is available for standard partial record parsing:

A high level API available through the EndfReader struct.

§References

Trkov, A., Herman, M., & Brown, D. A. (2012). ENDF-6 formats manual. Brookhaven National Laboratory, 80.

Structs§

Cont
ENDF CONT record.
EndfReader
Reader specialized for ENDF format files.
Intg
ENDF INTG record.
List
ENDF LIST record.
ParseEndfFloatError
Error returned when parsing an ENDF float with parse_endf_float fails.
ParseEndfIntegerError
Error returned when parsing an ENDF integer with parse_endf_integer fails.
Tab1
ENDF TAB1 record.
Tab2
ENDF TAB2 record.
Text
ENDF TEXT record.

Enums§

EndfError
The error type for endf module.

Functions§

parse_cont
Parse ENDF CONT record.
parse_control_numbers
Parse ENDF record control numbers.
parse_endf_float
Parse ENDF float.
parse_endf_integer
Parse ENDF integer.
parse_file
Parse ENDF MF file control number in record.
parse_float
Parse ENDF float at specified column in record.
parse_integer
Parse ENDF integer at specified column in record.
parse_material
Parse ENDF MAT material control number in record.
parse_section
Parse ENDF MT section control number in record.
parse_sequence
Parse ENDF optional NS sequence control number in record.
parse_text
Parse ENDF TEXT record.