Home
last modified time | relevance | path

Searched refs:max_points (Results 1 – 10 of 10) sorted by relevance

/libCEED/tests/
H A Dt234-elemrestriction.c38 CeedInt min_points, max_points; in main() local
41 CeedElemRestrictionGetMaxPointsInElement(elem_restriction, &max_points); in main()
42 if (min_points != 1 || max_points != num_elem) { in main()
44 …tf("Error in min/max points: min %" CeedInt_FMT " max %" CeedInt_FMT "\n", min_points, max_points); in main()
47 CeedVectorCreate(ceed, max_points, &y); in main()
H A Dt233-elemrestriction.c51 CeedInt min_points, max_points; in main() local
54 CeedElemRestrictionGetMaxPointsInElement(elem_restriction, &max_points); in main()
55 if (min_points != 1 || max_points != num_elem) { in main()
57 …tf("Error in min/max points: min %" CeedInt_FMT " max %" CeedInt_FMT "\n", min_points, max_points); in main()
60 CeedVectorCreate(ceed, max_points, &y); in main()
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-restriction.c516 CeedInt max_points = 0; in CeedElemRestrictionCreate_Cuda() local
519 max_points = CeedIntMax(max_points, offsets[i + 1] - offsets[i]); in CeedElemRestrictionCreate_Cuda()
521 elem_size = max_points; in CeedElemRestrictionCreate_Cuda()
546 CeedInt max_points = elem_size, *offsets_padded, *points_per_elem; in CeedElemRestrictionCreate_Cuda() local
559 offsets_padded[i * max_points + j] = offsets[offsets[i] + j] * num_comp; in CeedElemRestrictionCreate_Cuda()
560 last_point = offsets_padded[i * max_points + j]; in CeedElemRestrictionCreate_Cuda()
563 for (CeedInt j = num_points; j < max_points; j++) { in CeedElemRestrictionCreate_Cuda()
564 offsets_padded[i * max_points + j] = last_point; in CeedElemRestrictionCreate_Cuda()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-restriction.c517 CeedInt max_points = 0; in CeedElemRestrictionCreate_Hip() local
520 max_points = CeedIntMax(max_points, offsets[i + 1] - offsets[i]); in CeedElemRestrictionCreate_Hip()
522 elem_size = max_points; in CeedElemRestrictionCreate_Hip()
547 CeedInt max_points = elem_size, *offsets_padded, *points_per_elem; in CeedElemRestrictionCreate_Hip() local
560 offsets_padded[i * max_points + j] = offsets[offsets[i] + j] * num_comp; in CeedElemRestrictionCreate_Hip()
561 last_point = offsets_padded[i * max_points + j]; in CeedElemRestrictionCreate_Hip()
564 for (CeedInt j = num_points; j < max_points; j++) { in CeedElemRestrictionCreate_Hip()
565 offsets_padded[i * max_points + j] = last_point; in CeedElemRestrictionCreate_Hip()
/libCEED/interface/
H A Dceed-elemrestriction.c1578 …ctionGetMinMaxPointsInElement(CeedElemRestriction rstr, CeedInt *min_points, CeedInt *max_points) { in CeedElemRestrictionGetMinMaxPointsInElement() argument
1591 if (max_points) *max_points = 0; in CeedElemRestrictionGetMinMaxPointsInElement()
1598 if (max_points) *max_points = num_points; in CeedElemRestrictionGetMinMaxPointsInElement()
1602 if (max_points) *max_points = CeedIntMax(num_points, *max_points); in CeedElemRestrictionGetMinMaxPointsInElement()
1619 int CeedElemRestrictionGetMaxPointsInElement(CeedElemRestriction rstr, CeedInt *max_points) { in CeedElemRestrictionGetMaxPointsInElement() argument
1620 return CeedElemRestrictionGetMinMaxPointsInElement(rstr, NULL, max_points); in CeedElemRestrictionGetMaxPointsInElement()
1795 CeedInt max_points; in CeedElemRestrictionView() local
1797 CeedCall(CeedElemRestrictionGetMaxPointsInElement(rstr, &max_points)); in CeedElemRestrictionView()
1801 tabs, rstr->l_size, rstr->num_comp, rstr->num_elem, max_points); in CeedElemRestrictionView()
H A Dceed-operator.c155 CeedInt max_points = 0; in CeedOperatorSingleView() local
159 CeedCall(CeedElemRestrictionGetMaxPointsInElement(rstr_points, &max_points)); in CeedOperatorSingleView()
160 …s %" CeedInt_FMT " elements with %" CeedInt_FMT " max points each\n", tabs, num_elem, max_points); in CeedOperatorSingleView()
/libCEED/backends/memcheck/
H A Dceed-memcheck-restriction.c678 CeedSize max_points = 0, num_points_total = 0; in CeedElemRestrictionCreate_Memcheck() local
683 max_points = CeedIntMax(max_points, num_points); in CeedElemRestrictionCreate_Memcheck()
687 num_points_total += (max_points - (offsets[num_elem] - offsets[num_elem - 1])); in CeedElemRestrictionCreate_Memcheck()
/libCEED/backends/ref/
H A Dceed-ref-restriction.c783 CeedSize max_points = 0, num_points_total = 0; in CeedElemRestrictionCreate_Ref() local
788 max_points = CeedIntMax(max_points, num_points); in CeedElemRestrictionCreate_Ref()
792 num_points_total += (max_points - (offsets[num_elem] - offsets[num_elem - 1])); in CeedElemRestrictionCreate_Ref()
/libCEED/include/ceed/
H A Dceed.h301 …XTERN int CeedElemRestrictionGetMaxPointsInElement(CeedElemRestriction rstr, CeedInt *max_points);
303 …ictionGetMinMaxPointsInElement(CeedElemRestriction rstr, CeedInt *min_points, CeedInt *max_points);
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl371 function CeedElemRestrictionGetMaxPointsInElement(rstr, max_points) argument
372 …ictionGetMaxPointsInElement, libceed), Cint, (CeedElemRestriction, Ptr{CeedInt}), rstr, max_points)