#include <memory>
#include <set>
#include <map>
#include <string>
#include <vector>
#include <utility>
#include <mpi.h>
#include "pism/util/Units.hh"
Go to the source code of this file.
|
Config::Ptr | pism::config_from_options (MPI_Comm com, const Logger &log, units::System::Ptr unit_system) |
| Create a configuration database using command-line options.
|
|
void | pism::set_config_from_options (units::System::Ptr unit_system, Config &config) |
| Set configuration parameters using command-line options.
|
|
void | pism::set_parameter_from_options (units::System::Ptr unit_system, Config &config, const std::string &name) |
| Set one parameter using command-line options.
|
|
void | pism::set_flag_from_option (Config &config, const std::string &option, const std::string ¶meter_name) |
| Get a flag from a command-line option.
|
|
void | pism::set_number_from_option (units::System::Ptr unit_system, Config &config, const std::string &option, const std::string ¶meter) |
| Sets a configuration parameter from a command-line option.
|
|
void | pism::set_string_from_option (Config &config, const std::string &option, const std::string ¶meter) |
| Set one free-form string parameter using command-line options.
|
|
void | pism::set_keyword_from_option (Config &config, const std::string &option, const std::string ¶meter, const std::string &choices) |
| Set a keyword parameter from a command-line option.
|
|
void | pism::print_config (const Logger &log, int verbosity_threshhold, const Config &config) |
| Report configuration parameters to stdout .
|
|
void | pism::print_unused_parameters (const Logger &log, int verbosity_threshhold, const Config &config) |
| Report unused configuration parameters to stdout .
|
|