| /libCEED/tests/ |
| H A D | t360-basis.c | 16 CeedInt p = 4, q = 5, p_dim = CeedIntPow(p, dim), q_dim = CeedIntPow(q, dim); in main() 43 …if (fabs(area - 2.0 * CeedIntPow(2, dim)) > 5E-6) printf("Incorrect area computed %f != %f\n", are… in main()
|
| H A D | t361-basis.c | 34 …CeedInt p = 8, q = 10, p_dim = CeedIntPow(p, dim), q_dim = CeedIntPow(q, dim), x_dim = CeedIntP… in main() 42 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t315-basis.c | 34 …CeedInt p = 8, q = 8, p_dim = CeedIntPow(p, dim), q_dim = CeedIntPow(q, dim), x_dim = CeedIntPo… in main() 42 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t314-basis.c | 34 …CeedInt p = 8, q = 10, p_dim = CeedIntPow(p, dim), q_dim = CeedIntPow(q, dim), x_dim = CeedIntP… in main() 42 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t316-basis.c | 34 …CeedInt p = 8, q = 7, p_dim = CeedIntPow(p, dim), q_dim = CeedIntPow(q, dim), x_dim = CeedIntPo… in main() 42 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t351-basis.c | 25 …const CeedInt p = 9, q = 10, num_points = 4, x_dim = CeedIntPow(2, dim), p_dim = CeedIntPow(p, dim… in main() 39 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t313-basis.c | 25 CeedInt q = 10, q_dim = CeedIntPow(q, dim), x_dim = CeedIntPow(2, dim); in main() 32 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t318-basis.c | 24 CeedInt q = 11, q_dim = CeedIntPow(q, dim), x_dim = CeedIntPow(2, dim); in main() 31 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t365-basis.c | 34 …const CeedInt p = 9, q = 9, num_points = 4, x_dim = CeedIntPow(2, dim), p_dim = CeedIntPow(p, dim); in main() 54 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t356-basis.c | 35 …const CeedInt p = 9, q = 9, num_points = 4, x_dim = CeedIntPow(2, dim), p_dim = CeedIntPow(p, dim); in main() 49 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t357-basis.c | 34 …const CeedInt p = 9, q = 9, num_points = 4, x_dim = CeedIntPow(2, dim), p_dim = CeedIntPow(p, dim); in main() 54 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t352-basis.c | 25 …dInt p = 9, q = 9, num_comp = 3, num_points = 4, x_dim = CeedIntPow(2, dim), p_dim = CeedIntPow(p,… in main() 39 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t354-basis.c | 25 …const CeedInt p = 9, q = 9, num_points = 4, x_dim = CeedIntPow(2, dim), p_dim = CeedIntPow(p, dim); in main() 43 …edInt i = 0; i < x_dim; i++) x_array[d * x_dim + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t319-basis.c | 119 …p_from = 4, p_to = 5, q = 6, x_dim = CeedIntPow(2, dim), p_from_dim = CeedIntPow(p_from, dim), p_t… in main() 126 …edInt i = 0; i < x_dim; i++) x_array[x_dim * d + i] = (i % CeedIntPow(2, d + 1)) / CeedIntPow(2, d… in main()
|
| H A D | t217-elemrestriction.c | 40 if (y_array[k] * CeedIntPow(-1, i % 2) != 10 + (k + 1) / 2) { in main()
|
| H A D | t350-basis.c | 36 for (CeedInt i = 0; i < 2; i++) x_array[i] = CeedIntPow(-1, i + 1); in main()
|
| /libCEED/backends/ref/ |
| H A D | ceed-ref-basis.c | 67 CeedInt pre = num_comp * CeedIntPow(P, dim - 1), post = num_elem; in CeedBasisApplyCore_Ref() 68 CeedScalar tmp[2][num_elem * num_comp * Q * CeedIntPow(P > Q ? P : Q, dim - 1)]; in CeedBasisApplyCore_Ref() 92 CeedInt pre = num_comp * CeedIntPow(P, dim - 1), post = num_elem; in CeedBasisApplyCore_Ref() 97 CeedScalar tmp[2][num_elem * num_comp * Q * CeedIntPow(P > Q ? P : Q, dim - 1)]; in CeedBasisApplyCore_Ref() 98 CeedScalar interp[num_elem * num_comp * Q * CeedIntPow(P > Q ? P : Q, dim - 1)]; in CeedBasisApplyCore_Ref() 117 pre = num_comp * CeedIntPow(P, dim - 1), post = num_elem; in CeedBasisApplyCore_Ref() 133 CeedInt pre = num_comp * CeedIntPow(P, dim - 1), post = num_elem; in CeedBasisApplyCore_Ref() 151 CeedScalar tmp[2][num_elem * num_comp * Q * CeedIntPow(P > Q ? P : Q, dim - 1)]; in CeedBasisApplyCore_Ref() 155 CeedInt pre = num_comp * CeedIntPow(P, dim - 1), post = num_elem; in CeedBasisApplyCore_Ref() 176 CeedInt pre = CeedIntPow(Q, dim - d - 1), post = CeedIntPow(Q, d); in CeedBasisApplyCore_Ref()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-basis.c | 52 const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size); in CeedBasisApplyCore_Hip() 184 …Q_1d * CeedIntPow(Q_1d > P_1d ? Q_1d : P_1d, dim - 1), "BASIS_DIM", dim, "BASIS_NUM_COMP", num_com… in CeedBasisApplyAtPointsCore_Hip() 185 …"BASIS_NUM_NODES", CeedIntPow(P_1d, dim), "BASIS_NUM_QPTS", CeedIntPow(Q_1d, dim), "BASIS_NUM_PTS", in CeedBasisApplyAtPointsCore_Hip() 186 max_num_points, "POINTS_BUFF_LEN", CeedIntPow(Q_1d, dim - 1))); in CeedBasisApplyAtPointsCore_Hip() 209 const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size); in CeedBasisApplyAtPointsCore_Hip() 216 const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size); in CeedBasisApplyAtPointsCore_Hip() 424 …Q_1d * CeedIntPow(Q_1d > P_1d ? Q_1d : P_1d, dim - 1), "BASIS_DIM", dim, "BASIS_NUM_COMP", num_com… in CeedBasisCreateTensorH1_Hip() 425 … "BASIS_NUM_NODES", CeedIntPow(P_1d, dim), "BASIS_NUM_QPTS", CeedIntPow(Q_1d, dim))); in CeedBasisCreateTensorH1_Hip()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-basis.c | 52 const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size); in CeedBasisApplyCore_Cuda() 185 …Q_1d * CeedIntPow(Q_1d > P_1d ? Q_1d : P_1d, dim - 1), "BASIS_DIM", dim, "BASIS_NUM_COMP", num_com… in CeedBasisApplyAtPointsCore_Cuda() 186 …"BASIS_NUM_NODES", CeedIntPow(P_1d, dim), "BASIS_NUM_QPTS", CeedIntPow(Q_1d, dim), "BASIS_NUM_PTS", in CeedBasisApplyAtPointsCore_Cuda() 187 max_num_points, "POINTS_BUFF_LEN", CeedIntPow(Q_1d, dim - 1))); in CeedBasisApplyAtPointsCore_Cuda() 210 const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size); in CeedBasisApplyAtPointsCore_Cuda() 217 const CeedInt block_size = CeedIntMin(CeedIntPow(Q_1d, dim), max_block_size); in CeedBasisApplyAtPointsCore_Cuda() 425 …Q_1d * CeedIntPow(Q_1d > P_1d ? Q_1d : P_1d, dim - 1), "BASIS_DIM", dim, "BASIS_NUM_COMP", num_com… in CeedBasisCreateTensorH1_Cuda() 426 … "BASIS_NUM_NODES", CeedIntPow(P_1d, dim), "BASIS_NUM_QPTS", CeedIntPow(Q_1d, dim))); in CeedBasisCreateTensorH1_Cuda()
|
| /libCEED/examples/ceed/ |
| H A D | ex2-surface.c | 205 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); in main() 317 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 341 CeedInt num_nodes = CeedIntPow(p, dim); // number of scalar nodes per element in BuildCartesianRestriction() 342 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); // number of qpts per element in BuildCartesianRestriction()
|
| H A D | ex3-volume.c | 189 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); in main() 286 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 310 CeedInt num_nodes = CeedIntPow(p, dim); // number of scalar nodes per element in BuildCartesianRestriction() 311 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); // number of qpts per element in BuildCartesianRestriction()
|
| H A D | ex1-volume.c | 199 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); in main() 297 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 321 CeedInt num_nodes = CeedIntPow(p, dim); // number of scalar nodes per element in BuildCartesianRestriction() 322 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); // number of qpts per element in BuildCartesianRestriction()
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 209 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); in main() 307 CeedInt num_elem = prob_size / CeedIntPow(degree, dim); in GetCartesianMeshSize() 331 CeedInt num_nodes = CeedIntPow(p, dim); // number of scalar nodes per element in BuildCartesianRestriction() 332 CeedInt elem_qpts = CeedIntPow(num_qpts, dim); // number of qpts per element in BuildCartesianRestriction()
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 514 CeedCall(CeedVectorCreate(ceed, num_comp * CeedIntPow(Q_1d, dim), &basis->vec_chebyshev)); in CeedBasisApplyAtPoints_Core() 557 CeedScalar tmp[2][num_comp * CeedIntPow(Q_1d, dim)], chebyshev_x[Q_1d]; in CeedBasisApplyAtPoints_Core() 561 CeedInt pre = num_comp * CeedIntPow(Q_1d, dim - 1), post = 1; in CeedBasisApplyAtPoints_Core() 576 CeedScalar tmp[2][num_comp * CeedIntPow(Q_1d, dim)], chebyshev_x[Q_1d]; in CeedBasisApplyAtPoints_Core() 582 CeedInt pre = num_comp * CeedIntPow(Q_1d, dim - 1), post = 1; in CeedBasisApplyAtPoints_Core() 620 CeedScalar tmp[2][num_comp * CeedIntPow(Q_1d, dim)], chebyshev_x[Q_1d]; in CeedBasisApplyAtPoints_Core() 639 CeedScalar tmp[2][num_comp * CeedIntPow(Q_1d, dim)], chebyshev_x[Q_1d]; in CeedBasisApplyAtPoints_Core() 954 CeedInt tensor_flops = 0, pre = num_comp * CeedIntPow(P_1d, dim - 1), post = 1; in CeedBasisGetFlopsEstimate() 972 CeedInt point_tensor_flops = 0, pre = CeedIntPow(Q_1d, dim - 1), post = 1; in CeedBasisGetFlopsEstimate() 985 …_points * num_comp * (point_tensor_flops + (t_mode == CEED_TRANSPOSE ? CeedIntPow(Q_1d, dim) : 0)); in CeedBasisGetFlopsEstimate() [all …]
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref-basis.sycl.cpp | 70 const CeedInt num_nodes = CeedIntPow(P_1d, dim); in CeedBasisApplyInterp_Sycl() 71 const CeedInt num_qpts = CeedIntPow(Q_1d, dim); in CeedBasisApplyInterp_Sycl() 173 const CeedInt num_nodes = CeedIntPow(P_1d, dim); in CeedBasisApplyGrad_Sycl() 174 const CeedInt num_qpts = CeedIntPow(Q_1d, dim); in CeedBasisApplyGrad_Sycl() 574 const CeedInt num_nodes = CeedIntPow(P_1d, dim); in CeedBasisCreateTensorH1_Sycl() 575 const CeedInt num_qpts = CeedIntPow(Q_1d, dim); in CeedBasisCreateTensorH1_Sycl()
|