Searched refs:sview (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/tests/ |
| H A D | ex40.c | 12 PetscViewer sview; in main() local 37 PetscCall(PetscViewerGetSubViewer(PETSC_VIEWER_STDOUT_WORLD, PETSC_COMM_SELF, &sview)); in main() 38 PetscCall(VecView(local, sview)); in main() 39 PetscCall(PetscViewerRestoreSubViewer(PETSC_VIEWER_STDOUT_WORLD, PETSC_COMM_SELF, &sview)); in main()
|
| H A D | ex41.c | 12 PetscViewer sview; in main() local 43 PetscCall(PetscViewerGetSubViewer(PETSC_VIEWER_STDOUT_WORLD, PETSC_COMM_SELF, &sview)); in main() 44 PetscCall(VecView(local, sview)); in main() 45 PetscCall(PetscViewerRestoreSubViewer(PETSC_VIEWER_STDOUT_WORLD, PETSC_COMM_SELF, &sview)); in main()
|
| /petsc/src/mat/tests/ |
| H A D | ex23.c | 210 PetscViewer wview, cview, sview, view; in main() local 218 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_SELF, name, FILE_MODE_WRITE, &sview)); in main() 224 PetscCall(MatView(A, sview)); in main() 229 PetscCall(PetscViewerDestroy(&sview)); in main()
|