| /libCEED/backends/ref/ |
| H A D | ceed-ref-basis.c | 69 const CeedScalar *interp_1d; in CeedBasisApplyCore_Ref() local 71 CeedCallBackend(CeedBasisGetInterp1D(basis, &interp_1d)); in CeedBasisApplyCore_Ref() 73 …CeedCallBackend(CeedTensorContractApply(contract, pre, P, post, Q, interp_1d, t_mode, add && (d ==… in CeedBasisApplyCore_Ref() 93 const CeedScalar *interp_1d; in CeedBasisApplyCore_Ref() local 95 CeedCallBackend(CeedBasisGetInterp1D(basis, &interp_1d)); in CeedBasisApplyCore_Ref() 103 …rContractApply(contract, pre, P, post, Q, (t_mode == CEED_NOTRANSPOSE ? interp_1d : impl->collo_gr… in CeedBasisApplyCore_Ref() 119 …(contract, pre, P, post, Q, (t_mode == CEED_NOTRANSPOSE ? impl->collo_grad_1d : interp_1d), t_mode, in CeedBasisApplyCore_Ref() 159 … contract, pre, P, post, Q, (p == d) ? grad_1d : interp_1d, t_mode, add && (d == dim - 1), in CeedBasisApplyCore_Ref() 278 …TensorH1_Ref(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Ref() argument
|
| H A D | ceed-ref.h | 70 …TensorH1_Ref(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 737 const CeedScalar *grad_1d, *interp_1d; in CeedBasisGetCollocatedGrad() local 746 CeedCall(CeedBasisGetInterp1D(basis, &interp_1d)); in CeedBasisGetCollocatedGrad() 747 CeedCall(CeedMatrixPseudoinverse(ceed, interp_1d, Q_1d, P_1d, interp_1d_pinv)); in CeedBasisGetCollocatedGrad() 769 const CeedScalar *interp_1d, *q_ref_1d; in CeedBasisGetChebyshevInterp1D() local 788 CeedCall(CeedBasisGetInterp1D(basis, &interp_1d)); in CeedBasisGetChebyshevInterp1D() 789 …CeedCall(CeedMatrixMatrixMultiply(ceed, chebyshev_coeffs_1d_inv, interp_1d, chebyshev_interp_1d, Q… in CeedBasisGetChebyshevInterp1D() 828 …*is_collocated = *is_collocated && (fabs(basis->interp_1d[i + basis->P_1d * i] - 1.0) < 10 * CEED_… in CeedBasisIsCollocated() 830 …if (j != i) *is_collocated = *is_collocated && (fabs(basis->interp_1d[j + basis->P_1d * i]) < 10 *… in CeedBasisIsCollocated() 1536 …(Ceed ceed, CeedInt dim, CeedInt num_comp, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, in CeedBasisCreateTensorH1() argument 1543 …CeedCall(CeedBasisCreateTensorH1(delegate, dim, num_comp, P_1d, Q_1d, interp_1d, grad_1d, q_ref_1d… in CeedBasisCreateTensorH1() [all …]
|
| H A D | ceed-fortran.c | 521 …eateTensorH1(int *ceed, int *dim, int *num_comp, int *P_1d, int *Q_1d, const CeedScalar *interp_1d, in fCeedBasisCreateTensorH1() argument 529 …*err = CeedBasisCreateTensorH1(Ceed_dict[*ceed], *dim, *num_comp, *P_1d, *Q_1d, interp_1d, grad_1d… in fCeedBasisCreateTensorH1() 613 CEED_EXTERN void fCeedBasisGetInterp1D(int *basis, CeedScalar *interp_1d, int64_t *offset, int *err… in fCeedBasisGetInterp1D() argument 617 *offset = interp1d_ - interp_1d; in fCeedBasisGetInterp1D()
|
| H A D | ceed-preconditioning.c | 1285 static int CeedBuildMassLaplace(const CeedScalar *interp_1d, const CeedScalar *grad_1d, const CeedS… in CeedBuildMassLaplace() argument 1290 …for (CeedInt k = 0; k < Q_1d; k++) sum += interp_1d[k * P_1d + i] * q_weight_1d[k] * interp_1d[k *… in CeedBuildMassLaplace() 2909 const CeedScalar *interp_1d, *grad_1d, *q_weight_1d; in CeedOperatorCreateFDMElementInverse() local 2977 CeedCall(CeedBasisGetInterp1D(basis, &interp_1d)); in CeedOperatorCreateFDMElementInverse() 2980 CeedCall(CeedBuildMassLaplace(interp_1d, grad_1d, q_weight_1d, P_1d, Q_1d, dim, mass, laplace)); in CeedOperatorCreateFDMElementInverse()
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-basis-tensor.h | 19 …nterp(const CeedInt num_elem, const CeedInt is_transpose, const CeedScalar *__restrict__ interp_1d, in Interp() argument 28 s_interp_1d[k] = interp_1d[k]; in Interp() 77 … Grad(const CeedInt num_elem, const CeedInt is_transpose, const CeedScalar *__restrict__ interp_1d, in Grad() argument 87 s_interp_1d[k] = interp_1d[k]; in Grad()
|
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-basis-tensor.h | 19 …nterp(const CeedInt num_elem, const CeedInt is_transpose, const CeedScalar *__restrict__ interp_1d, in Interp() argument 28 s_interp_1d[k] = interp_1d[k]; in Interp() 77 … Grad(const CeedInt num_elem, const CeedInt is_transpose, const CeedScalar *__restrict__ interp_1d, in Grad() argument 87 s_interp_1d[k] = interp_1d[k]; in Grad()
|
| /libCEED/examples/deal.II/ |
| H A D | bps-ceed.h | 129 std::vector<CeedScalar> interp_1d(shape_data.shape_values.size()); in reinit() 134 interp_1d[j + i * (fe_degree + 1)] = shape_data.shape_values[j * n_q_points + i]; in reinit() 143 interp_1d.data(), in reinit() 457 std::vector<CeedScalar> interp_1d(shape_data.shape_values.size()); in compute_metric_data() 462 interp_1d[j + i * (fe_degree + 1)] = shape_data.shape_values[j * n_q_points + i]; in compute_metric_data() 471 interp_1d.data(), in compute_metric_data()
|
| /libCEED/backends/sycl-shared/ |
| H A D | ceed-sycl-shared.hpp | 33 …_Sycl_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| H A D | ceed-sycl-shared-basis.sycl.cpp | 168 …_Sycl_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Sycl_shared() argument 212 …sycl::event copy_interp = data->sycl_queue.copy<CeedScalar>(interp_1d, impl->d_interp_1d, interp_l… in CeedBasisCreateTensorH1_Sycl_shared()
|
| /libCEED/backends/hip-shared/ |
| H A D | ceed-hip-shared.h | 41 …1_Hip_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| H A D | ceed-hip-shared-basis.c | 655 …1_Hip_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Hip_shared() argument 672 CeedCallHip(ceed, hipMemcpy(data->d_interp_1d, interp_1d, interp_bytes, hipMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Hip_shared()
|
| /libCEED/backends/cuda-shared/ |
| H A D | ceed-cuda-shared.h | 40 …_Cuda_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| H A D | ceed-cuda-shared-basis.c | 594 …_Cuda_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Cuda_shared() argument 611 …CeedCallCuda(ceed, cudaMemcpy(data->d_interp_1d, interp_1d, interp_bytes, cudaMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Cuda_shared()
|
| /libCEED/backends/magma/ |
| H A D | ceed-magma.h | 78 …nsorH1_Magma(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| H A D | ceed-magma-basis.c | 531 …nsorH1_Magma(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Magma() argument 551 CeedCallBackend(magma_malloc((void **)&impl->d_interp_1d, Q_1d * P_1d * sizeof(interp_1d[0]))); in CeedBasisCreateTensorH1_Magma() 552 …magma_setvector(Q_1d * P_1d, sizeof(interp_1d[0]), interp_1d, 1, impl->d_interp_1d, 1, data->queue… in CeedBasisCreateTensorH1_Magma()
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref-basis.sycl.cpp | 43 const CeedScalar *interp_1d = impl->d_interp_1d; in CeedBasisApplyInterp_Sycl() local 92 s_interp_1d[k] = interp_1d[k]; in CeedBasisApplyInterp_Sycl() 146 const CeedScalar *interp_1d = impl->d_interp_1d; in CeedBasisApplyGrad_Sycl() local 196 s_interp_1d[k] = interp_1d[k]; in CeedBasisApplyGrad_Sycl() 561 …ensorH1_Sycl(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Sycl() argument 599 …sycl::event copy_interp = data->sycl_queue.copy<CeedScalar>(interp_1d, impl->d_interp_1d, interp_l… in CeedBasisCreateTensorH1_Sycl()
|
| H A D | ceed-sycl-ref.hpp | 117 …ensorH1_Sycl(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref.h | 157 …ensorH1_Cuda(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| H A D | ceed-cuda-ref-basis.c | 399 …ensorH1_Cuda(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Cuda() argument 416 …CeedCallCuda(ceed, cudaMemcpy(data->d_interp_1d, interp_1d, interp_bytes, cudaMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Cuda()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref.h | 162 …TensorH1_Hip(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
|
| H A D | ceed-hip-ref-basis.c | 398 …TensorH1_Hip(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala… in CeedBasisCreateTensorH1_Hip() argument 415 CeedCallHip(ceed, hipMemcpy(data->d_interp_1d, interp_1d, interp_bytes, hipMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Hip()
|
| /libCEED/include/ |
| H A D | ceed-impl.h | 225 …CeedScalar *interp_1d; /* row-major matrix of shape [Q1d, P1d] expressing the values of nodal basi… member
|
| /libCEED/include/ceed/ |
| H A D | ceed.h | 321 …(Ceed ceed, CeedInt dim, CeedInt num_comp, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, 352 CEED_EXTERN int CeedBasisGetInterp1D(CeedBasis basis, const CeedScalar **interp_1d);
|
| /libCEED/julia/LibCEED.jl/src/generated/ |
| H A D | libceed_bindings.jl | 407 function CeedBasisCreateTensorH1(ceed, dim, num_comp, P_1d, Q_1d, interp_1d, grad_1d, q_ref_1d, q_w… argument 408 …ar}, Ptr{CeedScalar}, Ptr{CeedBasis}), ceed, dim, num_comp, P_1d, Q_1d, interp_1d, grad_1d, q_ref_… 487 function CeedBasisGetInterp1D(basis, interp_1d) argument 488 … ccall((:CeedBasisGetInterp1D, libceed), Cint, (CeedBasis, Ptr{Ptr{CeedScalar}}), basis, interp_1d)
|