Searched refs:temp_A (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 709 Mat local_mat = 0, temp_A = 0; in ComputeMatrix() local 721 …ECIDE, PETSC_DECIDE, dd.xm * dd.ym * dd.zm, dd.xm * dd.ym * dd.zm, matis_map, matis_map, &temp_A)); in ComputeMatrix() 724 PetscCall(MatISSetLocalMat(temp_A, local_mat)); in ComputeMatrix() 726 PetscCall(MatAssemblyBegin(temp_A, MAT_FINAL_ASSEMBLY)); in ComputeMatrix() 727 PetscCall(MatAssemblyEnd(temp_A, MAT_FINAL_ASSEMBLY)); in ComputeMatrix() 734 PetscCall(MatZeroRowsColumnsLocalIS(temp_A, dirichletIS, 1.0, NULL, NULL)); in ComputeMatrix() 746 PetscCall(MatCreateVecs(temp_A, &lvec, &rvec)); in ComputeMatrix() 748 PetscCall(MatMult(temp_A, lvec, rvec)); in ComputeMatrix() 763 *A = temp_A; in ComputeMatrix()
|