Searched refs:view_sparse (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex151.c | 35 PetscBool view_sparse; in main() local 58 view_sparse = PETSC_FALSE; in main() 59 PetscCall(PetscOptionsGetBool(NULL, NULL, "-view_sparse", &view_sparse, NULL)); in main() 60 if (!view_sparse) PetscCall(PetscViewerPushFormat(viewer, PETSC_VIEWER_ASCII_DENSE)); in main() 68 if (!view_sparse) PetscCall(PetscViewerPopFormat(viewer)); in main()
|
| H A D | ex166.c | 35 PetscBool view_sparse; in main() local 58 view_sparse = PETSC_FALSE; in main() 59 PetscCall(PetscOptionsGetBool(NULL, NULL, "-view_sparse", &view_sparse, NULL)); in main() 60 if (!view_sparse) PetscCall(PetscViewerPushFormat(viewer, PETSC_VIEWER_ASCII_DENSE)); in main() 67 if (!view_sparse) PetscCall(PetscViewerPopFormat(viewer)); in main()
|