PISM, A Parallel Ice Sheet Model  stable v0.5
Functions | Variables
src/earth/test_cube.c File Reference
#include "cubature.h"
#include <math.h>

Go to the source code of this file.

Functions

double f_test (unsigned dim, const double *x, void *data)
static double S (unsigned n)
static double exact_integral (unsigned dim, const double *xmax)
int main (int argc, char **argv)

Variables

int count = 0
int which_integrand = 0
const double radius = 0.50124145262344534123412

Function Documentation

static double exact_integral ( unsigned  dim,
const double *  xmax 
) [static]

Definition at line 75 of file test_cube.c.

References radius, S(), and which_integrand.

Referenced by main().

double f_test ( unsigned  dim,
const double *  x,
void *  data 
)

Definition at line 19 of file test_cube.c.

References count, radius, and which_integrand.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 97 of file test_cube.c.

References count, e, exact_integral(), f_test(), and which_integrand.

static double S ( unsigned  n) [static]

Definition at line 57 of file test_cube.c.

Referenced by exact_integral(), and IceModel::massContExplicitStep().


Variable Documentation

int count = 0
const double radius = 0.50124145262344534123412

Definition at line 17 of file test_cube.c.

Referenced by exact_integral(), and f_test().

int which_integrand = 0

Definition at line 16 of file test_cube.c.

Referenced by exact_integral(), f_test(), and main().

 All Classes Namespaces Files Functions Variables Typedefs Friends Defines