Lines Matching refs:p
16 CeedInt num_elem = 6, p = 3, q = 4, dim = 2; in main() local
19 CeedInt ind_x[num_elem * p * p]; in main()
29 for (CeedInt i = 0; i < n_x * (p - 1) + 1; i++) { in main()
30 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main()
31 x_array[i + j * (n_x * (p - 1) + 1) + 0 * num_dofs] = (CeedScalar)i / ((p - 1) * n_x); in main()
32 x_array[i + j * (n_x * (p - 1) + 1) + 1 * num_dofs] = (CeedScalar)j / ((p - 1) * n_y); in main()
47 offset = col * (p - 1) + row * (n_x * 2 + 1) * (p - 1); in main()
48 for (CeedInt j = 0; j < p; j++) { in main()
49 for (CeedInt k = 0; k < p; k++) ind_x[p * (p * i + k) + j] = offset + k * (n_x * 2 + 1) + j; in main()
52 …CeedElemRestrictionCreate(ceed, num_elem, p * p, dim, num_dofs, dim * num_dofs, CEED_MEM_HOST, CEE… in main()
53 …CeedElemRestrictionCreate(ceed, num_elem, p * p, 1, 1, num_dofs, CEED_MEM_HOST, CEED_USE_POINTER, … in main()
63 CeedBasisCreateTensorH1Lagrange(ceed, dim, dim, p, q, CEED_GAUSS, &basis_x); in main()
64 CeedBasisCreateTensorH1Lagrange(ceed, dim, 1, p, q, CEED_GAUSS, &basis_u); in main()