20 #ifndef _PATERSONBUDD_H_
21 #define _PATERSONBUDD_H_
23 #include "pism/rheology/FlowLaw.hh"
25 #include "pism/util/EnthalpyConverter.hh"
26 namespace pism {
class Config; }
40 virtual double flow_impl(
double stress,
double E,
41 double pressure,
double gs)
const;
43 virtual double softness_impl(
double enthalpy,
double pressure)
const;
50 double pressure,
double gs)
const;
A class for storing and accessing PISM configuration flags and parameters.
std::shared_ptr< EnthalpyConverter > Ptr
EnthalpyConverter::Ptr EC() const
virtual double flow_from_temp(double stress, double temp, double pressure, double gs) const
The flow law (temperature-dependent version).
virtual double hardness_from_temp(double T_pa) const
virtual double softness_from_temp(double T_pa) const
virtual double flow_impl(double stress, double E, double pressure, double gs) const
virtual double softness_impl(double enthalpy, double pressure) const
PatersonBudd(const std::string &prefix, const Config &config, EnthalpyConverter::Ptr EC)
virtual ~PatersonBudd()=default
Derived class of FlowLaw for Paterson-Budd (1982)-Glen ice.