montepy.input_parser.mcnp_input.Message#
- class montepy.input_parser.mcnp_input.Message(input_lines, lines)#
Bases:
ParsingNodeObject to represent an MCNP message.
These are blocks at the beginning of an input that are printed in the output.
- Parameters:
Methods:
format_for_mcnp_input(mcnp_version)Creates a string representation of this input that can be written to file.
Attributes:
The lines of the input read straight from the input file
The lines of input for the message block.
- format_for_mcnp_input(mcnp_version)#
Creates a string representation of this input that can be written to file.
- property input_text#