Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/impls/gcr/pipegcr/
H A Dpipegcrimpl.h20 void *modifypc_ctx; /* user defined data for the modifypc function */ member
H A Dpipegcr.c130 …l((*pipegcr->modifypc)(ksp, ksp->its, 0 /* unused argument */, ksp->rnorm, pipegcr->modifypc_ctx)); in KSPSolve_PIPEGCR_cycle()
388 if (pipegcr->modifypc_destroy) PetscCall((*pipegcr->modifypc_destroy)(&pipegcr->modifypc_ctx)); in KSPReset_PIPEGCR()
668 pipegcr->modifypc_ctx = ctx; in KSPFlexibleSetModifyPC_PIPEGCR()
/petsc/src/ksp/ksp/impls/gcr/
H A Dgcr.c13 void *modifypc_ctx; /* user defined data for the modifypc function */ member
41 if (ctx->modifypc) PetscCall((*ctx->modifypc)(ksp, ksp->its, k, ksp->rnorm, ctx->modifypc_ctx)); in KSPSolve_GCR_cycle()
161 if (ctx->modifypc_destroy) PetscCall((*ctx->modifypc_destroy)(&ctx->modifypc_ctx)); in KSPReset_GCR()
199 gcr->modifypc_ctx = ctx; in KSPFlexibleSetModifyPC_GCR()