Lines Matching refs:tMat
211 Mat tMat; in PCGAMGCreateLevel_GAMG() local
234 PetscCall(MatCreate(comm, &tMat)); in PCGAMGCreateLevel_GAMG()
235 PetscCall(MatSetSizes(tMat, ncrs, ncrs, PETSC_DETERMINE, PETSC_DETERMINE)); in PCGAMGCreateLevel_GAMG()
236 PetscCall(MatSetType(tMat, mtype)); in PCGAMGCreateLevel_GAMG()
237 PetscCall(MatSeqAIJSetPreallocation(tMat, 0, d_nnz)); in PCGAMGCreateLevel_GAMG()
238 PetscCall(MatMPIAIJSetPreallocation(tMat, 0, d_nnz, 0, o_nnz)); in PCGAMGCreateLevel_GAMG()
247 PetscCall(MatSetValues(tMat, 1, &dest_row, ncols, j_buf, v_buff, ADD_VALUES)); in PCGAMGCreateLevel_GAMG()
250 PetscCall(MatAssemblyBegin(tMat, MAT_FINAL_ASSEMBLY)); in PCGAMGCreateLevel_GAMG()
251 PetscCall(MatAssemblyEnd(tMat, MAT_FINAL_ASSEMBLY)); in PCGAMGCreateLevel_GAMG()
259 PetscCall(MatView(tMat, viewer)); in PCGAMGCreateLevel_GAMG()
262 PetscCall(MatConvert(tMat, MATMPIADJ, MAT_INITIAL_MATRIX, &adj)); in PCGAMGCreateLevel_GAMG()
263 PetscCall(MatDestroy(&tMat)); in PCGAMGCreateLevel_GAMG()