parse_surface#

montepy.surfaces.surface_builder.parse_surface(input: Input | str, problem=None, *, jit_parse: bool = True)#

Builds a Surface object for the type of Surface

Parameters:
  • input (Input | str) – The Input object representing the input

  • jit_parse (bool)

Returns:

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

Return type:

Surface