20 #include "pism/rheology/PatersonBudd.hh"
38 double T_pa =
m_EC->pressure_adjusted_temperature(E, pressure);
44 double pressure,
double gs)
const {
45 double temp =
m_EC->temperature(E, pressure);
51 double pressure,
double )
const {
A class for storing and accessing PISM configuration flags and parameters.
std::shared_ptr< EnthalpyConverter > Ptr
double softness_paterson_budd(double T_pa) const
Return the softness parameter A(T) for a given temperature T.
double m_standard_gravity
acceleration due to gravity
double m_hardness_power
; used to compute hardness
double m_beta_CC_grad
Clausius-Clapeyron gradient.
double m_n
power law exponent
EnthalpyConverter::Ptr m_EC
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)