Lines Matching refs:num_dofs

21   CeedInt             num_dofs = (n_x * 2 + 1) * (n_y * 2 + 1), num_qpts = num_elem * q * q;  in main()  local
23 CeedScalar assembled_values[num_dofs * num_dofs]; in main()
24 CeedScalar assembled_true[num_dofs * num_dofs]; in main()
29 CeedVectorCreate(ceed, dim * num_dofs, &x); in main()
31 CeedScalar x_array[dim * num_dofs]; in main()
35 x_array[i + j * (n_x * 2 + 1) + 0 * num_dofs] = (CeedScalar)i / (2 * n_x); in main()
36 x_array[i + j * (n_x * 2 + 1) + 1 * num_dofs] = (CeedScalar)j / (2 * n_y); in main()
41 CeedVectorCreate(ceed, num_dofs, &u); in main()
42 CeedVectorCreate(ceed, num_dofs, &v); in main()
57 …CeedElemRestrictionCreate(ceed, num_elem, p * p, dim, num_dofs, dim * num_dofs, CEED_MEM_HOST, CEE… in main()
58 …CeedElemRestrictionCreate(ceed, num_elem, p * p, 1, 1, num_dofs, CEED_MEM_HOST, CEED_USE_POINTER, … in main()
123 for (CeedInt k = 0; k < num_dofs * num_dofs; ++k) { in main()
134 …for (CeedInt k = 0; k < num_entries; ++k) assembled_values[rows[k] * num_dofs + cols[k]] += assemb… in main()
140 for (CeedInt j = 0; j < num_dofs; j++) { in main()
154 for (CeedInt i = 0; i < num_dofs; i++) assembled_true[i * num_dofs + j] = v_array[i]; in main()
159 for (CeedInt i = 0; i < num_dofs; i++) { in main()
160 for (CeedInt j = 0; j < num_dofs; j++) { in main()
161 …if (fabs(assembled_values[i * num_dofs + j] - assembled_true[i * num_dofs + j]) > 100. * CEED_EPSI… in main()
163 …_FMT ", %" CeedInt_FMT "] Error in assembly: %f != %f\n", i, j, assembled_values[i * num_dofs + j], in main()
164 assembled_true[i * num_dofs + j]); in main()