Home
last modified time | relevance | path

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

/libCEED/backends/ref/
H A Dceed-ref-basis.c69 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 Dceed-ref.h70 …TensorH1_Ref(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
/libCEED/interface/
H A Dceed-basis.c737 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 Dceed-fortran.c521 …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 Dceed-preconditioning.c1285 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 Dhip-ref-basis-tensor.h19 …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 Dcuda-ref-basis-tensor.h19 …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 Dbps-ceed.h129 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 Dceed-sycl-shared.hpp33 …_Sycl_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
H A Dceed-sycl-shared-basis.sycl.cpp168 …_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 Dceed-hip-shared.h41 …1_Hip_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
H A Dceed-hip-shared-basis.c655 …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 Dceed-cuda-shared.h40 …_Cuda_shared(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
H A Dceed-cuda-shared-basis.c594 …_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 Dceed-magma.h78 …nsorH1_Magma(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
H A Dceed-magma-basis.c531 …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 Dceed-sycl-ref-basis.sycl.cpp43 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 Dceed-sycl-ref.hpp117 …ensorH1_Sycl(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref.h157 …ensorH1_Cuda(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
H A Dceed-cuda-ref-basis.c399 …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 Dceed-hip-ref.h162 …TensorH1_Hip(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScala…
H A Dceed-hip-ref-basis.c398 …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 Dceed-impl.h225 …CeedScalar *interp_1d; /* row-major matrix of shape [Q1d, P1d] expressing the values of nodal basi… member
/libCEED/include/ceed/
H A Dceed.h321 …(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 Dlibceed_bindings.jl407 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)