PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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().