23 #include "pism/verification/tests/exactTestH.h"
25 static const double SperA = 31556926.0;
27 int exactH_old(
const double f,
const double tIN,
const double r,
28 double *H,
double *M) {
31 const double H0 = 3600.0, R0=750000.0;
34 double t0 = (15208.0 / pow(1-f,
n)) *
SperA;
37 double lambda, alpha, beta, t0post, Rmargin;
47 t0post = (t0 / 2.0) * (1.0 / 18.0);
55 Rmargin = R0 * pow(t / t0, beta);
57 *H =
H0 * pow(t / t0, -alpha)
58 * pow(1.0 - pow(pow(t / t0, -beta) * (r / R0), (
n + 1.0) /
n),
64 *M = (lambda / t) * (*H);
66 Rmargin = R0 * pow(0.1*
SperA / t0, beta);
68 *M = lambda *
H0 / t0;
int exactH_old(const double f, const double tIN, const double r, double *H, double *M)
static const double SperA
struct TestHParameters exactH(const double f, const double t, const double r)