montepy.surfaces.surface_builder.parse_surface#

montepy.surfaces.surface_builder.parse_surface(input: Input | str)#

Builds a Surface object for the type of Surface

Parameters:

input (Union[Input, str]) – The Input object representing the input

Returns:

A Surface object properly parsed. If supported a sub-class of Surface will be given.

Return type:

Surface