Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions | Variables
xxt_test.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include "name.h"
#include "fail.h"
#include "types.h"
#include "comm.h"
#include "crs.h"
+ Include dependency graph for xxt_test.c:

Go to the source code of this file.

Functions

int main (int narg, char *arg[])
 

Variables

const uint nx [3] = {8,4,4}
 
const ulong x_id [3][8]
 
double bv [3][8][8]
 
const uint nz [3] = {32,16,16}
 
const uint Ai [3][32]
 
const uint Aj [3][32]
 
const double Ar [3][32]
 

Function Documentation

int main ( int  narg,
char *  arg[] 
)

Definition at line 95 of file xxt_test.c.

References Ai, Aj, Ar, bv, comm_free(), comm_init(), crs_free, crs_setup, crs_solve, crs_stats, i, id, comm::id, np, nx, nz, uint, and x_id.

+ Here is the call graph for this function:

Variable Documentation

Ai ( )
Initial value:
= { {0,0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3,
4,4,4,4, 5,5,5,5, 6,6,6,6, 7,7,7,7},
{0,0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3},
{0,0,0,0, 1,1,1,1, 2,2,2,2, 3,3,3,3} }

Definition at line 80 of file xxt_test.c.

Referenced by fcrystal_tuple_transfer(), main(), and test().

const uint Aj[3][32]
Initial value:
= { {0,1,2,3, 0,1,2,3, 0,1,2,3, 0,1,2,3,
4,5,6,7, 4,5,6,7, 4,5,6,7, 4,5,6,7},
{0,1,2,3, 0,1,2,3, 0,1,2,3, 0,1,2,3},
{0,1,2,3, 0,1,2,3, 0,1,2,3, 0,1,2,3} }

Definition at line 85 of file xxt_test.c.

Referenced by apply_m_Asl(), apply_p_Als(), main(), and test().

const double Ar[3][32]
Initial value:
= { { 4,-1,-1,-2, -1,4,-2,-1, -1,-2,4,-1, -2,-1,-1,4,
4,-1,-1,-2, -1,4,-2,-1, -1,-2,4,-1, -2,-1,-1,4 },
{ 4,-1,-1,-2, -1,4,-2,-1, -1,-2,4,-1, -2,-1,-1,4 },
{ 4,-1,-1,-2, -1,4,-2,-1, -1,-2,4,-1, -2,-1,-1,4 } }

Definition at line 90 of file xxt_test.c.

Referenced by main().

double bv[3][8][8]
Initial value:
= { { {0,1/2.,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,1/2.,0,1/2.,0,0,0},
{0,0,0,1/4.,0,1/4.,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,1,0},
{0,0,0,0,0,0,0,1/2.},
{0,0,0,0,0,0,0,0} },
{ {1/2.,0,0,0},
{0,1,0,0},
{0,0,0,0},
{0,0,1/4.,0},
{0,0,0,1/2.},
{0,0,0,0},
{0,0,0,0},
{0,0,0,0} },
{ {0,0,0,0},
{0,0,0,0},
{0,0,0,0},
{1/4.,0,0,0},
{0,1/2.,0,0},
{0,0,0,0},
{0,0,1/2.,0},
{0,0,0,1} } }

Definition at line 51 of file xxt_test.c.

Referenced by main().

const uint nx[3] = {8,4,4}

Definition at line 41 of file xxt_test.c.

Referenced by apply_X(), apply_Xt(), and main().

const uint nz[3] = {32,16,16}
const ulong x_id[3][8]
Initial value:
= { {0,2,4,5, 4,5,7,8},
{2,3,5,6},
{5,6,8,9} }

Definition at line 47 of file xxt_test.c.

Referenced by main().