PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ string_to_spacing()

VerticalSpacing pism::grid::string_to_spacing ( const std::string &  keyword)

Convert an STL string to SpacingType.

Definition at line 962 of file Grid.cc.

References EQUAL, pism::RuntimeError::formatted(), PISM_ERROR_LOCATION, and QUADRATIC.

Referenced by pism::grid::Parameters::Parameters(), and pism::grid::Parameters::vertical_grid_from_options().