Home
last modified time | relevance | path

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

/libCEED/interface/
H A Dceed-elemrestriction.c148 int CeedElemRestrictionGetType(CeedElemRestriction rstr, CeedRestrictionType *rstr_type) { in CeedElemRestrictionGetType() argument
149 *rstr_type = rstr->rstr_type; in CeedElemRestrictionGetType()
164 *is_strided = (rstr->rstr_type == CEED_RESTRICTION_STRIDED); in CeedElemRestrictionIsStrided()
179 *is_points = (rstr->rstr_type == CEED_RESTRICTION_POINTS); in CeedElemRestrictionIsAtPoints()
198 …CeedCheck(rstr_a->rstr_type == CEED_RESTRICTION_POINTS, CeedElemRestrictionReturnCeed(rstr_a), CEE… in CeedElemRestrictionAtPointsAreCompatible()
200 …CeedCheck(rstr_b->rstr_type == CEED_RESTRICTION_POINTS, CeedElemRestrictionReturnCeed(rstr_a), CEE… in CeedElemRestrictionAtPointsAreCompatible()
387 CeedRestrictionType rstr_type; in CeedElemRestrictionGetLLayout() local
389 CeedCall(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionGetLLayout()
390 …CeedCheck(rstr_type == CEED_RESTRICTION_STRIDED, CeedElemRestrictionReturnCeed(rstr), CEED_ERROR_M… in CeedElemRestrictionGetLLayout()
415 CeedRestrictionType rstr_type; in CeedElemRestrictionSetLLayout() local
[all …]
H A Dceed-operator.c948 CeedRestrictionType rstr_type; in CeedOperatorSetField() local
950 CeedCall(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedOperatorSetField()
951 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedOperatorSetField()
H A Dceed-preconditioning.c1107 CeedRestrictionType rstr_type; in CeedOperatorMultigridLevelCreateSingle_Core() local
1110 CeedCall(CeedElemRestrictionGetType(rstr_fine, &rstr_type)); in CeedOperatorMultigridLevelCreateSingle_Core()
1111 CeedCheck(rstr_type != CEED_RESTRICTION_CURL_ORIENTED, ceed, CEED_ERROR_UNSUPPORTED, in CeedOperatorMultigridLevelCreateSingle_Core()
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-restriction.c28 CeedRestrictionType rstr_type; in CeedElemRestrictionSetupCompile_Cuda() local
33 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionSetupCompile_Cuda()
37 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedElemRestrictionSetupCompile_Cuda()
45 switch (rstr_type) { in CeedElemRestrictionSetupCompile_Cuda()
119 CeedRestrictionType rstr_type; in CeedElemRestrictionApply_Cuda_Core() local
126 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionApply_Cuda_Core()
152 switch (rstr_type) { in CeedElemRestrictionApply_Cuda_Core()
197 switch (rstr_type) { in CeedElemRestrictionApply_Cuda_Core()
321 CeedRestrictionType rstr_type; in CeedElemRestrictionGetOffsets_Cuda() local
324 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionGetOffsets_Cuda()
[all …]
H A Dceed-cuda-ref-operator.c1905 CeedRestrictionType rstr_type; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda() local
1917 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1918 is_active_at_points = rstr_type == CEED_RESTRICTION_POINTS; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1960 CeedRestrictionType rstr_type; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda() local
1974 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1975 if (is_active_at_points && rstr_type != CEED_RESTRICTION_POINTS) continue; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1976 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-restriction.c27 CeedRestrictionType rstr_type; in CeedElemRestrictionSetupCompile_Hip() local
32 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionSetupCompile_Hip()
36 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedElemRestrictionSetupCompile_Hip()
44 switch (rstr_type) { in CeedElemRestrictionSetupCompile_Hip()
120 CeedRestrictionType rstr_type; in CeedElemRestrictionApply_Hip_Core() local
127 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionApply_Hip_Core()
153 switch (rstr_type) { in CeedElemRestrictionApply_Hip_Core()
198 switch (rstr_type) { in CeedElemRestrictionApply_Hip_Core()
322 CeedRestrictionType rstr_type; in CeedElemRestrictionGetOffsets_Hip() local
325 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionGetOffsets_Hip()
[all …]
H A Dceed-hip-ref-operator.c1902 CeedRestrictionType rstr_type; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip() local
1914 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1915 is_active_at_points = rstr_type == CEED_RESTRICTION_POINTS; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1957 CeedRestrictionType rstr_type; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip() local
1971 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1972 if (is_active_at_points && rstr_type != CEED_RESTRICTION_POINTS) continue; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1973 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
/libCEED/backends/memcheck/
H A Dceed-memcheck-restriction.c397 CeedRestrictionType rstr_type; in CeedElemRestrictionApply_Memcheck_Core() local
404 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionApply_Memcheck_Core()
421 switch (rstr_type) { in CeedElemRestrictionApply_Memcheck_Core()
461 switch (rstr_type) { in CeedElemRestrictionApply_Memcheck_Core()
644 CeedRestrictionType rstr_type; in CeedElemRestrictionCreate_Memcheck() local
654 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionCreate_Memcheck()
667 if (rstr_type == CEED_RESTRICTION_STRIDED) { in CeedElemRestrictionCreate_Memcheck()
677 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedElemRestrictionCreate_Memcheck()
692 if (rstr_type != CEED_RESTRICTION_STRIDED) { in CeedElemRestrictionCreate_Memcheck()
705 …if (rstr_type == CEED_RESTRICTION_POINTS) CeedCallBackend(CeedElemRestrictionGetNumPoints(rstr, &n… in CeedElemRestrictionCreate_Memcheck()
[all …]
/libCEED/backends/ref/
H A Dceed-ref-operator.c894 CeedRestrictionType rstr_type; in CeedOperatorInputBasisAtPoints_Ref() local
909 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorInputBasisAtPoints_Ref()
915 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedOperatorInputBasisAtPoints_Ref()
960 CeedRestrictionType rstr_type; in CeedOperatorOutputBasisAtPoints_Ref() local
1007 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorOutputBasisAtPoints_Ref()
1011 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedOperatorOutputBasisAtPoints_Ref()
1405 CeedRestrictionType rstr_type; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Ref() local
1417 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Ref()
1418 is_active_at_points = rstr_type == CEED_RESTRICTION_POINTS; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Ref()
1453 CeedRestrictionType rstr_type; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Ref() local
[all …]
H A Dceed-ref-restriction.c401 CeedRestrictionType rstr_type; in CeedElemRestrictionApply_Ref_Core() local
408 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionApply_Ref_Core()
424 switch (rstr_type) { in CeedElemRestrictionApply_Ref_Core()
464 switch (rstr_type) { in CeedElemRestrictionApply_Ref_Core()
750 CeedRestrictionType rstr_type; in CeedElemRestrictionCreate_Ref() local
760 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionCreate_Ref()
773 if (rstr_type == CEED_RESTRICTION_STRIDED) { in CeedElemRestrictionCreate_Ref()
782 if (rstr_type == CEED_RESTRICTION_POINTS) { in CeedElemRestrictionCreate_Ref()
797 if (rstr_type != CEED_RESTRICTION_STRIDED) { in CeedElemRestrictionCreate_Ref()
819 …if (rstr_type == CEED_RESTRICTION_POINTS) CeedCallBackend(CeedElemRestrictionGetNumPoints(rstr, &n… in CeedElemRestrictionCreate_Ref()
[all …]
/libCEED/backends/sycl-ref/
H A Dceed-sycl-restriction.sycl.cpp344 CeedRestrictionType rstr_type; in CeedElemRestrictionCreate_Sycl() local
355 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedElemRestrictionCreate_Sycl()
356 …CeedCheck(rstr_type != CEED_RESTRICTION_ORIENTED && rstr_type != CEED_RESTRICTION_CURL_ORIENTED, c… in CeedElemRestrictionCreate_Sycl()
389 if (rstr_type == CEED_RESTRICTION_STRIDED) { in CeedElemRestrictionCreate_Sycl()
/libCEED/backends/opt/
H A Dceed-opt-operator.c54 CeedRestrictionType rstr_type; in CeedOperatorSetupFields_Opt() local
65 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedOperatorSetupFields_Opt()
66 switch (rstr_type) { in CeedOperatorSetupFields_Opt()
/libCEED/backends/blocked/
H A Dceed-blocked-operator.c54 CeedRestrictionType rstr_type; in CeedOperatorSetupFields_Blocked() local
65 CeedCallBackend(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedOperatorSetupFields_Blocked()
66 switch (rstr_type) { in CeedOperatorSetupFields_Blocked()
/libCEED/include/
H A Dceed-impl.h199rstr_type; /* initialized in element restriction constructor for default, oriented, curl-oriente… member
/libCEED/backends/hip-gen/
H A Dceed-hip-gen-operator-build.cpp419 CeedRestrictionType rstr_type = CEED_RESTRICTION_STANDARD; in CeedOperatorBuildKernelRestriction_Hip_gen() local
426 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorBuildKernelRestriction_Hip_gen()
442 if (eval_mode == CEED_EVAL_NONE && rstr_type != CEED_RESTRICTION_POINTS) { in CeedOperatorBuildKernelRestriction_Hip_gen()
445 } else if (rstr_type != CEED_RESTRICTION_POINTS) { in CeedOperatorBuildKernelRestriction_Hip_gen()
449 switch (rstr_type) { in CeedOperatorBuildKernelRestriction_Hip_gen()
498 switch (rstr_type) { in CeedOperatorBuildKernelRestriction_Hip_gen()
/libCEED/backends/cuda-gen/
H A Dceed-cuda-gen-operator-build.cpp392 CeedRestrictionType rstr_type = CEED_RESTRICTION_STANDARD; in CeedOperatorBuildKernelRestriction_Cuda_gen() local
399 CeedCallBackend(CeedElemRestrictionGetType(elem_rstr, &rstr_type)); in CeedOperatorBuildKernelRestriction_Cuda_gen()
415 if (eval_mode == CEED_EVAL_NONE && rstr_type != CEED_RESTRICTION_POINTS) { in CeedOperatorBuildKernelRestriction_Cuda_gen()
418 } else if (rstr_type != CEED_RESTRICTION_POINTS) { in CeedOperatorBuildKernelRestriction_Cuda_gen()
422 switch (rstr_type) { in CeedOperatorBuildKernelRestriction_Cuda_gen()
471 switch (rstr_type) { in CeedOperatorBuildKernelRestriction_Cuda_gen()
/libCEED/include/ceed/
H A Dbackend.h303 CEED_EXTERN int CeedElemRestrictionGetType(CeedElemRestriction rstr, CeedRestrictionType *rstr_type
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl1020 function CeedElemRestrictionGetType(rstr, rstr_type) argument
1021 …strictionGetType, libceed), Cint, (CeedElemRestriction, Ptr{CeedRestrictionType}), rstr, rstr_type)