PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Macros | Functions | Variables
exactTestK.c File Reference
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_roots.h>
#include "pism/verification/tests/exactTestK.h"

Go to the source code of this file.

Classes

struct  coscross_params
 

Macros

#define Nsum   30
 
#define ALPHA_RELTOL   1.0e-14
 
#define ITER_MAXED_OUT   999
 

Functions

static int exactK_old (const double t, const double z, double *TT, double *FF, const int bedrockIsIce_p)
 
struct TestKParameters exactK (double t, double z, int bedrock_is_ice)
 
double coscross (double alpha, void *params)
 
int print_alpha_k (const int N)
 

Variables

const double SperA = 31556926.0
 
const double c_p_ice = 2009.0
 
const double rho_ice = 910.0
 
const double k_ice = 2.10
 
const double c_p_BR = 1000.0
 
const double rho_BR = 3300.0
 
const double k_BR = 3.0
 
const double H0 = 3000.0
 
const double B0 = 1000.0
 
const double Ts = 223.15
 
const double G = 0.042
 
const double phi = 0.0125