Searched refs:smw_cholesky (Results 1 – 1 of 1) sorted by relevance
80 PC smw_cholesky; member114 PetscCall(PCCreate(PETSC_COMM_WORLD, &ctx->smw_cholesky)); in SmwSetup()115 PetscCall(PCSetType(ctx->smw_cholesky, PCCHOLESKY)); in SmwSetup()116 …PetscCall(PCSetOperators(ctx->smw_cholesky, ctx->I_plus_gammaUTaDinvU, ctx->I_plus_gammaUTaDinvU)); in SmwSetup()117 PetscCall(PCSetOptionsPrefix(ctx->smw_cholesky, "smw_")); in SmwSetup()118 PetscCall(PCSetFromOptions(ctx->smw_cholesky)); in SmwSetup()119 PetscCall(PCSetUp(ctx->smw_cholesky)); in SmwSetup()141 PetscCall(PCApply(ctx->smw_cholesky, pressure0, pressure1)); in SmwApply()350 PetscCall(PCDestroy(&ctx.smw_cholesky)); in main()