#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "cgnslib.h"Go to the source code of this file.
Defines | |
| #define | NUM_SIDE 5 |
| #define | NUM_RANDOM 10 |
| #define | NODE_INDEX(I, J, K) ((I)+NUM_SIDE*(((J)-1)+NUM_SIDE*((K)-1))) |
| #define | CELL_INDEX(I, J, K) ((I)+(NUM_SIDE-1)*(((J)-1)+(NUM_SIDE-1)*((K)-1))) |
Functions | |
| int | irandom (int imin, int imax) |
| void | get_parent (int rmin, int rmax, int nelems, int nfaces) |
| int | mixed_offset (int num, int nelems) |
| int | main (int argc, char **argv) |
Variables | |
| float * | xcoord |
| float * | ycoord |
| float * | zcoord |
| float * | fbuf |
| int * | elements |
| int * | faces |
| int * | parent |
| int * | ptmp |
| int * | ibuf |
| int * | pbuf |
| #define CELL_INDEX | ( | I, | |||
| J, | |||||
| K | ) | ((I)+(NUM_SIDE-1)*(((J)-1)+(NUM_SIDE-1)*((K)-1))) |
Definition at line 24 of file test_partial.c.
| #define NODE_INDEX | ( | I, | |||
| J, | |||||
| K | ) | ((I)+NUM_SIDE*(((J)-1)+NUM_SIDE*((K)-1))) |
Definition at line 23 of file test_partial.c.
| #define NUM_RANDOM 10 |
Definition at line 10 of file test_partial.c.
| #define NUM_SIDE 5 |
Definition at line 9 of file test_partial.c.
| void get_parent | ( | int | rmin, | |
| int | rmax, | |||
| int | nelems, | |||
| int | nfaces | |||
| ) |
Definition at line 34 of file test_partial.c.
| int irandom | ( | int | imin, | |
| int | imax | |||
| ) |
Definition at line 26 of file test_partial.c.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 60 of file test_partial.c.
| int mixed_offset | ( | int | num, | |
| int | nelems | |||
| ) |
Definition at line 46 of file test_partial.c.
| int* elements |
Definition at line 17 of file test_partial.c.
| int* faces |
Definition at line 18 of file test_partial.c.
| float* fbuf |
Definition at line 15 of file test_partial.c.
| int* ibuf |
Definition at line 21 of file test_partial.c.
| int* parent |
Definition at line 19 of file test_partial.c.
| int * pbuf |
Definition at line 21 of file test_partial.c.
| int* ptmp |
Definition at line 20 of file test_partial.c.
| float* xcoord |
Definition at line 12 of file test_partial.c.
| float* ycoord |
Definition at line 13 of file test_partial.c.
| float* zcoord |
Definition at line 14 of file test_partial.c.
1.5.9