montepy.input_parser.shortcuts module#

Classes:

Shortcuts(*values)

Enumeration of the possible MCNP shortcuts.

class montepy.input_parser.shortcuts.Shortcuts(*values)#

Bases: Enum

Enumeration of the possible MCNP shortcuts.

Attributes:

INTERPOLATE

A linear interpolation.

JUMP

A jump entry, which counts as a default entry.

LOG_INTERPOLATE

A logarithmic interpolation.

MULTIPLY

a multiplication of the previous entry.

REPEAT

A repeated entry shortcut.

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.