22 #include "pism/rheology/grain_size_vostok.hh"
29 {0.0000e+00, 5.0000e+01, 1.0000e+02, 1.2500e+02, 1.5000e+02,
30 1.5800e+02, 1.6500e+02, 1.7000e+02, 1.8000e+02, 1.8800e+02,
31 2.0000e+02, 2.2500e+02, 2.4500e+02, 2.6000e+02, 3.0000e+02,
32 3.2000e+02, 3.5000e+02, 4.0000e+02, 5.0000e+02, 6.0000e+02,
33 8.0000e+02, 1.0000e+04};
37 {1.8000e-03, 2.2000e-03, 3.0000e-03, 4.0000e-03, 4.3000e-03,
38 3.0000e-03, 3.0000e-03, 4.6000e-03, 3.4000e-03, 3.3000e-03,
39 5.9000e-03, 6.2000e-03, 5.4000e-03, 6.8000e-03, 3.5000e-03,
40 6.0000e-03, 8.0000e-03, 8.3000e-03, 3.6000e-03, 3.8000e-03,
41 9.5000e-03, 1.0000e-02};
43 m_acc = gsl_interp_accel_alloc();
44 m_spline = gsl_spline_alloc(gsl_interp_linear,
m_N);
50 gsl_interp_accel_free(
m_acc);
54 double age_ka = age / 1000.0;
double operator()(double a)
static const double m_grain_size[m_N]
static const double m_age[m_N]
double max(const array::Scalar &input)
Finds maximum over all the values in an array::Scalar object. Ignores ghosts.
double min(const array::Scalar &input)
Finds minimum over all the values in an array::Scalar object. Ignores ghosts.