diff options
Diffstat (limited to 'test/ccured_olden/em3d/em3d.h')
-rw-r--r-- | test/ccured_olden/em3d/em3d.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test/ccured_olden/em3d/em3d.h b/test/ccured_olden/em3d/em3d.h deleted file mode 100644 index ba1eac22..00000000 --- a/test/ccured_olden/em3d/em3d.h +++ /dev/null @@ -1,38 +0,0 @@ -/* em3d.h - Header file for the electromagnetic problem in 3 dimensions - * - * By: Martin C. Carlisle - * Date: Feb. 23, 1994 - * - */ - -#ifndef EM3D -#define EM3D - -extern int n_nodes; /* number of nodes (E and H) */ -extern int d_nodes; /* degree of nodes */ -extern int iters; /* number of iterations */ - -#define ALLOC malloc -#define DIST_SPAN 6 - -#define assert(a) if (!a) {printf("Assertion failure\n"); exit(-1);} - - -typedef struct node_t { - double value; - struct node_t *next; - struct node_t ** to_nodes; /* array of nodes pointed to */ - struct node_t ** from_nodes; /* array of nodes data comes from */ - double * coeffs; /* array of coeffs on edges */ - int from_count; -} node_t; - -typedef struct graph_t { - node_t *e_nodes; - node_t *h_nodes; -} graph_t; - -/* Perform 1 step for a nodelist */ -void compute_nodes(node_t *nodelist); -#endif - |