Home
last modified time | relevance | path

Searched refs:ctxdestroy (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/objects/
H A Dinherit.c884 PetscCtxDestroyFn *ctxdestroy; member
961 if ((*obj)->ctxdestroy) PetscCall((*(*obj)->ctxdestroy)(&(*obj)->ctx)); in PetscContainerDestroy()
988 obj->ctxdestroy = des; in PetscContainerSetCtxDestroy()
/petsc/include/petsc/private/
H A Dsnesimpl.h26 PetscCtxDestroyFn *ctxdestroy; member
H A Ddmimpl.h239 PetscCtxDestroyFn *ctxdestroy; member
/petsc/src/snes/interface/
H A Dsnes.c1232 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()
/petsc/src/snes/impls/nasm/
H A Dnasm.c126 …(SNESSetComputeApplicationContext(nasm->subsnes[i], snes->ops->ctxcompute, snes->ops->ctxdestroy)); in SNESSetUp_NASM()
/petsc/src/dm/interface/
H A Ddm.c732 if ((*dm)->ctx && (*dm)->ctxdestroy) PetscCall((*(*dm)->ctxdestroy)(&(*dm)->ctx)); in DMDestroy()
3760 dm->ctxdestroy = destroy; in DMSetApplicationContextDestroy()