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

Go to the source code of this file.

Macros

#define USE_HW_COUNTER   0
 
#define REPEAT   10000
 
#define NR   7
 
#define TNR   8
 
#define NS   8
 
#define TNS   9
 
#define TNTOT   (TNR*TNS)
 
#define MR   (4*NR)
 
#define MS   (4*NS)
 
#define NPT   256
 
#define TOL   1024*DBL_EPSILON
 

Functions

int main ()
 

Variables

static const unsigned nr [2] = {NR,NS}
 
static double zr [NR]
 
static double zs [NS]
 
static double tzr [TNR]
 
static double tzs [TNS]
 
static double Jr [NR *TNR]
 
static double Js [NS *TNS]
 
static double elx [NR *NS]
 
static double ely [NR *NS]
 
static const double *const elxy [2] = {elx,ely}
 
static double telx [2][TNR *TNS]
 
static double work [TNR *NS]
 

Macro Definition Documentation

#define MR   (4*NR)

Definition at line 33 of file findpts_el_2_test2.c.

#define MS   (4*NS)

Definition at line 34 of file findpts_el_2_test2.c.

#define NPT   256

Definition at line 39 of file findpts_el_2_test2.c.

Referenced by main().

#define NR   7

Definition at line 28 of file findpts_el_2_test2.c.

Referenced by main().

#define NS   8

Definition at line 30 of file findpts_el_2_test2.c.

Referenced by main().

#define REPEAT   10000

Definition at line 26 of file findpts_el_2_test2.c.

Referenced by main().

#define TNR   8

Definition at line 29 of file findpts_el_2_test2.c.

Referenced by main().

#define TNS   9

Definition at line 31 of file findpts_el_2_test2.c.

Referenced by main().

#define TNTOT   (TNR*TNS)

Definition at line 32 of file findpts_el_2_test2.c.

Referenced by main().

#define TOL   1024*DBL_EPSILON

Definition at line 42 of file findpts_el_2_test2.c.

#define USE_HW_COUNTER   0

Definition at line 20 of file findpts_el_2_test2.c.

Function Documentation

int main ( )

Definition at line 52 of file findpts_el_2_test2.c.

References findpts_el_pt_2::dist2, findpts_el_2, findpts_el_free_2, findpts_el_points_2(), findpts_el_setup_2, findpts_el_start_2(), findpts_el_pt_2::flags, i, findpts_el_data_2::lag, findpts_el_data_2::lag_data, lobatto_nodes, n, NPT, NR, NS, p, findpts_el_pt_2::r, rand_elt_2(), REPEAT, tensor_2t(), TNR, TNS, TNTOT, x, findpts_el_pt_2::x, and y.

+ Here is the call graph for this function:

Variable Documentation

double elx[NR *NS]
static

Definition at line 47 of file findpts_el_2_test2.c.

const double* const elxy[2] = {elx,ely}
static

Definition at line 48 of file findpts_el_2_test2.c.

double ely[NR *NS]
static

Definition at line 47 of file findpts_el_2_test2.c.

double Jr[NR *TNR]
static

Definition at line 46 of file findpts_el_2_test2.c.

double Js[NS *TNS]
static

Definition at line 46 of file findpts_el_2_test2.c.

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

Definition at line 36 of file findpts_el_2_test2.c.

double telx[2][TNR *TNS]
static

Definition at line 49 of file findpts_el_2_test2.c.

double tzr[TNR]
static

Definition at line 45 of file findpts_el_2_test2.c.

double tzs[TNS]
static

Definition at line 45 of file findpts_el_2_test2.c.

double work[TNR *NS]
static
double zr[NR]
static

Definition at line 44 of file findpts_el_2_test2.c.

Referenced by lob_bnd_lin_2(), lob_bnd_lin_3(), main(), and seed().

double zs[NS]
static

Definition at line 44 of file findpts_el_2_test2.c.

Referenced by lob_bnd_lin_2(), lob_bnd_lin_3(), main(), and seed().