Searched refs:ctxdestroy (Results 1 – 6 of 6) sorted by relevance
884 PetscCtxDestroyFn *ctxdestroy; member961 if ((*obj)->ctxdestroy) PetscCall((*(*obj)->ctxdestroy)(&(*obj)->ctx)); in PetscContainerDestroy()988 obj->ctxdestroy = des; in PetscContainerSetCtxDestroy()
26 PetscCtxDestroyFn *ctxdestroy; member
239 PetscCtxDestroyFn *ctxdestroy; member
1232 snes->ops->ctxdestroy = destroy; in SNESSetComputeApplicationContext()3472 if (snes->ops->ctxdestroy && snes->ctx) { in SNESReset()3473 … PetscCallBack("SNES callback destroy application context", (*snes->ops->ctxdestroy)(&snes->ctx)); in SNESReset()5855 … PetscCall(SNESSetComputeApplicationContext(snes, snes->ops->ctxcompute, snes->ops->ctxdestroy)); in SNESGetNPC()
126 …(SNESSetComputeApplicationContext(nasm->subsnes[i], snes->ops->ctxcompute, snes->ops->ctxdestroy)); in SNESSetUp_NASM()
732 if ((*dm)->ctx && (*dm)->ctxdestroy) PetscCall((*(*dm)->ctxdestroy)(&(*dm)->ctx)); in DMDestroy()3760 dm->ctxdestroy = destroy; in DMSetApplicationContextDestroy()