PISM, A Parallel Ice Sheet Model stable 0.4.1779
Defines | Functions

src/verif/tests/exactTestL.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_odeiv.h>
#include "exactTestL.h"

Go to the source code of this file.

Defines

#define pi   3.1415926535897931
#define SperA   31556926.0
#define L   750.0e3
#define b0   500.0
#define z0   1.2
#define g   9.81
#define rho   910.0
#define n   3.0

Functions

int funcL (double r, const double u[], double f[], void *params)
int getU (double *r, int N, double *u, const double EPS_ABS, const double EPS_REL, const int ode_method)
int exactL (double r, double *H, double *b, double *a, const double EPS_ABS, const double EPS_REL, const int ode_method)
int exactL_list (double *r, int N, double *H, double *b, double *a)

Define Documentation

#define b0   500.0
#define g   9.81
#define L   750.0e3
#define n   3.0
#define pi   3.1415926535897931

Definition at line 30 of file exactTestL.c.

Referenced by exactL(), exactL_list(), and funcL().

#define rho   910.0
#define SperA   31556926.0

Definition at line 31 of file exactTestL.c.

Referenced by exactL(), exactL_list(), and funcL().

#define z0   1.2

Definition at line 35 of file exactTestL.c.

Referenced by exactL(), exactL_list(), and funcL().


Function Documentation

int exactL ( double  r,
double *  H,
double *  b,
double *  a,
const double  EPS_ABS,
const double  EPS_REL,
const int  ode_method 
)

Definition at line 141 of file exactTestL.c.

References b0, getU(), L, pi, SperA, and z0.

Referenced by main().

int exactL_list ( double *  r,
int  N,
double *  H,
double *  b,
double *  a 
)

Definition at line 156 of file exactTestL.c.

References b0, e, getU(), L, vfnow::N, pi, SperA, and z0.

Referenced by IceCompModel::initTestL(), and main().

int funcL ( double  r,
const double  u[],
double  f[],
void *  params 
)

Definition at line 40 of file exactTestL.c.

References b0, exactV::C, g, L, n, pi, rho, SperA, and z0.

Referenced by getU().

int getU ( double *  r,
int  N,
double *  u,
const double  EPS_ABS,
const double  EPS_REL,
const int  ode_method 
)

Definition at line 71 of file exactTestL.c.

References count, e, funcL(), L, vfnow::N, TESTL_INVALID_METHOD, TESTL_NO_LIST, TESTL_NOT_DECREASING, and TESTL_NOT_DONE.

Referenced by exactL(), and exactL_list().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines