Lines Matching refs:submats
26 Mat A, *submats; in main() local
141 PetscCall(MatCreateSubMatricesMPI(A, nsubdomains, rowis, colis, MAT_INITIAL_MATRIX, &submats)); in main()
149 …PetscCall(PetscObjectsListGetGlobalNumbering(PETSC_COMM_WORLD, 1, (PetscObject *)submats, &gnsubdo… in main()
157 … PetscCall(PetscViewerGetSubViewer(viewer, PetscObjectComm((PetscObject)submats[ss]), &subviewer)); in main()
158 PetscCall(MatView(submats[ss], subviewer)); in main()
159 …PetscCall(PetscViewerRestoreSubViewer(viewer, PetscObjectComm((PetscObject)submats[ss]), &subviewe… in main()
172 PetscCall(MatCreateSubMatricesMPI(A, nsubdomains, rowis, colis, MAT_REUSE_MATRIX, &submats)); in main()
180 …PetscCall(PetscObjectsListGetGlobalNumbering(PETSC_COMM_WORLD, 1, (PetscObject *)submats, &gnsubdo… in main()
188 … PetscCall(PetscViewerGetSubViewer(viewer, PetscObjectComm((PetscObject)submats[ss]), &subviewer)); in main()
189 PetscCall(MatView(submats[ss], subviewer)); in main()
190 …PetscCall(PetscViewerRestoreSubViewer(viewer, PetscObjectComm((PetscObject)submats[ss]), &subviewe… in main()
202 for (k = 0; k < nsubdomains; ++k) PetscCall(MatDestroy(submats + k)); in main()
203 PetscCall(PetscFree(submats)); in main()