Home
last modified time | relevance | path

Searched refs:curl_orients (Results 1 – 23 of 23) sorted by relevance

/libCEED/tests/
H A Dt218-elemrestriction.c12 CeedInt8 curl_orients[3 * elem_size * num_elem]; in main() local
34 curl_orients[3 * 4 * i + 0] = 0; in main()
35 curl_orients[3 * 4 * i + 1] = 1; in main()
36 curl_orients[3 * 4 * i + 2] = 0; in main()
37 curl_orients[3 * 4 * i + 3] = 0; in main()
38 curl_orients[3 * 4 * i + 4] = 1; in main()
39 curl_orients[3 * 4 * i + 5] = 0; in main()
40 curl_orients[3 * 4 * i + 6] = 0; in main()
41 curl_orients[3 * 4 * i + 7] = 0; in main()
42 curl_orients[3 * 4 * i + 8] = -1; in main()
[all …]
H A Dt219-elemrestriction.c14 CeedInt8 curl_orients[3 * elem_size * num_elem]; in main() local
29 curl_orients[3 * 2 * i] = curl_orients[3 * 2 * (i + 1) - 1] = 0; in main()
33 curl_orients[3 * 2 * i + 1] = 0; in main()
34 curl_orients[3 * 2 * i + 2] = -1; in main()
35 curl_orients[3 * 2 * i + 3] = -1; in main()
36 curl_orients[3 * 2 * i + 4] = 0; in main()
39 curl_orients[3 * 2 * i + 1] = 1; in main()
40 curl_orients[3 * 2 * i + 2] = 0; in main()
41 curl_orients[3 * 2 * i + 3] = 0; in main()
42 curl_orients[3 * 2 * i + 4] = 1; in main()
[all …]
/libCEED/include/ceed/jit-source/hip/
H A Dhip-ref-restriction-curl-oriented.h15 …OrientedNoTranspose(const CeedInt *__restrict__ indices, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedNoTranspose() argument
23 const CeedInt8 curl_orient_dl = curl_orients[3 * node + 0]; in CurlOrientedNoTranspose()
24 const CeedInt8 curl_orient_d = curl_orients[3 * node + 1]; in CurlOrientedNoTranspose()
25 const CeedInt8 curl_orient_du = curl_orients[3 * node + 2]; in CurlOrientedNoTranspose()
40 …UnsignedNoTranspose(const CeedInt *__restrict__ indices, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedUnsignedNoTranspose() argument
48 const CeedInt8 curl_orient_dl = abs(curl_orients[3 * node + 0]); in CurlOrientedUnsignedNoTranspose()
49 const CeedInt8 curl_orient_d = abs(curl_orients[3 * node + 1]); in CurlOrientedUnsignedNoTranspose()
50 const CeedInt8 curl_orient_du = abs(curl_orients[3 * node + 2]); in CurlOrientedUnsignedNoTranspose()
66 …rlOrientedTranspose(const CeedInt *__restrict__ indices, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedTranspose() argument
72 const CeedInt8 curl_orient_du = loc_node > 0 ? curl_orients[3 * node - 1] : 0.0; in CurlOrientedTranspose()
[all …]
/libCEED/include/ceed/jit-source/cuda/
H A Dcuda-ref-restriction-curl-oriented.h15 …OrientedNoTranspose(const CeedInt *__restrict__ indices, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedNoTranspose() argument
23 const CeedInt8 curl_orient_dl = curl_orients[3 * node + 0]; in CurlOrientedNoTranspose()
24 const CeedInt8 curl_orient_d = curl_orients[3 * node + 1]; in CurlOrientedNoTranspose()
25 const CeedInt8 curl_orient_du = curl_orients[3 * node + 2]; in CurlOrientedNoTranspose()
40 …UnsignedNoTranspose(const CeedInt *__restrict__ indices, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedUnsignedNoTranspose() argument
48 const CeedInt8 curl_orient_dl = abs(curl_orients[3 * node + 0]); in CurlOrientedUnsignedNoTranspose()
49 const CeedInt8 curl_orient_d = abs(curl_orients[3 * node + 1]); in CurlOrientedUnsignedNoTranspose()
50 const CeedInt8 curl_orient_du = abs(curl_orients[3 * node + 2]); in CurlOrientedUnsignedNoTranspose()
66 …rlOrientedTranspose(const CeedInt *__restrict__ indices, const CeedInt8 *__restrict__ curl_orients, in CurlOrientedTranspose() argument
72 const CeedInt8 curl_orient_du = loc_node > 0 ? curl_orients[3 * node - 1] : 0.0; in CurlOrientedTranspose()
[all …]
/libCEED/backends/memcheck/
H A Dceed-memcheck-restriction.c124 impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
126 impl->curl_orients[j + (3 * n + 2) * block_size + e * 3 * elem_size]; in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
132 impl->curl_orients[j + (3 * n + 0) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
134 impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
136 impl->curl_orients[j + (3 * n + 2) * block_size + e * 3 * elem_size]; in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
142 impl->curl_orients[j + (3 * n + 0) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
144 impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size]; in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
165 abs(impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size]) + in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core()
167 abs(impl->curl_orients[j + (3 * n + 2) * block_size + e * 3 * elem_size]); in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core()
173 abs(impl->curl_orients[j + (3 * n + 0) * block_size + e * 3 * elem_size]) + in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core()
[all …]
H A Dceed-memcheck.h36 …const CeedInt8 *curl_orients; /* Tridiagonal matrix (row-major) for a general transformation durin… member
69 … const CeedInt8 *curl_orients, CeedElemRestriction r);
/libCEED/python/tests/
H A Dtest-2-elemrestriction.py314 curl_orients = np.zeros(3 * 2 * num_elem, dtype="int8")
318 curl_orients[3 * 2 * i] = curl_orients[3 * 2 * (i + 1) - 1] = 0
322 curl_orients[3 * 2 * i + 1] = 0
323 curl_orients[3 * 2 * i + 2] = -1
324 curl_orients[3 * 2 * i + 3] = -1
325 curl_orients[3 * 2 * i + 4] = 0
328 curl_orients[3 * 2 * i + 1] = 1
329 curl_orients[3 * 2 * i + 2] = 0
330 curl_orients[3 * 2 * i + 3] = 0
331 curl_orients[3 * 2 * i + 4] = 1
[all …]
/libCEED/backends/ref/
H A Dceed-ref-restriction.c111 impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
113 impl->curl_orients[j + (3 * n + 2) * block_size + e * 3 * elem_size]; in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
119 impl->curl_orients[j + (3 * n + 0) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
121 impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
123 impl->curl_orients[j + (3 * n + 2) * block_size + e * 3 * elem_size]; in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
129 impl->curl_orients[j + (3 * n + 0) * block_size + e * 3 * elem_size] + in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
131 impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size]; in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
154 abs(impl->curl_orients[j + (3 * n + 1) * block_size + e * 3 * elem_size]) + in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Ref_Core()
156 abs(impl->curl_orients[j + (3 * n + 2) * block_size + e * 3 * elem_size]); in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Ref_Core()
162 abs(impl->curl_orients[j + (3 * n + 0) * block_size + e * 3 * elem_size]) + in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Ref_Core()
[all …]
H A Dceed-ref.h27 …const CeedInt8 *curl_orients; /* Tridiagonal matrix (row-major) for a general transformation durin… member
68 const CeedInt8 *curl_orients, CeedElemRestriction r);
/libCEED/python/
H A Dceed_elemrestriction.py249 curl_orients, memtype=MEM_HOST, cmode=COPY_VALUES): argument
259 self._array_reference_aux = curl_orients
270 curl_orients.__array_interface__['data'][0])
407 offsets, curl_orients, memtype=MEM_HOST, cmode=COPY_VALUES): argument
420 curl_orients.__array_interface__['data'][0])
H A Dceed.py258 … offsets, curl_orients, memtype=lib.CEED_MEM_HOST, cmode=lib.CEED_COPY_VALUES): argument
288 …self, nelem, elemsize, ncomp, compstride, lsize, offsets, curl_orients, memtype=memtype, cmode=cmo…
382 … lsize, offsets, curl_orients, memtype=lib.CEED_MEM_HOST, cmode=lib.CEED_COPY_VALUES): argument
416 …self, nelem, elemsize, blksize, ncomp, compstride, lsize, offsets, curl_orients, memtype=memtype, …
/libCEED/interface/
H A Dceed-elemrestriction.c89 int CeedPermutePadCurlOrients(const CeedInt8 *curl_orients, CeedInt8 *block_curl_orients, CeedInt n… in CeedPermutePadCurlOrients() argument
94 …block_curl_orients[e * elem_size + k * block_size + j] = curl_orients[CeedIntMin(e + j, num_elem -… in CeedPermutePadCurlOrients()
349 …etCurlOrientations(CeedElemRestriction rstr, CeedMemType mem_type, const CeedInt8 **curl_orients) { in CeedElemRestrictionGetCurlOrientations() argument
352 CeedCall(rstr->GetCurlOrientations(rstr, mem_type, curl_orients)); in CeedElemRestrictionGetCurlOrientations()
367 …edElemRestrictionRestoreCurlOrientations(CeedElemRestriction rstr, const CeedInt8 **curl_orients) { in CeedElemRestrictionRestoreCurlOrientations() argument
368 *curl_orients = NULL; in CeedElemRestrictionRestoreCurlOrientations()
771 …CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const CeedInt8 *curl_orients, in CeedElemRestrictionCreateCurlOriented() argument
779 curl_orients, rstr)); in CeedElemRestrictionCreateCurlOriented()
800 CeedCall(ceed->ElemRestrictionCreate(mem_type, copy_mode, offsets, NULL, curl_orients, *rstr)); in CeedElemRestrictionCreateCurlOriented()
1092 … const CeedInt *offsets, const CeedInt8 *curl_orients, CeedElemRestriction *rstr) { in CeedElemRestrictionCreateBlockedCurlOriented() argument
[all …]
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-restriction.c357 …lOrientations_Cuda(CeedElemRestriction rstr, CeedMemType mem_type, const CeedInt8 **curl_orients) { in CeedElemRestrictionGetCurlOrientations_Cuda() argument
363 *curl_orients = impl->h_curl_orients; in CeedElemRestrictionGetCurlOrientations_Cuda()
366 *curl_orients = impl->d_curl_orients; in CeedElemRestrictionGetCurlOrientations_Cuda()
499 const CeedInt8 *curl_orients, CeedElemRestriction rstr) { in CeedElemRestrictionCreate_Cuda() argument
628 …CeedCallBackend(CeedSetHostCeedInt8Array(curl_orients, copy_mode, 3 * size, &impl->h_curl_orients_… in CeedElemRestrictionCreate_Cuda()
636 …CeedCallBackend(CeedSetDeviceCeedInt8Array_Cuda(ceed, curl_orients, copy_mode, 3 * size, &impl->d_… in CeedElemRestrictionCreate_Cuda()
H A Dceed-cuda-ref.h155 const CeedInt8 *curl_orients, CeedElemRestriction r);
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-restriction.c358 …rlOrientations_Hip(CeedElemRestriction rstr, CeedMemType mem_type, const CeedInt8 **curl_orients) { in CeedElemRestrictionGetCurlOrientations_Hip() argument
364 *curl_orients = impl->h_curl_orients; in CeedElemRestrictionGetCurlOrientations_Hip()
367 *curl_orients = impl->d_curl_orients; in CeedElemRestrictionGetCurlOrientations_Hip()
500 const CeedInt8 *curl_orients, CeedElemRestriction rstr) { in CeedElemRestrictionCreate_Hip() argument
629 …CeedCallBackend(CeedSetHostCeedInt8Array(curl_orients, copy_mode, 3 * size, &impl->h_curl_orients_… in CeedElemRestrictionCreate_Hip()
637 …CeedCallBackend(CeedSetDeviceCeedInt8Array_Hip(ceed, curl_orients, copy_mode, 3 * size, &impl->d_c… in CeedElemRestrictionCreate_Hip()
H A Dceed-hip-ref.h160 … const CeedInt8 *curl_orients, CeedElemRestriction rstr);
/libCEED/backends/sycl-ref/
H A Dceed-sycl-ref.hpp124 const CeedInt8 *curl_orients, CeedElemRestriction r);
H A Dceed-sycl-restriction.sycl.cpp339 const CeedInt8 *curl_orients, CeedElemRestriction rstr) { in CeedElemRestrictionCreate_Sycl() argument
/libCEED/backends/opt/
H A Dceed-opt-operator.c87 const CeedInt8 *curl_orients = NULL; in CeedOperatorSetupFields_Opt() local
91 … CeedCallBackend(CeedElemRestrictionGetCurlOrientations(rstr, CEED_MEM_HOST, &curl_orients)); in CeedOperatorSetupFields_Opt()
93 … CEED_MEM_HOST, CEED_COPY_VALUES, offsets, curl_orients, in CeedOperatorSetupFields_Opt()
96 CeedCallBackend(CeedElemRestrictionRestoreCurlOrientations(rstr, &curl_orients)); in CeedOperatorSetupFields_Opt()
/libCEED/backends/blocked/
H A Dceed-blocked-operator.c87 const CeedInt8 *curl_orients = NULL; in CeedOperatorSetupFields_Blocked() local
91 … CeedCallBackend(CeedElemRestrictionGetCurlOrientations(rstr, CEED_MEM_HOST, &curl_orients)); in CeedOperatorSetupFields_Blocked()
93 … CEED_MEM_HOST, CEED_COPY_VALUES, offsets, curl_orients, in CeedOperatorSetupFields_Blocked()
96 CeedCallBackend(CeedElemRestrictionRestoreCurlOrientations(rstr, &curl_orients)); in CeedOperatorSetupFields_Blocked()
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl291 …m_elem, elem_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, curl_orients, rstr) argument
292 …m_elem, elem_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, curl_orients, rstr)
311 …_size, block_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, curl_orients, rstr) argument
312 …_size, block_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, curl_orients, rstr)
1056 function CeedElemRestrictionGetCurlOrientations(rstr, mem_type, curl_orients) argument
1057 …bceed), Cint, (CeedElemRestriction, CeedMemType, Ptr{Ptr{CeedInt8}}), rstr, mem_type, curl_orients)
1060 function CeedElemRestrictionRestoreCurlOrientations(rstr, curl_orients) argument
1061 …oreCurlOrientations, libceed), Cint, (CeedElemRestriction, Ptr{Ptr{CeedInt8}}), rstr, curl_orients)
/libCEED/include/ceed/
H A Dbackend.h313 …GetCurlOrientations(CeedElemRestriction rstr, CeedMemType mem_type, const CeedInt8 **curl_orients);
314 …eedElemRestrictionRestoreCurlOrientations(CeedElemRestriction rstr, const CeedInt8 **curl_orients);
H A Dceed.h269 … const CeedInt8 *curl_orients, CeedElemRestriction *rstr);
282 … const CeedInt *offsets, const CeedInt8 *curl_orients, CeedElemRestriction *rstr);