| /libCEED/backends/ref/ |
| H A D | ceed-ref-basis.c | 128 const CeedScalar *grad_1d; in CeedBasisApplyCore_Ref() local 130 CeedCallBackend(CeedBasisGetGrad1D(basis, &grad_1d)); in CeedBasisApplyCore_Ref() 136 …CeedCallBackend(CeedTensorContractApply(contract, pre, P, post, Q, grad_1d, t_mode, add && (d > 0), in CeedBasisApplyCore_Ref() 143 const CeedScalar *grad_1d; in CeedBasisApplyCore_Ref() local 145 CeedCallBackend(CeedBasisGetGrad1D(basis, &grad_1d)); 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 …ef(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Ref() argument
|
| H A D | ceed-ref.h | 70 …ef(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| /libCEED/examples/mfem/ |
| H A D | bp1.hpp | 59 mfem::DenseMatrix grad_1d(fe1d->GetDof(), ir.GetNPoints()); in FESpace2Ceed() local 62 mfem::DenseMatrix grad_i(grad_1d.Height(), 1); in FESpace2Ceed() 74 grad_1d(j, i) = grad_i(dof_map_1d[j], 0); in FESpace2Ceed() 77 …esh->Dimension(), fes->GetVDim(), order + 1, ir.GetNPoints(), shape1d.GetData(), grad_1d.GetData(), in FESpace2Ceed()
|
| H A D | bp3.hpp | 60 mfem::DenseMatrix grad_1d(fe1d->GetDof(), ir.GetNPoints()); in FESpace2Ceed() local 63 mfem::DenseMatrix grad_i(grad_1d.Height(), 1); in FESpace2Ceed() 75 grad_1d(j, i) = grad_i(dof_map_1d[j], 0); in FESpace2Ceed() 78 …esh->Dimension(), fes->GetVDim(), order + 1, ir.GetNPoints(), shape1d.GetData(), grad_1d.GetData(), in FESpace2Ceed()
|
| /libCEED/examples/deal.II/ |
| H A D | bps-ceed.h | 130 std::vector<CeedScalar> grad_1d(shape_data.shape_gradients.size()); in reinit() 135 grad_1d[j + i * (fe_degree + 1)] = shape_data.shape_gradients[j * n_q_points + i]; in reinit() 144 grad_1d.data(), in reinit() 458 std::vector<CeedScalar> grad_1d(shape_data.shape_gradients.size()); in compute_metric_data() 463 grad_1d[j + i * (fe_degree + 1)] = shape_data.shape_gradients[j * n_q_points + i]; in compute_metric_data() 472 grad_1d.data(), in compute_metric_data()
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 737 const CeedScalar *grad_1d, *interp_1d; in CeedBasisGetCollocatedGrad() local 748 CeedCall(CeedBasisGetGrad1D(basis, &grad_1d)); in CeedBasisGetCollocatedGrad() 749 …CeedCall(CeedMatrixMatrixMultiply(ceed, grad_1d, (const CeedScalar *)interp_1d_pinv, collo_grad_1d… in CeedBasisGetCollocatedGrad() 1537 …const CeedScalar *grad_1d, const CeedScalar *q_ref_1d, const CeedScalar *q_weight_1d, CeedBasis *b… in CeedBasisCreateTensorH1() argument 1543 …CeedCall(CeedBasisCreateTensorH1(delegate, dim, num_comp, P_1d, Q_1d, interp_1d, grad_1d, q_ref_1d… in CeedBasisCreateTensorH1() 1571 CeedCall(CeedCalloc(Q_1d * P_1d, &(*basis)->grad_1d)); in CeedBasisCreateTensorH1() 1573 if (grad_1d) memcpy((*basis)->grad_1d, grad_1d, Q_1d * P_1d * sizeof(grad_1d[0])); in CeedBasisCreateTensorH1() 1574 …CeedCall(ceed->BasisCreateTensorH1(dim, P_1d, Q_1d, interp_1d, grad_1d, q_ref_1d, q_weight_1d, *ba… in CeedBasisCreateTensorH1() 1597 CeedScalar c1, c2, c3, c4, dx, *nodes, *interp_1d, *grad_1d, *q_ref_1d, *q_weight_1d; in CeedBasisCreateTensorH1Lagrange() local 1606 CeedCall(CeedCalloc(P * Q, &grad_1d)); in CeedBasisCreateTensorH1Lagrange() [all …]
|
| H A D | ceed-fortran.c | 522 … const CeedScalar *grad_1d, const CeedScalar *q_ref_1d, const CeedScalar *q_weight_1d, int *basis, in fCeedBasisCreateTensorH1() argument 529 …eateTensorH1(Ceed_dict[*ceed], *dim, *num_comp, *P_1d, *Q_1d, interp_1d, grad_1d, q_ref_1d, q_weig… in fCeedBasisCreateTensorH1() 621 CEED_EXTERN void fCeedBasisGetGrad1D(int *basis, CeedScalar *grad_1d, int64_t *offset, int *err) { in fCeedBasisGetGrad1D() argument 625 *offset = grad1d_ - grad_1d; in fCeedBasisGetGrad1D()
|
| H A D | ceed-preconditioning.c | 1285 static int CeedBuildMassLaplace(const CeedScalar *interp_1d, const CeedScalar *grad_1d, const CeedS… in CeedBuildMassLaplace() argument 1299 …for (CeedInt k = 0; k < Q_1d; k++) sum += grad_1d[k * P_1d + i] * q_weight_1d[k] * grad_1d[k * P_1… in CeedBuildMassLaplace() 2909 const CeedScalar *interp_1d, *grad_1d, *q_weight_1d; in CeedOperatorCreateFDMElementInverse() local 2978 CeedCall(CeedBasisGetGrad1D(basis, &grad_1d)); in CeedOperatorCreateFDMElementInverse() 2980 CeedCall(CeedBuildMassLaplace(interp_1d, grad_1d, q_weight_1d, P_1d, Q_1d, dim, mass, laplace)); in CeedOperatorCreateFDMElementInverse()
|
| /libCEED/backends/sycl-shared/ |
| H A D | ceed-sycl-shared.hpp | 33 …ed(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-sycl-shared-basis.sycl.cpp | 168 …ed(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Sycl_shared() argument 216 …sycl::event copy_grad = data->sycl_queue.copy<CeedScalar>(grad_1d, impl->d_grad_1d, interp_length,… in CeedBasisCreateTensorH1_Sycl_shared()
|
| /libCEED/backends/hip-shared/ |
| H A D | ceed-hip-shared.h | 41 …ed(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-hip-shared-basis.c | 655 …ed(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Hip_shared() argument 674 CeedCallHip(ceed, hipMemcpy(data->d_grad_1d, grad_1d, interp_bytes, hipMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Hip_shared()
|
| /libCEED/backends/cuda-shared/ |
| H A D | ceed-cuda-shared.h | 40 …ed(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-cuda-shared-basis.c | 594 …ed(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Cuda_shared() argument 613 CeedCallCuda(ceed, cudaMemcpy(data->d_grad_1d, grad_1d, interp_bytes, cudaMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Cuda_shared()
|
| /libCEED/backends/magma/ |
| H A D | ceed-magma.h | 78 …ma(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-magma-basis.c | 531 …ma(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Magma() argument 553 CeedCallBackend(magma_malloc((void **)&impl->d_grad_1d, Q_1d * P_1d * sizeof(grad_1d[0]))); in CeedBasisCreateTensorH1_Magma() 554 magma_setvector(Q_1d * P_1d, sizeof(grad_1d[0]), grad_1d, 1, impl->d_grad_1d, 1, data->queue); in CeedBasisCreateTensorH1_Magma()
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-basis-tensor.h | 78 …const CeedScalar *__restrict__ grad_1d, const CeedScalar *__restrict__ u, CeedScalar *__restrict__… in Grad() argument 88 s_grad_1d[k] = grad_1d[k]; in Grad()
|
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-basis-tensor.h | 78 …const CeedScalar *__restrict__ grad_1d, const CeedScalar *__restrict__ u, CeedScalar *__restrict__… in Grad() argument 88 s_grad_1d[k] = grad_1d[k]; in Grad()
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref.hpp | 117 …cl(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-sycl-ref-basis.sycl.cpp | 147 const CeedScalar *grad_1d = impl->d_grad_1d; in CeedBasisApplyGrad_Sycl() local 197 s_grad_1d[k] = grad_1d[k]; in CeedBasisApplyGrad_Sycl() 561 …cl(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Sycl() argument 603 …sycl::event copy_grad = data->sycl_queue.copy<CeedScalar>(grad_1d, impl->d_grad_1d, interp_length,… in CeedBasisCreateTensorH1_Sycl()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref.h | 157 …da(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-cuda-ref-basis.c | 399 …da(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Cuda() argument 418 CeedCallCuda(ceed, cudaMemcpy(data->d_grad_1d, grad_1d, interp_bytes, cudaMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Cuda()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref.h | 162 …ip(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d,
|
| H A D | ceed-hip-ref-basis.c | 398 …ip(CeedInt dim, CeedInt P_1d, CeedInt Q_1d, const CeedScalar *interp_1d, const CeedScalar *grad_1d, in CeedBasisCreateTensorH1_Hip() argument 417 CeedCallHip(ceed, hipMemcpy(data->d_grad_1d, grad_1d, interp_bytes, hipMemcpyHostToDevice)); in CeedBasisCreateTensorH1_Hip()
|
| /libCEED/include/ |
| H A D | ceed-impl.h | 227 …CeedScalar *grad_1d; /* row-major matrix of shape [Q1d, P1d] matrix expressing derivatives of no… member
|