PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Namespaces | Functions | Variables
options.cc File Reference
#include <cstring>
#include <petscsys.h>
#include "pism/util/error_handling.hh"
#include "pism/util/Logger.hh"
#include "pism/util/Units.hh"
#include "pism/util/pism_utilities.hh"
#include "pism/util/pism_options.hh"

Go to the source code of this file.

Namespaces

 pism
 
 pism::options
 Utilities for processing command-line options.
 

Functions

bool pism::options::Bool (const std::string &option, const std::string &description)
 
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. More...
 
void pism::options::ignored (const Logger &log, const std::string &name)
 Print a warning telling the user that an option was ignored. More...
 
void pism::options::forbidden (const std::string &name)
 Stop if an option name is set. More...
 

Variables

static const int pism::options::TEMPORARY_STRING_LENGTH = 32768