Home
last modified time | relevance | path

Searched refs:restricthook (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/interface/
H A Ddm.c3427 …de (*coarsenhook)(DM fine, DM coarse, PetscCtx ctx), PetscErrorCode (*restricthook)(DM fine, Mat m… in DMCoarsenHookAdd()
3434 …if ((*p)->coarsenhook == coarsenhook && (*p)->restricthook == restricthook && (*p)->ctx == ctx) Pe… in DMCoarsenHookAdd()
3438 link->restricthook = restricthook; in DMCoarsenHookAdd()
3465 …fine, PetscErrorCode (*coarsenhook)(DM, DM, void *), PetscErrorCode (*restricthook)(DM, Mat, Vec, … in DMCoarsenHookRemove()
3472 … if ((*p)->coarsenhook == coarsenhook && (*p)->restricthook == restricthook && (*p)->ctx == ctx) { in DMCoarsenHookRemove()
3507 …if (link->restricthook) PetscCall((*link->restricthook)(fine, restrct, rscale, inject, coarse, lin… in DMRestrict()
3550 …orCode (*ddhook)(DM global, DM block, PetscCtx ctx), PetscErrorCode (*restricthook)(DM global, Vec… in DMSubDomainHookAdd()
3557 …if ((*p)->ddhook == ddhook && (*p)->restricthook == restricthook && (*p)->ctx == ctx) PetscFunctio… in DMSubDomainHookAdd()
3560 link->restricthook = restricthook; in DMSubDomainHookAdd()
3587 …DM global, PetscErrorCode (*ddhook)(DM, DM, void *), PetscErrorCode (*restricthook)(DM, VecScatter… in DMSubDomainHookRemove()
[all …]
/petsc/include/petsc/private/
H A Ddmimpl.h115 …PetscErrorCode (*restricthook)(DM, Mat, Vec, Mat, DM, void *); /* Run each time a new problem is r… member
131 PetscErrorCode (*restricthook)(DM, VecScatter, VecScatter, DM, void *); member
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDM.pyx2440 restricthook: DMRestrictHookFunction,
2451 restricthook
2477 if restricthook is not None:
2478 restrictcontext = (restricthook, args, kargs)