Home
last modified time | relevance | path

Searched refs:CeedIntPow (Results 1 – 25 of 43) sorted by relevance

12

/libCEED/tests/
H A Dt360-basis.c16 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 Dt361-basis.c34 …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 Dt315-basis.c34 …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 Dt314-basis.c34 …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 Dt316-basis.c34 …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 Dt351-basis.c25 …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 Dt313-basis.c25 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 Dt318-basis.c24 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 Dt365-basis.c34 …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 Dt356-basis.c35 …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 Dt357-basis.c34 …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 Dt352-basis.c25 …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 Dt354-basis.c25 …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 Dt319-basis.c119 …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 Dt217-elemrestriction.c40 if (y_array[k] * CeedIntPow(-1, i % 2) != 10 + (k + 1) / 2) { in main()
H A Dt350-basis.c36 for (CeedInt i = 0; i < 2; i++) x_array[i] = CeedIntPow(-1, i + 1); in main()
/libCEED/backends/ref/
H A Dceed-ref-basis.c67 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 Dceed-hip-ref-basis.c52 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 Dceed-cuda-ref-basis.c52 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 Dex2-surface.c205 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 Dex3-volume.c189 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 Dex1-volume.c199 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 Dex1-volume.c209 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 Dceed-basis.c514 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 Dceed-sycl-ref-basis.sycl.cpp70 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()

12