PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
◆ set_integer_list_from_option()
Use a command-line option -option to set a parameter that is a list of integers. The length of the list given as an argument to the command-line option has to be the same as the length of the default value of the parameter unless the length of the default value is less than 2. This default value length is used to disable this check. Definition at line 552 of file ConfigInterface.cc. References CONFIG_USER, pism::Config::doc(), pism::Config::FORGET_THIS_USE, pism::RuntimeError::formatted(), pism::Config::get_numbers(), pism::options::Option< T >::is_set(), PISM_ERROR_LOCATION, pism::Config::set_numbers(), and pism::options::Option< T >::value(). |