Home
last modified time | relevance | path

Searched refs:n_y (Results 1 – 23 of 23) sorted by relevance

/libCEED/tests/
H A Dt580-operator.c21 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 Dt560-operator.c19 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 Dt561-operator.c19 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 Dt564-operator.c19 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 Dt520-operator.c30 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 Dt521-operator.c30 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 Dt522-operator.c31 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 Dt565-operator.c17 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 Dt566-operator.c19 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 Dt568-operator.c19 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 Dt567-operator.c19 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 Dt534-operator.c19 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 Dt597-operator.c23 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 Dt596-operator.c23 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 Dt539-operator.c19 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 Dt562-operator.c19 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 Dt538-operator.c17 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 Dt583-operator.c20 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 Dt535-operator.c19 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 Dt537-operator.c19 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 Dt536-operator.c20 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 Dt563-operator.c20 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 Dt526-operator.c30 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()