Lines Matching refs:ss

7 PetscErrorCode MyISView(IS *rowis, IS *colis, PetscInt gs, PetscInt ss, PetscViewer viewer)  in MyISView()  argument
12 …PetscCheck(ss <= 1, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "ss must be less than or equal to 1… in MyISView()
14 …PetscCall(PetscViewerGetSubViewer(viewer, ss > -1 ? PetscObjectComm((PetscObject)rowis[ss]) : PETS… in MyISView()
15 if (ss > -1) PetscCall(ISView(rowis[ss], subviewer)); in MyISView()
16 …PetscCall(PetscViewerRestoreSubViewer(viewer, ss > -1 ? PetscObjectComm((PetscObject)rowis[ss]) : … in MyISView()
18 …PetscCall(PetscViewerGetSubViewer(viewer, ss > -1 ? PetscObjectComm((PetscObject)rowis[ss]) : PETS… in MyISView()
19 if (ss > -1) PetscCall(ISView(colis[ss], subviewer)); in MyISView()
20 …PetscCall(PetscViewerRestoreSubViewer(viewer, ss > -1 ? PetscObjectComm((PetscObject)rowis[ss]) : … in MyISView()
128 PetscInt ss; in main() local
130 ss = gsubdomainperm[s]; in main()
131 …if (gs == gsubdomainnums[ss]) { /* Global subdomain gs being viewed is my subdomain with local num… in main()
133 } else ss = -1; in main()
134 } else ss = -1; in main()
135 PetscCall(MyISView(rowis, colis, gs, ss, viewer)); in main()
154 PetscInt ss; in main() local
155 ss = gsubdomainperm[s]; in main()
156 …if (gs == gsubdomainnums[ss]) { /* Global subdomain gs being viewed is my subdomain with local num… 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()
185 PetscInt ss; in main() local
186 ss = gsubdomainperm[s]; in main()
187 …if (gs == gsubdomainnums[ss]) { /* Global subdomain gs being viewed is my subdomain with local num… 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()