| /libCEED/tests/ |
| H A D | t580-operator.c | 21 CeedInt n_x = 1, n_y = 1; // Currently only implemented for single element in main() local 23 CeedInt num_elem = n_x * n_y, num_faces = (n_x + 1) * n_y + (n_y + 1) * n_x; in main() 24 …CeedInt num_dofs_x = (n_x + 1) * (n_y + 1), num_dofs_u = num_faces * 2, num_qpts = q *… in main() 39 for (CeedInt j = 0; j < n_y + 1; j++) { in main() 41 x_array[i + j * (n_x + 1) + 1 * num_dofs_x] = j / (CeedScalar)n_y; in main() 63 for (CeedInt j = 0; j < n_y; j++) { in main()
|
| H A D | t560-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 34 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t561-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 34 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t564-operator.c | 19 CeedInt n_x = 1, n_y = 1; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 34 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t520-operator.c | 30 CeedInt n_x = 3, n_y = 3, n_x_tet = 3, n_y_tet = 1, n_x_hex = 3; in main() local 32 …CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts_tet = num_elem_tet * q_tet, num_q… in main() 44 for (CeedInt i = 0; i < n_y * 2 + 1; i++) { in main() 46 x_array[i + j * (n_y * 2 + 1) + 0 * num_dofs] = (CeedScalar)i / (2 * n_y); in main() 47 x_array[i + j * (n_y * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_x); in main()
|
| H A D | t521-operator.c | 30 CeedInt n_x = 3, n_y = 3, n_x_tet = 3, n_y_tet = 1, n_x_hex = 3; in main() local 32 …CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts_tet = num_elem_tet * q_tet, num_q… in main() 44 for (CeedInt i = 0; i < n_y * 2 + 1; i++) { in main() 46 x_array[i + j * (n_y * 2 + 1) + 0 * num_dofs] = (CeedScalar)i / (2 * n_y); in main() 47 x_array[i + j * (n_y * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_x); in main()
|
| H A D | t522-operator.c | 31 CeedInt n_x = 3, n_y = 3, n_x_tet = 3, n_y_tet = 1, n_x_hex = 3; in main() local 33 …CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts_tet = num_elem_tet * q_tet, num_q… in main() 45 for (CeedInt i = 0; i < n_y * 2 + 1; i++) { in main() 47 x_array[i + j * (n_y * 2 + 1) + 0 * num_dofs] = (CeedScalar)i / (2 * n_y); in main() 48 x_array[i + j * (n_y * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_x); in main()
|
| H A D | t565-operator.c | 17 CeedInt n_x = 3, n_y = 2; in main() local 18 CeedInt num_elem = n_x * n_y; in main() 19 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 32 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 34 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t566-operator.c | 19 CeedInt n_x = 1, n_y = 1; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 …CeedInt num_dofs = (n_x * (p - 1) + 1) * (n_y * (p - 1) + 1), num_qpts = num_elem * q … in main() 34 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (n_y * (p - 1)); in main()
|
| H A D | t568-operator.c | 19 CeedInt n_x = 1, n_y = 1; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 …CeedInt num_dofs = (n_x * (p - 1) + 1) * (n_y * (p - 1) + 1), num_qpts = num_elem * q … in main() 34 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (n_y * (p - 1)); in main()
|
| H A D | t567-operator.c | 19 CeedInt n_x = 1, n_y = 1; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 …CeedInt num_dofs = (n_x * (p - 1) + 1) * (n_y * (p - 1) + 1), num_qpts = num_elem * q … in main() 34 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (n_y * (p - 1)); in main()
|
| H A D | t534-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 32 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 34 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t597-operator.c | 23 CeedInt n_x = 3, n_y = 2; in main() local 24 CeedInt num_elem = n_x * n_y; in main() 25 …CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_points_per_elem = 4, num_points … in main() 62 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 64 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t596-operator.c | 23 CeedInt n_x = 3, n_y = 2; in main() local 24 CeedInt num_elem = n_x * n_y; in main() 25 …CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_points_per_elem = 4, num_points … in main() 61 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 63 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t539-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 … num_dofs_0 = (n_x * (p_0 - 1) + 1) * (n_y * (p_0 - 1) + 1), num_dofs_1 = (n_x * (p_1 - 1) +… in main() 33 for (CeedInt j = 0; j < n_y * (p_0 - 1) + 1; j++) { in main() 35 x_array[i + j * (n_x * (p_0 - 1) + 1) + 1 * num_dofs_0] = (CeedScalar)j / ((p_0 - 1) * n_y); in main()
|
| H A D | t562-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 CeedInt num_elem = n_x * n_y; in main() 21 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 34 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t538-operator.c | 17 CeedInt n_x = 3, n_y = 2; in main() local 18 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 30 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main() 32 x_array[i + j * (n_x * (p - 1) + 1) + 1 * num_dofs] = (CeedScalar)j / ((p - 1) * n_y); in main()
|
| H A D | t583-operator.c | 20 CeedInt n_x = 3, n_y = 2; in main() local 21 CeedInt num_elem = n_x * n_y; in main() 22 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 38 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 40 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t535-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 32 for (CeedInt j = 0; j < n_y * 2 + 1; j++) { in main() 34 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
|
| H A D | t537-operator.c | 19 CeedInt n_x = 3, n_y = 2; in main() local 20 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q; in main() 35 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main() 37 x_array[i + j * (n_x * (p - 1) + 1) + 1 * num_dofs] = (CeedScalar)j / ((p - 1) * n_y); in main()
|
| H A D | t536-operator.c | 20 CeedInt n_x = 3, n_y = 2; in main() local 22 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q; in main() 37 x_array[i + num_dofs] = (1. / (n_y * 2)) * (CeedScalar)(i / (n_x * 2 + 1)); in main()
|
| H A D | t563-operator.c | 20 CeedInt n_x = 3, n_y = 2; in main() local 22 CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q; in main() 38 x_array[i + num_dofs] = (1. / (n_y * 2)) * (CeedScalar)(i / (n_x * 2 + 1)); in main()
|
| H A D | t526-operator.c | 30 CeedInt n_x = 3, n_y = 3, n_x_tet = 3, n_y_tet = 1, n_x_hex = 3; in main() local 32 …CeedInt num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts_tet = num_elem_tet * q_tet, num_q… in main()
|