Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
lob_bnd_test.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.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 dependency graph for lob_bnd_test.c:

Go to the source code of this file.

Macros

#define RESFAC   4
 
#define N   12
 
#define NY   9
 
#define NZ   4
 
#define REPEAT   1000000
 
#define PI   3.1415926535897932384626433832795028841971693993751058209749445923
 
#define GET_JF(x)
 

Functions

int main ()
 

Macro Definition Documentation

#define GET_JF (   x)
Value:
int j##x = -1 + m##x - 1 - (int) (acos(x) * (m##x-1) / PI); \
double f##x = (x - cos((m##x-1-j##x)*PI/(m##x-1))) / \
(cos((m##x-1-(j##x+1))*PI/(m##x-1)) \
- cos((m##x-1-j##x)*PI/(m##x-1)))
#define x
#define PI
Definition: lob_bnd_test.c:22

Referenced by main().

#define N   12

Definition at line 17 of file lob_bnd_test.c.

Referenced by main().

#define NY   9

Definition at line 18 of file lob_bnd_test.c.

Referenced by main().

#define NZ   4

Definition at line 19 of file lob_bnd_test.c.

Referenced by main().

#define PI   3.1415926535897932384626433832795028841971693993751058209749445923

Definition at line 22 of file lob_bnd_test.c.

Referenced by main().

#define REPEAT   1000000

Definition at line 20 of file lob_bnd_test.c.

Referenced by main().

#define RESFAC   4

Definition at line 16 of file lob_bnd_test.c.

Referenced by main().

Function Documentation

int main ( )

Definition at line 25 of file lob_bnd_test.c.

References GET_JF, gll_lag_setup, gll_lag_size, i, lob_bnd_lin_1, lob_bnd_lin_2, lob_bnd_lin_3, lob_bnd_setup, lob_bnd_size(), N, NY, NZ, p, PI, REPEAT, RESFAC, tensor_dot, tensor_i2(), tensor_i3(), tmalloc, uint, work, x, y, and z.

+ Here is the call graph for this function: