PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ deprecated()

void pism::options::deprecated ( const std::string &  old_name,
const std::string &  new_name 
)

Stop if an option old_name is set, printing a message that new_name should be used instead.

Definition at line 196 of file options.cc.

References ALLOW_EMPTY, pism::RuntimeError::formatted(), pism::options::Option< T >::is_set(), and PISM_ERROR_LOCATION.

Referenced by pism::set_config_from_options().