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

Go to the source code of this file.

Macros

#define NR   14
 
#define NS   7
 
#define CLAMP(x, r)   do { double temp=r; x = temp<-1?-1:(temp>1?1:temp); } while(0)
 

Functions

int main ()
 

Variables

static const unsigned nr [3] ={NR,NS}
 
static double elx [NR *NS]
 
static double ely [NR *NS]
 
static const double *const elx2 [2] = {elx,ely}
 

Macro Definition Documentation

#define CLAMP (   x,
 
)    do { double temp=r; x = temp<-1?-1:(temp>1?1:temp); } while(0)

Referenced by main().

#define NR   14

Definition at line 15 of file findpts_el_2_test.c.

Referenced by main().

#define NS   7

Definition at line 16 of file findpts_el_2_test.c.

Referenced by main().

Function Documentation

int main ( )

Definition at line 23 of file findpts_el_2_test.c.

References CLAMP, findpts_el_pt_2::dist2, elx, elx2, ely, 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, lobatto_nodes, NR, nr, NS, p, findpts_el_pt_2::r, findpts_el_pt_2::x, zr, and zs.

+ Here is the call graph for this function:

Variable Documentation

double elx[NR *NS]
static
const double* const elx2[2] = {elx,ely}
static

Definition at line 21 of file findpts_el_2_test.c.

Referenced by main().

double ely[NR *NS]
static

Definition at line 20 of file findpts_el_2_test.c.

Referenced by main().

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