#include "common.h"#include "linear.h"#include "solution.h"#include "refmap.h"Classes | |
| class | Quad2DLin |
Defines | |
| #define | getval(i) (val[i]) |
| #define | realpart(x) (x) |
| #define | read_array(array, type, n, c, what) |
Variables | |
| int | quad_indices [9][5] |
| int | tri_indices [5][3] |
| int | lin_np_tri [2] = { 3, 12 } |
| int | lin_np_quad [2] = { 4, 21 } |
| Quad2DLin | quad_lin |
| #define getval | ( | i | ) | (val[i]) |
| #define read_array | ( | array, | |||
| type, | |||||
| n, | |||||
| c, | |||||
| what | ) |
if (fread(&n, sizeof(int), 1, f) != 1) \ error("Error reading the number of " what " from %s", filename); \ lin_init_array(array, type, c, n); \ if (fread(array, sizeof(type), n, f) != n) \ error("Error reading " what " from %s", filename);
| #define realpart | ( | x | ) | (x) |
| int lin_np_quad[2] = { 4, 21 } |
| int lin_np_tri[2] = { 3, 12 } |
| int quad_indices[9][5] |
{
{ 0, 1, 2, 3, 4 },
{ 5, 6, 7, 8, 9 }, { 10, 11, 12, 6, 13 },
{ 12, 14, 15, 16, 17 }, { 7, 16, 18, 19, 20 },
{ 0, 11, 4, 8, 6 }, { 4, 14, 2, 19, 16 },
{ 5, 4, 18, 3, 7 }, { 10, 1, 15, 4, 12 }
}
| int tri_indices[5][3] |
{
{ 0, 1, 2 }, { 3, 4, 5 }, { 6, 7, 8 }, { 9, 10, 11 }, { 9, 4, 8 }
}
1.6.3