PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Namespaces | Functions
ConfigInterface.cc File Reference
#include <mpi.h>
#include <cmath>
#include <climits>
#include <cstdlib>
#include "pism/util/io/File.hh"
#include "pism/util/ConfigInterface.hh"
#include "pism/util/Units.hh"
#include "pism/util/pism_utilities.hh"
#include "pism/util/pism_options.hh"
#include "pism/util/error_handling.hh"
#include "pism/util/io/IO_Flags.hh"
#include "pism/util/Config.hh"
#include "pism/util/Logger.hh"

Go to the source code of this file.

Classes

struct  pism::Config::Impl
 

Namespaces

 pism
 

Functions

static bool pism::special_parameter (const std::string &name)
 
void pism::print_config (const Logger &log, int verbosity_threshhold, const Config &config)
 Report configuration parameters to stdout. More...
 
void pism::print_unused_parameters (const Logger &log, int verbosity_threshhold, const Config &config)
 Report unused configuration parameters to stdout. More...
 
void pism::set_flag_from_option (Config &config, const std::string &option, const std::string &parameter_name)
 Get a flag from a command-line option. More...
 
void pism::set_number_from_option (units::System::Ptr unit_system, Config &config, const std::string &name, const std::string &parameter)
 Sets a configuration parameter from a command-line option. More...
 
void pism::set_number_list_from_option (Config &config, const std::string &option, const std::string &parameter)
 
void pism::set_integer_list_from_option (Config &config, const std::string &option, const std::string &parameter)
 
void pism::set_integer_from_option (Config &config, const std::string &name, const std::string &parameter)
 
void pism::set_string_from_option (Config &config, const std::string &option, const std::string &parameter)
 Set one free-form string parameter using command-line options. More...
 
void pism::set_keyword_from_option (Config &config, const std::string &name, const std::string &parameter, const std::string &choices)
 Set a keyword parameter from a command-line option. More...
 
void pism::set_parameter_from_options (units::System::Ptr unit_system, Config &config, const std::string &name)
 Set one parameter using command-line options. More...
 
void pism::set_config_from_options (units::System::Ptr unit_system, Config &config)
 Set configuration parameters using command-line options. More...
 
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. More...