| /petsc/src/binding/petsc4py/src/petsc4py/ |
| H A D | __main__.py | 48 vec.destroy() 53 mat.destroy() 57 pc.destroy() 61 ksp.destroy() 65 snes.destroy() 69 ts.destroy() 73 tao.destroy() 77 dmda.destroy() 81 dmplex.destroy()
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | run_demo.py | 48 scatter.destroy() 49 U0.destroy() 55 U.destroy() 56 X.destroy() 57 F.destroy() 58 J.destroy() 59 da.destroy() 60 snes.destroy()
|
| /petsc/lib/petsc/bin/ |
| H A D | PetscBinaryIO_tests.py | 24 viewer.destroy() 25 vec.destroy() 39 viewer.destroy() 42 vec.destroy() 50 viewer.destroy() 51 anis.destroy() 70 viewer.destroy() 71 mat.destroy() 93 viewer.destroy() 96 mat.destroy()
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-swig/ |
| H A D | run_demo.py | 69 scatter.destroy() 70 U0.destroy() 76 U.destroy() 77 X.destroy() 78 F.destroy() 79 J.destroy() 80 da.destroy() 81 snes.destroy()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_device.py | 36 dctx.destroy() 46 dctx.destroy() 56 dctx.destroy() 66 dctx.destroy() 68 dctx2.destroy() 81 dctx.destroy() 83 dctx2.destroy() 84 dctx2.destroy() 108 dctx.destroy()
|
| H A D | test_dmplex.py | 28 self.plex.destroy() 142 sf.destroy() 154 lis.destroy() 155 locplex.destroy() 156 gis.destroy() 157 plex.destroy() 251 plex.destroy() 252 newplex.destroy() 254 plex.destroy() 342 tr.destroy() [all …]
|
| H A D | test_viewer_py.py | 63 self.viewer.destroy() 76 v.destroy() 79 v.destroy() 83 v.destroy()
|
| H A D | test_ksp_py.py | 17 def destroy(self, ksp): member in MyKSP 19 v.destroy() 26 v.destroy() 106 self.ksp.destroy()
|
| H A D | test_tao_py.py | 32 def destroy(self, tao): member in MyTao 34 self.testvec.destroy() 74 self.tao.destroy() 156 def destroy(self, tao): member in MyGradientDescent 157 self._ls.destroy() 201 self.tao.destroy()
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/ |
| H A D | run_demo.py | 80 scatter.destroy() 81 U0.destroy() 86 U.destroy() 87 X.destroy() 88 F.destroy() 89 J.destroy() 90 da.destroy() 91 snes.destroy()
|
| /petsc/src/sys/objects/ftn-custom/ |
| H A D | zinheritf.c | 14 PetscFortranCallbackId destroy; member 36 …PetscObjectUseFortranCallback(obj, _cb.destroy, (PetscObject *, PetscCtx, PetscErrorCode *PETSC_F9… in ourdestroy() 39 …le)(PetscObject *, PetscOptionItems *, PetscCtx, PetscErrorCode), void (*destroy)(PetscObject *, P… in petscobjectaddoptionshandler_() 47 …((PetscObject)*obj, PETSC_FORTRAN_CALLBACK_CLASS, &_cb.destroy, (PetscFortranCallbackFn *)destroy,… in petscobjectaddoptionshandler_()
|
| /petsc/src/sys/tests/output/ |
| H A D | ex70_1.out | 5 [0]PETSC ERROR: #1 PetscObjectDestroy() at destroy.c:0 6 [0]PETSC ERROR: #2 PetscRunRegisteredFinalizers() at destroy.c:0 7 [0]PETSC ERROR: #3 PetscObjectRegisterDestroyAll() at destroy.c:0
|
| /petsc/src/vec/pf/interface/ |
| H A D | pf.c | 27 …Vec, Vec), PetscErrorCode (*view)(void *, PetscViewer), PetscErrorCode (*destroy)(PetscCtxRt), Pet… in PFSet() 32 pf->ops->destroy = destroy; in PFSet() 62 if ((*pf)->ops->destroy) PetscCall((*(*pf)->ops->destroy)((*pf)->data)); in PFDestroy() 95 newpf->ops->destroy = NULL; in PFCreate() 369 PetscTryTypeMethod(pf, destroy); in PFSetType() 375 pf->ops->destroy = NULL; in PFSetType()
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmstream.hpp | 38 PetscErrorCode destroy() noexcept; 56 inline PetscErrorCode CUPMStream<T>::destroy() noexcept in destroy() function in Petsc::device::cupm::CUPMStream 90 PetscCall(destroy()); in change_type() 99 PetscCall(destroy()); in change_type()
|
| /petsc/src/sys/objects/device/impls/host/ |
| H A D | hostcontext.cxx | 19 static PetscErrorCode destroy(PetscDeviceContext) noexcept { return PETSC_SUCCESS; } in destroy() function in Petsc::device::host::impl::DeviceContext 33 PetscDesignatedInitializer(destroy, destroy),
|
| /petsc/src/ksp/ksp/impls/gmres/fgmres/ftn-custom/ |
| H A D | zmodpcff.c | 16 PetscFortranCallbackId destroy; member 27 PetscObjectUseFortranCallbackSubType(ksp, _cb.destroy, (void *, PetscErrorCode *), (_ctx, &ierr)); in ourmoddestroy() 43 …tFortranCallback((PetscObject)*ksp, PETSC_FORTRAN_CALLBACK_SUBTYPE, &_cb.destroy, (PetscFortranCal… in kspflexiblesetmodifypc_()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | example100.py | 26 def destroy(self, A): member in Laplace1D 74 def destroy(self, pc): member in Jacobi 77 self.diag.destroy() 106 def destroy(self, ksp): member in ConjGrad 110 vec.destroy()
|
| /petsc/doc/changes/ |
| H A D | dev.md | 41 …f `PetscViewerGLVisSetFields()` to `PetscCtxDestroyFn *`. This means the destroy function must der… 72 - Change the `destroy()` function argument of `MatShellSetMatProductOperation()` to type `PetscCtxD… 97 - Change the `destroy()` function argument of `SNESSetConvergenceTest()` to type `PetscCtxDestroyFn… 113 - Change the `destroy()` function argument of `TSTrajectorySetTransform()` to type `PetscCtxDestroy… 126 …of `DMShellSetDestroyContext()` to `PetscCtxDestroyFn *`. This means the destroy function must der…
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex1.c | 65 PetscCtxDestroyFn *destroy, *destroy1; in main() local 74 PetscCall(KSPGetConvergenceTest(ksp, &converged, &ctx, &destroy)); in main() 83 …PetscCheck(destroy1 == destroy, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "convergence test destroy functi… in main() 92 …PetscCheck(destroy1 == destroy, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "convergence test destroy functi… in main()
|
| /petsc/src/sys/objects/ |
| H A D | inherit.c | 22 … char descr[], const char mansec[], MPI_Comm comm, PetscObjectDestroyFn *destroy, PetscObjectViewF… in PetscHeaderCreate_Function() argument 26 PetscCall(PetscHeaderCreate_Private(*h, classid, class_name, descr, mansec, comm, destroy, view)); in PetscHeaderCreate_Function() 34 … char descr[], const char mansec[], MPI_Comm comm, PetscObjectDestroyFn *destroy, PetscObjectViewF… in PetscHeaderCreate_Private() argument 48 h->bops->destroy = destroy; in PetscHeaderCreate_Private() 538 …bj, PetscOptionItems PetscOptionsObject, PetscCtx ctx), PetscErrorCode (*destroy)(PetscObject obj,… in PetscObjectAddOptionsHandler() 543 … (PetscBool)(obj->optionhandler[i] == handle && obj->optiondestroy[i] == destroy && obj->optionctx… in PetscObjectAddOptionsHandler() 548 obj->optiondestroy[obj->noptionhandler] = destroy; in PetscObjectAddOptionsHandler() 675 if (obj->bops->destroy) PetscCall((*obj->bops->destroy)(&obj)); in PetscObjectDereference() 1070 …bjectContainerCompose(PetscObject obj, const char *name, void *pointer, PetscCtxDestroyFn *destroy) in PetscObjectContainerCompose() argument 1077 if (destroy) PetscCall(PetscContainerSetCtxDestroy(container, destroy)); in PetscObjectContainerCompose()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpimatmatmatmult.c | 99 if (rart->destroy) PetscCall((*rart->destroy)(&rart->data)); in MatProductCtxDestroy_MPIAIJ_RARt() 142 rart->destroy = C->product->destroy; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ() 144 C->product->destroy = MatProductCtxDestroy_MPIAIJ_RARt; in MatProductSymbolic_RARt_MPIAIJ_MPIAIJ()
|
| /petsc/src/binding/petsc4py/demo/legacy/taosolve/ |
| H A D | chwirut.py | 79 x.destroy() 80 f.destroy() 81 tao.destroy()
|
| /petsc/src/ksp/ksp/impls/gmres/fgmres/ |
| H A D | modpcf.c | 21 …PFlexibleSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *fcn, PetscCtx ctx, PetscCtxDestroyFn *destroy) in KSPFlexibleSetModifyPC() argument 25 …ifyPC_C", (KSP, KSPFlexibleModifyPCFn *, PetscCtx, PetscCtxDestroyFn *), (ksp, fcn, ctx, destroy)); in KSPFlexibleSetModifyPC()
|
| /petsc/include/petsc/private/ |
| H A D | drawimpl.h | 38 PetscErrorCode (*destroy)(PetscDraw); member 85 PetscErrorCode (*destroy)(PetscDrawLG); member 125 PetscErrorCode (*destroy)(PetscDrawSP); member 140 PetscErrorCode (*destroy)(PetscDrawSP); member
|
| /petsc/src/mat/impls/shell/ |
| H A D | shell.h | 12 /* 60 */ PetscErrorCode (*destroy)(Mat); member 19 PetscCtxDestroyFn *destroy; member
|