Home
last modified time | relevance | path

Searched refs:PetscUseTypeMethod (Results 1 – 25 of 120) sorted by relevance

12345

/petsc/src/sys/classes/draw/interface/
H A Ddmarker.c29 PetscUseTypeMethod(draw, coordinatetopixel, xl, yl, &i, &j); in PetscDrawMarker()
31 PetscUseTypeMethod(draw, pointpixel, i + k, j + k, cl); in PetscDrawMarker()
32 PetscUseTypeMethod(draw, pointpixel, i + k, j - k, cl); in PetscDrawMarker()
34 } else PetscUseTypeMethod(draw, string, xl, yl, cl, "x"); in PetscDrawMarker()
38 PetscUseTypeMethod(draw, coordinatetopixel, xl, yl, &i, &j); in PetscDrawMarker()
40 PetscUseTypeMethod(draw, pointpixel, i, j + k, cl); in PetscDrawMarker()
41 PetscUseTypeMethod(draw, pointpixel, i + k, j, cl); in PetscDrawMarker()
43 } else PetscUseTypeMethod(draw, string, xl, yl, cl, "+"); in PetscDrawMarker()
47 PetscUseTypeMethod(draw, coordinatetopixel, xl, yl, &i, &j); in PetscDrawMarker()
49 PetscUseTypeMethod(draw, pointpixel, i + 2, j + k, cl); in PetscDrawMarker()
[all …]
H A Ddrect.c73 PetscUseTypeMethod(draw, coordinatetopixel, x, y, i, j); in PetscDrawCoordinateToPixel()
99 PetscUseTypeMethod(draw, pixeltocoordinate, i, j, x, y); in PetscDrawPixelToCoordinate()
128 PetscUseTypeMethod(draw, rectangle, xl, yl, xr, yr, c1, c2, c3, c4); in PetscDrawRectangle()
H A Ddpoint.c23 PetscUseTypeMethod(draw, point, xl, yl, cl); in PetscDrawPoint()
46 PetscUseTypeMethod(draw, pointpixel, x, y, c); in PetscDrawPointPixel()
H A Ddtext.c26 PetscUseTypeMethod(draw, string, xl, yl, cl, text); in PetscDrawString()
56 if (draw->ops->stringvertical) PetscUseTypeMethod(draw, stringvertical, xl, yl, cl, text); in PetscDrawStringVertical()
131 PetscUseTypeMethod(draw, boxedstring, sxl, syl, sc, bc, text, w, h); in PetscDrawStringBoxed()
213 PetscUseTypeMethod(draw, stringgetsize, width, height); in PetscDrawStringGetSize()
H A Ddline.c155 PetscUseTypeMethod(draw, line, xl, yl, xr, yr, cl); in PetscDrawLine()
181 PetscUseTypeMethod(draw, arrow, xl, yl, xr, yr, cl); in PetscDrawArrow()
233 PetscUseTypeMethod(draw, linegetwidth, width); in PetscDrawLineGetWidth()
H A Ddellipse.c27 PetscUseTypeMethod(draw, ellipse, x, y, a, b, c); in PetscDrawEllipse()
H A Ddraw.c324 PetscUseTypeMethod(draw, getpopup, popup); in PetscDrawGetPopup()
401 } else PetscUseTypeMethod(draw, getsingleton, sdraw); in PetscDrawGetSingleton()
433 } else PetscUseTypeMethod(draw, restoresingleton, sdraw); in PetscDrawRestoreSingleton()
H A Ddmouse.c36 PetscUseTypeMethod(draw, getmousebutton, button, x_user, y_user, x_phys, y_phys); in PetscDrawGetMouseButton()
/petsc/src/sys/classes/random/interface/
H A Drandom.c56 if (!r->ops->getvalue) PetscUseTypeMethod(r, getvalues, 1, val); in PetscRandomGetValue()
57 else PetscUseTypeMethod(r, getvalue, val); in PetscRandomGetValue()
95 if (!r->ops->getvaluereal) PetscUseTypeMethod(r, getvaluesreal, 1, val); in PetscRandomGetValueReal()
96 else PetscUseTypeMethod(r, getvaluereal, val); in PetscRandomGetValueReal()
133 } else PetscUseTypeMethod(r, getvalues, n, val); in PetscRandomGetValues()
165 for (i = 0; i < n; i++) PetscUseTypeMethod(r, getvaluereal, val + i); in PetscRandomGetValuesReal()
166 } else PetscUseTypeMethod(r, getvaluesreal, n, val); in PetscRandomGetValuesReal()
/petsc/src/vec/is/ao/interface/
H A Dao.c45 PetscUseTypeMethod(ao, view, viewer); in AOView()
143 PetscUseTypeMethod(ao, petsctoapplication, n, ia); in AOPetscToApplicationIS()
186 PetscUseTypeMethod(ao, applicationtopetsc, n, ia); in AOApplicationToPetscIS()
224 PetscUseTypeMethod(ao, petsctoapplication, n, ia); in AOPetscToApplication()
259 PetscUseTypeMethod(ao, applicationtopetsc, n, ia); in AOApplicationToPetsc()
294 PetscUseTypeMethod(ao, petsctoapplicationpermuteint, block, array); in AOPetscToApplicationPermuteInt()
329 PetscUseTypeMethod(ao, applicationtopetscpermuteint, block, array); in AOApplicationToPetscPermuteInt()
364 PetscUseTypeMethod(ao, petsctoapplicationpermutereal, block, array); in AOPetscToApplicationPermuteReal()
399 PetscUseTypeMethod(ao, applicationtopetscpermutereal, block, array); in AOApplicationToPetscPermuteReal()
/petsc/src/sys/classes/viewer/interface/
H A Ddupl.c63 PetscUseTypeMethod(viewer, getsubviewer, comm, outviewer); in PetscViewerGetSubViewer()
93 PetscUseTypeMethod(viewer, restoresubviewer, comm, outviewer); in PetscViewerRestoreSubViewer()
H A Dview.c410 PetscUseTypeMethod(viewer, read, &s[i], 1, &cnt, PETSC_CHAR); in PetscViewerRead()
416 PetscUseTypeMethod(viewer, read, &s[i++], 1, &cnt, PETSC_CHAR); in PetscViewerRead()
425 PetscUseTypeMethod(viewer, read, &s[i++], 1, &cnt, PETSC_CHAR); in PetscViewerRead()
434 } else PetscUseTypeMethod(viewer, read, data, num, count, dtype); in PetscViewerRead()
/petsc/src/vec/vec/interface/
H A Drvector.c71 PetscUseTypeMethod(x, maxpointwisedivide, y, max); in VecMaxPointwiseDivide()
124 PetscUseTypeMethod(x, dot, y, val); in VecDot()
229 PetscUseTypeMethod(x, norm, type, val); in VecNorm()
345 PetscUseTypeMethod(x, max, p, val); in VecMax()
385 PetscUseTypeMethod(x, min, p, val); in VecMin()
437 PetscUseTypeMethod(x, tdot, y, val); in VecTDot()
932 PetscUseTypeMethod(x, setvalues, ni, ix, y, iora); in VecSetValues()
978 PetscUseTypeMethod(x, getvalues, ni, ix, y); in VecGetValues()
1033 PetscUseTypeMethod(x, setvaluesblocked, ni, ix, y, iora); in VecSetValuesBlocked()
1087 …if (PetscUnlikely(!x->map->mapping && x->ops->getlocaltoglobalmapping)) PetscUseTypeMethod(x, getl… in VecSetValuesLocal()
[all …]
H A Dvector.c73 if (x->ops->setlocaltoglobalmapping) PetscUseTypeMethod(x, setlocaltoglobalmapping, mapping); in VecSetLocalToGlobalMapping()
99 if (X->ops->getlocaltoglobalmapping) PetscUseTypeMethod(X, getlocaltoglobalmapping, mapping); in VecGetLocalToGlobalMapping()
197 PetscUseTypeMethod(x, setpreallocationcoo, ncoo, coo_i); in VecSetPreallocationCOO()
288 PetscUseTypeMethod(x, setvaluescoo, coo_v, imode); in VecSetValuesCOO()
545 PetscUseTypeMethod(v, duplicate, newv); in VecDuplicate()
625 PetscUseTypeMethod(v, duplicatevecs, m, V); in VecDuplicateVecs()
806 PetscUseTypeMethod(vec, viewnative, viewer); in VecView()
808 PetscUseTypeMethod(vec, view, viewer); in VecView()
860 PetscUseTypeMethod(vec, viewnative, viewer); in VecViewNative()
885 PetscUseTypeMethod(x, getsize, size); in VecGetSize()
[all …]
/petsc/include/petsc/private/
H A Ddeviceimpl.h311 PetscUseTypeMethod(dctx, getblashandle, handle); in PetscDeviceContextGetBLASHandle_Internal()
320 PetscUseTypeMethod(dctx, getsolverhandle, handle); in PetscDeviceContextGetSOLVERHandle_Internal()
330 PetscUseTypeMethod(dctx, getstreamhandle, handle); in PetscDeviceContextGetStreamHandle_Internal()
339 PetscUseTypeMethod(dctx, begintimer); in PetscDeviceContextBeginTimer_Internal()
349 PetscUseTypeMethod(dctx, endtimer, elapsed); in PetscDeviceContextEndTimer_Internal()
359 PetscUseTypeMethod(dctx, getpower, power); in PetscDeviceContextGetPower_Internal()
369 PetscUseTypeMethod(dctx, beginenergymeter); in PetscDeviceContextBeginEnergyMeter_Internal()
379 PetscUseTypeMethod(dctx, endenergymeter, energy); in PetscDeviceContextEndEnergyMeter_Internal()
/petsc/src/vec/is/is/interface/
H A Dindex.c496 PetscUseTypeMethod(is, sortedglobal, flg); in ISGetInfo_Sorted_Private()
505 PetscUseTypeMethod(is, sortedlocal, &sortedLocal); in ISGetInfo_Sorted_Private()
550 PetscUseTypeMethod(is, uniqueglobal, flg); in ISGetInfo_Unique_Private()
561 PetscUseTypeMethod(is, uniquelocal, &uniqueLocal); in ISGetInfo_Unique_Private()
615 PetscUseTypeMethod(is, permglobal, flg); in ISGetInfo_Permutation()
617 PetscUseTypeMethod(is, permlocal, flg); in ISGetInfo_Permutation()
659 PetscUseTypeMethod(is, intervalglobal, flg); in ISGetInfo_Interval()
668 PetscUseTypeMethod(is, intervallocal, &intervalLocal); in ISGetInfo_Interval()
713 PetscUseTypeMethod(is, intervalglobal, &isinterval); in ISGetInfo_Identity()
725 PetscUseTypeMethod(is, intervallocal, &isinterval); in ISGetInfo_Identity()
[all …]
/petsc/src/mat/interface/
H A Dmatrix.c98 PetscUseTypeMethod(x, setrandom, rctx); in MatSetRandom()
135 PetscUseTypeMethod(A, copyhashtoxaij, B); in MatCopyHashToXAIJ()
314 if (mat->ops->findnonzerorows) PetscUseTypeMethod(mat, findnonzerorows, keptrows); in MatFindNonzeroRows()
386 if (A->ops->getdiagonalblock) PetscUseTypeMethod(A, getdiagonalblock, a); in MatGetDiagonalBlock()
446 PetscUseTypeMethod(mat, realpart); in MatRealPart()
476 if (mat->ops->getghosts) PetscUseTypeMethod(mat, getghosts, nghosts, ghosts); in MatGetGhosts()
504 PetscUseTypeMethod(mat, imaginarypart); in MatImaginaryPart()
573 PetscUseTypeMethod(mat, getrow, row, &incols, (PetscInt **)cols, (PetscScalar **)vals); in MatGetRow()
597 PetscUseTypeMethod(mat, conjugate); in MatConjugate()
1224 PetscUseTypeMethod(mat, viewnative, viewer); in MatView()
[all …]
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx344 PetscUseTypeMethod(dctx, memalloc, clear, mtype, n, alignment, ptr); in PetscDeviceAllocate_Private()
420 PetscUseTypeMethod(dctx, memfree, attr.mtype, (void **)&ptr); in PetscDeviceDeallocate_Private()
487 PetscUseTypeMethod(dctx, memcopy, dest, src, n, mode); in PetscDeviceMemcpy()
554 PetscUseTypeMethod(dctx, memset, attr.mtype, ptr, v, n); in PetscDeviceMemset()
/petsc/src/tao/bound/impls/bnk/
H A Dbnls.c107 PetscUseTypeMethod(tao, update, tao->niter, tao->user_update); in TaoSolve_BNLS()
168 PetscUseTypeMethod(tao, convergencetest, tao->cnvP); in TaoSolve_BNLS()
H A Dbntr.c108 PetscUseTypeMethod(tao, update, tao->niter, tao->user_update); in TaoSolve_BNTR()
193 PetscUseTypeMethod(tao, convergencetest, tao->cnvP); in TaoSolve_BNTR()
/petsc/src/dm/field/interface/
H A Ddmfield.c242 PetscUseTypeMethod(field, evaluate, points, datatype, B, D, H); in DMFieldEvaluate()
285 PetscUseTypeMethod(field, evaluateFE, cellIS, points, datatype, B, D, H); in DMFieldEvaluateFE()
324 PetscUseTypeMethod(field, evaluateFV, cellIS, datatype, B, D, H); in DMFieldEvaluateFV()
525 if (faceData) PetscUseTypeMethod(field, computeFaceData, pointIS, quad, g); in DMFieldCreateFEGeom()
/petsc/src/ksp/pc/interface/
H A Dprecon.c528 PetscUseTypeMethod(pc, apply, x, y); in PCApply()
566 PetscUseTypeMethod(pc, matapply, X, Y); in PCMatApplyTranspose_Private()
570 PetscUseTypeMethod(pc, matapplytranspose, X, Y); in PCMatApplyTranspose_Private()
662 PetscUseTypeMethod(pc, applysymmetricleft, x, y); in PCApplySymmetricLeft()
699 PetscUseTypeMethod(pc, applysymmetricright, x, y); in PCApplySymmetricRight()
739 PetscUseTypeMethod(pc, applytranspose, x, y); in PCApplyTranspose()
815 PetscUseTypeMethod(pc, applyBA, side, work2, y, work); in PCApplyBAorAB()
831 PetscUseTypeMethod(pc, applyBA, side, x, y, work); in PCApplyBAorAB()
884 PetscUseTypeMethod(pc, applyBAtranspose, side, x, y, work); in PCApplyBAorABTranspose()
971PetscUseTypeMethod(pc, applyrichardson, b, y, w, rtol, abstol, dtol, its, guesszero, outits, reaso… in PCApplyRichardson()
[all …]
/petsc/src/mat/utils/
H A Dgetcolv.c43 if (A->ops->getcolumnvector) PetscUseTypeMethod(A, getcolumnvector, yy, col); in MatGetColumnVector()
301 PetscUseTypeMethod(A, getcolumnreductions, type, reductions); in MatGetColumnReductions()
/petsc/src/tao/unconstrained/impls/lmvm/
H A Dlmvm.c27 PetscUseTypeMethod(tao, convergencetest, tao->cnvP); in TaoSolve_LMVM()
41 PetscUseTypeMethod(tao, update, tao->niter, tao->user_update); in TaoSolve_LMVM()
136 PetscUseTypeMethod(tao, convergencetest, tao->cnvP); in TaoSolve_LMVM()
/petsc/src/ts/impls/implicit/glle/
H A Dglleadapt.c125 if (((PetscObject)adapt)->type_name) PetscUseTypeMethod(adapt, destroy); in TSGLLEAdaptSetType()
148 PetscUseTypeMethod(adapt, view, viewer); in TSGLLEAdaptView()
195PetscUseTypeMethod(adapt, choose, n, orders, errors, cost, cur, h, tleft, next_sc, next_h, finish); in TSGLLEAdaptChoose()

12345