| /petsc/src/sys/classes/draw/tests/ |
| H A D | ex9.c | 30 PetscCall(PetscCIntCast(w, &width)); in main() 31 PetscCall(PetscCIntCast(h, &height)); in main() 32 PetscCall(PetscCIntCast(nn, &n)); in main() 33 PetscCall(PetscCIntCast(b, &bins)); in main() 34 PetscCall(PetscCIntCast(c, &color)); in main()
|
| /petsc/src/dm/impls/plex/generators/triangle/ |
| H A D | trigenerate.c | 89 PetscCall(PetscCIntCast(vEnd - vStart, &in.numberofpoints)); in DMPlexGenerate_Triangle() 108 PetscCall(PetscCIntCast(val, &in.pointmarkerlist[idx])); in DMPlexGenerate_Triangle() 114 PetscCall(PetscCIntCast(eEnd - eStart, &in.numberofsegments)); in DMPlexGenerate_Triangle() 125 PetscCall(PetscCIntCast(cone[0] - vStart, &in.segmentlist[idx * 2 + 0])); in DMPlexGenerate_Triangle() 126 PetscCall(PetscCIntCast(cone[1] - vStart, &in.segmentlist[idx * 2 + 1])); in DMPlexGenerate_Triangle() 130 PetscCall(PetscCIntCast(val, &in.segmentmarkerlist[idx])); in DMPlexGenerate_Triangle() 253 PetscCall(PetscCIntCast(vEnd - vStart, &in.numberofpoints)); in DMPlexRefine_Triangle() 272 PetscCall(PetscCIntCast(val, &in.pointmarkerlist[idx])); in DMPlexRefine_Triangle() 282 PetscCall(PetscCIntCast(cEnd - cStart, &in.numberoftriangles)); in DMPlexRefine_Triangle() 301 …for (v = 0; v < 3; ++v) PetscCall(PetscCIntCast(closure[(v + closureSize - 3) * 2] - vStart, &in.t… in DMPlexRefine_Triangle()
|
| /petsc/src/sys/logging/handler/impls/nested/ |
| H A D | xmlviewer.c | 20 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLStartSection() 52 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLEndSection() 55 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLEndSection() 75 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLPutString() 91 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLPutInt() 108 PetscCall(PetscCIntCast(XMLSectionDepthPetsc, &XMLSectionDepth)); in PetscViewerXMLPutDouble()
|
| /petsc/src/sys/logging/state/ |
| H A D | logstate.c | 32 …PetscCall(PetscCIntCast(max_events + 1, &s->bt_num_events)); // one extra column for default stage… in PetscLogStateCreate() 33 PetscCall(PetscCIntCast(max_stages, &s->bt_num_stages)); in PetscLogStateCreate() 181 PetscCall(PetscCIntCast(new_num_events, &state->bt_num_events)); in PetscLogStateResize() 182 PetscCall(PetscCIntCast(new_num_stages, &state->bt_num_stages)); in PetscLogStateResize()
|
| H A D | logregistry.c | 263 PetscCall(PetscCIntCast(next_loc, &p)); in PetscLogGlobalNamesCreate_Internal()
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | lg.c | 138 PetscCall(PetscCIntCast(n, &in)); in PetscDrawLGAddPoints()
|
| H A D | lgc.c | 168 PetscCall(PetscCIntCast(dim, &lg->dim)); in PetscDrawLGCreate() 293 PetscCall(PetscCIntCast(dim, &lg->dim)); in PetscDrawLGSetDimension()
|
| H A D | bars.c | 88 PetscCall(PetscCIntCast(bins, &bar->numBins)); in PetscDrawBarSetData()
|
| H A D | hists.c | 535 PetscCall(PetscCIntCast(numBins, &inumBins)); in PetscDrawHGView() 565 PetscCall(PetscCIntCast(numBinsOld, &inumBins)); in PetscDrawHGView()
|
| /petsc/src/sys/classes/draw/impls/x/ |
| H A D | xops.c | 758 PetscCall(PetscCIntCast(xywh[0], &x)); in PetscDrawCreate_X() 759 PetscCall(PetscCIntCast(xywh[1], &y)); in PetscDrawCreate_X() 760 PetscCall(PetscCIntCast(xywh[2], &w)); in PetscDrawCreate_X() 761 PetscCall(PetscCIntCast(xywh[3], &h)); in PetscDrawCreate_X()
|
| /petsc/src/sys/classes/draw/impls/image/ |
| H A D | drawimage.c | 558 PetscCall(PetscCIntCast(size[0], &w)); in PetscDrawCreate_Image() 559 PetscCall(PetscCIntCast(size[1], &h)); in PetscDrawCreate_Image()
|
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | geo.c | 153 PetscCall(PetscCIntCast(nFineLoc, &nPlotPts)); /* locals */ in triangulateAndFormProl() 156 PetscCall(PetscCIntCast(nselected_2, &in.numberofpoints)); in triangulateAndFormProl()
|
| /petsc/src/sys/dll/ |
| H A D | reg.c | 534 PetscCall(PetscCIntCast(size, n)); in PetscFunctionListGet()
|
| /petsc/doc/changes/ |
| H A D | 323.md | 29 - Add `PetscCIntCast()`
|
| /petsc/src/sys/classes/viewer/impls/cgns/ |
| H A D | cgnsv.c | 69 for (PetscCount i = 0; i < size; i++) PetscCall(PetscCIntCast(steps[i], &steps_int[i])); in PetscViewerFileClose_CGNS()
|
| /petsc/include/ |
| H A D | petscsys.h | 2101 static inline PetscErrorCode PetscCIntCast(MPIU_Count a, int *b) in PetscCIntCast() function
|