Lines Matching refs:p
18 CeedInt p = 3, q = 3, dim = 2, num_comp = 2; in main() local
21 …CeedInt num_dofs = (n_x * (p - 1) + 1) * (n_y * (p - 1) + 1), num_qpts = num_elem * q … in main()
22 CeedInt ind_x[num_elem * p * p]; in main()
33 for (CeedInt i = 0; i < n_x * (p - 1) + 1; i++) { in main()
34 for (CeedInt j = 0; j < n_y * (p - 1) + 1; j++) { in main()
35 x_array[i + j * (n_x * 2 + 1) + 0 * num_dofs] = (CeedScalar)i / (n_x * (p - 1)); in main()
36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (n_y * (p - 1)); in main()
51 offset = col * (p - 1) + row * (n_x * (p - 1) + 1) * (p - 1); in main()
52 for (CeedInt j = 0; j < p; j++) { in main()
53 for (CeedInt k = 0; k < p; k++) ind_x[p * (p * i + k) + j] = offset + k * p + j; in main()
56 …CeedElemRestrictionCreate(ceed, num_elem, p * p, dim, num_dofs, dim * num_dofs, CEED_MEM_HOST, CEE… in main()
57 …CeedElemRestrictionCreate(ceed, num_elem, p * p, num_comp, num_dofs, num_comp * num_dofs, CEED_MEM… in main()
64 CeedBasisCreateTensorH1Lagrange(ceed, dim, dim, p, q, CEED_GAUSS, &basis_x); in main()
65 CeedBasisCreateTensorH1Lagrange(ceed, dim, num_comp, p, q, CEED_GAUSS, &basis_u); in main()