montepy.input_parser.shortcuts module
- class montepy.input_parser.shortcuts.Shortcuts(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Enumeration of the possible MCNP shortcuts.
Added in version 0.2.0: This was added with the major parser rework.
- INTERPOLATE = 'i'
A linear interpolation.
- JUMP = 'j'
A jump entry, which counts as a default entry.
- LOG_INTERPOLATE = 'ilog'
A logarithmic interpolation.
- MULTIPLY = 'm'
a multiplication of the previous entry.
- REPEAT = 'r'
A repeated entry shortcut.