Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions | Variables
obbox_test.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <string.h>
#include "c99.h"
#include "types.h"
#include "name.h"
#include "fail.h"
#include "mem.h"
#include "poly.h"
#include "lob_bnd.h"
#include "obbox.h"
#include "rand_elt_test.h"
+ Include dependency graph for obbox_test.c:

Go to the source code of this file.

Macros

#define REPEAT   20
 
#define N   100
 
#define NR   7
 
#define MR   (4*NR)
 
#define NS   8
 
#define MS   (4*NS)
 
#define NT   9
 
#define MT   (4*NT)
 
#define TOL   0.00001
 

Functions

static struct dbl_range dbl_range_expand (struct dbl_range b, double tol)
 
int main ()
 

Variables

static const unsigned nr [3] ={NR,NS,NT}
 
static const unsigned mr [3] ={MR,MS,MT}
 
static double zr [NR]
 
static double zs [NS]
 
static double zt [NT]
 
static double x [NR *NS *NT *N]
 
static double y [NR *NS *NT *N]
 
static double z [NR *NS *NT *N]
 
static double tx [3][NR *NS *NT]
 
static const double *const elx [3] ={x,y,z}
 
static struct obbox_2 ob2 [N *NT]
 
static struct obbox_3 ob3 [N]
 

Macro Definition Documentation

#define MR   (4*NR)

Definition at line 20 of file obbox_test.c.

Referenced by main().

#define MS   (4*NS)

Definition at line 22 of file obbox_test.c.

Referenced by main().

#define MT   (4*NT)

Definition at line 24 of file obbox_test.c.

Referenced by main().

#define N   100

Definition at line 18 of file obbox_test.c.

Referenced by main().

#define NR   7

Definition at line 19 of file obbox_test.c.

Referenced by main().

#define NS   8

Definition at line 21 of file obbox_test.c.

Referenced by main().

#define NT   9

Definition at line 23 of file obbox_test.c.

Referenced by main().

#define REPEAT   20

Definition at line 16 of file obbox_test.c.

Referenced by main().

#define TOL   0.00001

Definition at line 26 of file obbox_test.c.

Referenced by main().

Function Documentation

static struct dbl_range dbl_range_expand ( struct dbl_range  b,
double  tol 
)
static

Definition at line 38 of file obbox_test.c.

References dbl_range::max, and dbl_range::min.

Referenced by main().

+ Here is the caller graph for this function:

int main ( )

Definition at line 46 of file obbox_test.c.

References obbox_2::A, obbox_3::A, bubble_elt(), obbox_2::c0, obbox_3::c0, dbl_range_expand(), elx, i, lob_bnd_2, lob_bnd_3, lob_bnd_setup, lob_bnd_size(), lobatto_nodes, dbl_range::max, dbl_range::min, MR, mr, MS, MT, N, n, NR, nr, NS, NT, ob2, ob3, obbox_calc_2, obbox_calc_3, rand_elt_2(), rand_elt_3(), REPEAT, tmalloc, TOL, tx, work, obbox_2::x, obbox_3::x, x, y, z, zr, zs, and zt.

+ Here is the call graph for this function:

Variable Documentation

const double* const elx[3] ={x,y,z}
static

Definition at line 33 of file obbox_test.c.

Referenced by main().

const unsigned mr[3] ={MR,MS,MT}
static

Definition at line 28 of file obbox_test.c.

Referenced by main().

const unsigned nr[3] ={NR,NS,NT}
static

Definition at line 28 of file obbox_test.c.

Referenced by main().

struct obbox_2 ob2[N *NT]
static

Definition at line 35 of file obbox_test.c.

Referenced by main().

struct obbox_3 ob3[N]
static

Definition at line 36 of file obbox_test.c.

Referenced by main().

double tx[3][NR *NS *NT]
static

Definition at line 32 of file obbox_test.c.

Referenced by main().

double x[NR *NS *NT *N]
static

Definition at line 31 of file obbox_test.c.

Referenced by main().

double y[NR *NS *NT *N]
static
double z[NR *NS *NT *N]
static
double zr[NR]
static

Definition at line 30 of file obbox_test.c.

Referenced by main().

double zs[NS]
static

Definition at line 30 of file obbox_test.c.

Referenced by main().

double zt[NT]
static

Definition at line 30 of file obbox_test.c.

Referenced by main().