Home
last modified time | relevance | path

Searched refs:destroyctx (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/classes/viewer/impls/glvis/
H A Dglvis.c28 …PetscCtxDestroyFn *destroyctx; /* destroy routine for c… member
128 …etscInt, PetscObject[], void *), PetscObject Vfield[], PetscCtx ctx, PetscCtxDestroyFn *destroyctx) in PetscViewerGLVisSetFields() argument
137 …Object[], void *, PetscCtxDestroyFn *), (viewer, nf, fec_type, dim, g2l, Vfield, ctx, destroyctx)); in PetscViewerGLVisSetFields()
141 …etscInt, PetscObject[], void *), PetscObject Vfield[], PetscCtx ctx, PetscCtxDestroyFn *destroyctx) in PetscViewerGLVisSetFields_GLVis() argument
166 if (socket->destroyctx && socket->ctx) PetscCall((*socket->destroyctx)(&socket->ctx)); in PetscViewerGLVisSetFields_GLVis()
168 socket->destroyctx = destroyctx; in PetscViewerGLVisSetFields_GLVis()
524 if (socket->destroyctx && socket->ctx) PetscCall((*socket->destroyctx)(&socket->ctx)); in PetscViewerDestroy_GLVis()
/petsc/src/dm/impls/shell/
H A Ddmshell.c13 PetscCtxDestroyFn *destroyctx; member
249 PetscErrorCode DMShellSetDestroyContext(DM dm, PetscCtxDestroyFn *destroyctx) in DMShellSetDestroyContext() argument
258 shell->destroyctx = destroyctx; in DMShellSetDestroyContext()
1089 if (shell->destroyctx) PetscCallBack("Destroy Context", (*shell->destroyctx)(&shell->ctx)); in DMDestroy_Shell()