19 #ifndef __DrainageCalculator_hh
20 #define __DrainageCalculator_hh
22 #include "pism/util/ConfigInterface.hh"
32 OM1 = config.
get_number(
"energy.drainage_target_water_fraction");
double get_number(const std::string &name, UseFlag flag=REMEMBER_THIS_USE) const
A class for storing and accessing PISM configuration flags and parameters.
DrainageCalculator(const Config &config)
virtual double get_drainage_rate(double omega)
Return D(omega), as in figure in [AschwandenBuelerKhroulevBlatter].
virtual ~DrainageCalculator()
Compute the rate of drainage D(omega) for temperate ice.