Home
last modified time | relevance | path

Searched refs:identity (Results 1 – 18 of 18) sorted by relevance

/libCEED/include/ceed/jit-source/cuda/
H A Dcuda-ref-operator-assemble-diagonal.h21 … GetBasisPointer(const CeedScalar **basis_ptr, CeedEvalMode eval_modes, const CeedScalar *identity, in GetBasisPointer() argument
25 *basis_ptr = identity; in GetBasisPointer()
48 …void LinearDiagonal(const CeedInt num_elem, const CeedScalar *identity, const CeedScalar *interp_i… in __launch_bounds__()
68 … GetBasisPointer(&b_t, eval_modes_out[e_out], identity, interp_out, grad_out, div_out, curl_out); in __launch_bounds__()
76 GetBasisPointer(&b, eval_modes_in[e_in], identity, interp_in, grad_in, div_in, curl_in); in __launch_bounds__()
/libCEED/include/ceed/jit-source/hip/
H A Dhip-ref-operator-assemble-diagonal.h21 … GetBasisPointer(const CeedScalar **basis_ptr, CeedEvalMode eval_modes, const CeedScalar *identity, in GetBasisPointer() argument
25 *basis_ptr = identity; in GetBasisPointer()
48 …void LinearDiagonal(const CeedInt num_elem, const CeedScalar *identity, const CeedScalar *interp_i… in __launch_bounds__()
68 … GetBasisPointer(&b_t, eval_modes_out[e_out], identity, interp_out, grad_out, div_out, curl_out); in __launch_bounds__()
76 GetBasisPointer(&b, eval_modes_in[e_in], identity, interp_in, grad_in, div_in, curl_in); in __launch_bounds__()
/libCEED/interface/
H A Dceed-preconditioning.c253 CeedScalar *elem_diag_array, *identity = NULL; in CeedOperatorLinearAssembleAddDiagonalSingle_Mesh() local
308 CeedCall(CeedCalloc(num_qpts * num_nodes, &identity)); in CeedOperatorLinearAssembleAddDiagonalSingle_Mesh()
309 …for (CeedInt i = 0; i < (num_nodes < num_qpts ? num_nodes : num_qpts); i++) identity[i * num_nodes… in CeedOperatorLinearAssembleAddDiagonalSingle_Mesh()
324 …eedOperatorGetBasisPointer(active_bases_out[b_out], eval_modes_out[b_out][e_out], identity, &B_t)); in CeedOperatorLinearAssembleAddDiagonalSingle_Mesh()
335 …dCall(CeedOperatorGetBasisPointer(active_bases_in[b_in], eval_modes_in[b_in][e_in], identity, &B)); in CeedOperatorLinearAssembleAddDiagonalSingle_Mesh()
382 CeedCall(CeedFree(&identity)); in CeedOperatorLinearAssembleAddDiagonalSingle_Mesh()
1327 int CeedOperatorGetBasisPointer(CeedBasis basis, CeedEvalMode eval_mode, const CeedScalar *identity in CeedOperatorGetBasisPointer() argument
1330 *basis_ptr = identity; in CeedOperatorGetBasisPointer()
1840 CeedScalar *B_in = NULL, *identity = NULL; in CeedOperatorAssemblyDataGetBases() local
1849 CeedCall(CeedCalloc(num_qpts * num_nodes, &identity)); in CeedOperatorAssemblyDataGetBases()
[all …]
/libCEED/julia/LibCEED.jl/src/
H A DQFunction.jl12 [`create_interior_qfunction`](@ref). The identity Q-function can be created using
81 Create an identity [`QFunction`](@ref). Inputs are written into outputs in the order given.
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-operator.c1214 CeedScalar *identity = NULL; in CeedOperatorAssembleDiagonalSetup_Hip() local
1216 CeedCallBackend(CeedCalloc(num_nodes * num_qpts, &identity)); in CeedOperatorAssembleDiagonalSetup_Hip()
1217 …for (CeedInt i = 0; i < (num_nodes < num_qpts ? num_nodes : num_qpts); i++) identity[i * num_nodes… in CeedOperatorAssembleDiagonalSetup_Hip()
1219 CeedCallHip(ceed, hipMemcpy(diag->d_identity, identity, interp_bytes, hipMemcpyHostToDevice)); in CeedOperatorAssembleDiagonalSetup_Hip()
1220 CeedCallBackend(CeedFree(&identity)); in CeedOperatorAssembleDiagonalSetup_Hip()
1633 CeedScalar *identity = NULL; in CeedOperatorAssembleSingleSetup_Hip() local
1639 CeedCallBackend(CeedCalloc(elem_size_in * num_qpts_in, &identity)); in CeedOperatorAssembleSingleSetup_Hip()
1640 … 0; i < (elem_size_in < num_qpts_in ? elem_size_in : num_qpts_in); i++) identity[i * elem_size_in … in CeedOperatorAssembleSingleSetup_Hip()
1647 CeedCallBackend(CeedOperatorGetBasisPointer(basis_in, eval_modes_in[i], identity, &h_B_in)); in CeedOperatorAssembleSingleSetup_Hip()
1658 CeedCallBackend(CeedFree(&identity)); in CeedOperatorAssembleSingleSetup_Hip()
[all …]
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-operator.c1217 CeedScalar *identity = NULL; in CeedOperatorAssembleDiagonalSetup_Cuda() local
1219 CeedCallBackend(CeedCalloc(num_nodes * num_qpts, &identity)); in CeedOperatorAssembleDiagonalSetup_Cuda()
1220 …for (CeedInt i = 0; i < (num_nodes < num_qpts ? num_nodes : num_qpts); i++) identity[i * num_nodes… in CeedOperatorAssembleDiagonalSetup_Cuda()
1222 … CeedCallCuda(ceed, cudaMemcpy(diag->d_identity, identity, interp_bytes, cudaMemcpyHostToDevice)); in CeedOperatorAssembleDiagonalSetup_Cuda()
1223 CeedCallBackend(CeedFree(&identity)); in CeedOperatorAssembleDiagonalSetup_Cuda()
1636 CeedScalar *identity = NULL; in CeedOperatorAssembleSingleSetup_Cuda() local
1642 CeedCallBackend(CeedCalloc(elem_size_in * num_qpts_in, &identity)); in CeedOperatorAssembleSingleSetup_Cuda()
1643 … 0; i < (elem_size_in < num_qpts_in ? elem_size_in : num_qpts_in); i++) identity[i * elem_size_in … in CeedOperatorAssembleSingleSetup_Cuda()
1650 CeedCallBackend(CeedOperatorGetBasisPointer(basis_in, eval_modes_in[i], identity, &h_B_in)); in CeedOperatorAssembleSingleSetup_Cuda()
1661 CeedCallBackend(CeedFree(&identity)); in CeedOperatorAssembleSingleSetup_Cuda()
[all …]
/libCEED/backends/sycl-ref/
H A Dceed-sycl-ref-operator.sycl.cpp26 …const CeedScalar **basis_ptr, CeedEvalMode eval_mode, const CeedScalar *identity, const CeedScalar… in CeedOperatorGetBasisPointer_Sycl() argument
30 *basis_ptr = identity; in CeedOperatorGetBasisPointer_Sycl()
764 CeedScalar *identity = NULL; in CeedOperatorAssembleDiagonalSetup_Sycl() local
776 CeedCallBackend(CeedCalloc(num_qpts * num_nodes, &identity)); in CeedOperatorAssembleDiagonalSetup_Sycl()
777 …for (CeedSize i = 0; i < (num_nodes < num_qpts ? num_nodes : num_qpts); i++) identity[i * num_node… in CeedOperatorAssembleDiagonalSetup_Sycl()
779 …sycl::event identity_copy = sycl_data->sycl_queue.copy<CeedScalar>(identity, diag->d_identity, i_l… in CeedOperatorAssembleDiagonalSetup_Sycl()
839 const CeedScalar *identity = diag->d_identity; in CeedOperatorLinearDiagonal_Sycl() local
865 …CeedOperatorGetBasisPointer_Sycl(&bt, eval_mode_out[e_out], identity, interp_out, &grad_out[d_out … in CeedOperatorLinearDiagonal_Sycl()
872 …CeedOperatorGetBasisPointer_Sycl(&b, eval_mode_in[e_in], identity, interp_in, &grad_in[d_in * num_… in CeedOperatorLinearDiagonal_Sycl()
/libCEED/doc/sphinx/source/
H A DCODE_OF_CONDUCT.md5 …r identity and expression, level of experience, education, socio-economic status, nationality, per…
H A DlibCEEDapi.md319 …estriction $\bm{P}$), the element restriction $\bm{\mathcal{E}}$ is the identity and {c:func}`Ceed…
380 The available QFunctions are the ones associated with the mass, the Laplacian, and the identity ope…
H A Dreleasenotes.md395 identity Q-Functions were introduced, and the PETSc benchmark problems were expanded
/libCEED/
H A DCODE_OF_CONDUCT.md5 …r identity and expression, level of experience, education, socio-economic status, nationality, per…
H A Dcoverage.info4592 SF:/home/jeremy/Dev/libCEED/gallery/identity/ceed-identity.c
4961 SF:/home/jeremy/Dev/libCEED/include/ceed/jit-source/gallery/ceed-identity.h
/libCEED/examples/python/
H A Dtutorial-4-qfunction.ipynb74 "* In the following example, we create and evaluate a built-in identity QFunction."
158 …"* In the following example, we create and evaluate a built-in identity QFunction 3 fields per qua…
H A Dtutorial-3-basis.ipynb79 … at the Gauss-Lobatto points, so interpolation to Gauss-Lobatto quadrature points is the identity."
105 …tend the basis to continuous functions by applying `EVAL_INTERP` to the identity. This is the Van…
227 " # This operation is the identity because the quadrature is collocated\n",
H A Dtutorial-2-elemrestriction.ipynb125 …"* In the following example, we illustrate the creation and use of a strided (identity) element re…
167 …"* In the following example, we illustrate the creation and view of a blocked strided (identity) e…
/libCEED/include/ceed/
H A Dbackend.h428 …BasisPointer(CeedBasis basis, CeedEvalMode eval_mode, const CeedScalar *identity, const CeedScalar…
/libCEED/examples/fluids/
H A Dindex.md28 …netic but not potential energy), $\bm{I}_3$ represents the $3 \times 3$ identity matrix, $\bm{b}$ …
420 To get second-order statistics from these terms, simply use the identity:
449 For homogenous filtering, $\bm{\Delta}$ is defined as the identity matrix.
/libCEED/examples/solids/
H A Dindex.md111 where $\bm I_3$ is the $3 \times 3$ identity matrix, the colon represents a double contraction (ove…