Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/tutorials/
H A Dex4.c79 Mat U, UT, D, aD, aDinv, I_plus_gammaUTaDinvU; member
96 PetscCall(MatDuplicate(ctx->D, MAT_COPY_VALUES, &ctx->aD)); in SmwSetup()
97 PetscCall(MatScale(ctx->aD, ctx->alpha)); in SmwSetup()
100 PetscCall(MatDuplicate(ctx->aD, MAT_DO_NOT_COPY_VALUES, &ctx->aDinv)); in SmwSetup()
101 PetscCall(MatCreateVecs(ctx->aD, &aDVec, NULL)); in SmwSetup()
102 PetscCall(MatGetDiagonal(ctx->aD, aDVec)); in SmwSetup()
348 PetscCall(MatDestroy(&ctx.aD)); in main()