Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tests/
H A Dex10.c13 VecScatter ctx = 0, newctx; in main() local
59 PetscCall(VecScatterCopy(ctx, &newctx)); in main()
62 PetscCall(VecScatterBegin(newctx, y, x, INSERT_VALUES, SCATTER_REVERSE)); in main()
63 PetscCall(VecScatterEnd(newctx, y, x, INSERT_VALUES, SCATTER_REVERSE)); in main()
64 PetscCall(VecScatterDestroy(&newctx)); in main()
/petsc/src/ksp/ksp/tutorials/
H A Dex15.c242 SampleShellPC *newctx; in SampleShellPCCreate() local
245 PetscCall(PetscNew(&newctx)); in SampleShellPCCreate()
246 newctx->diag = 0; in SampleShellPCCreate()
247 *shell = newctx; in SampleShellPCCreate()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcfetidp.c44 FETIDPMat_ctx newctx; in PCBDDCCreateFETIDPMatContext() local
47 PetscCall(PetscNew(&newctx)); in PCBDDCCreateFETIDPMatContext()
50 newctx->pc = pc; in PCBDDCCreateFETIDPMatContext()
51 *fetidpmat_ctx = newctx; in PCBDDCCreateFETIDPMatContext()
57 FETIDPPC_ctx newctx; in PCBDDCCreateFETIDPPCContext() local
60 PetscCall(PetscNew(&newctx)); in PCBDDCCreateFETIDPPCContext()
63 newctx->pc = pc; in PCBDDCCreateFETIDPPCContext()
64 *fetidppc_ctx = newctx; in PCBDDCCreateFETIDPPCContext()