Searched refs:viewfile (Results 1 – 1 of 1) sorted by relevance
42 PetscViewer viewfile; in main() local168 PetscCall(PetscViewerASCIIOpen(PETSC_COMM_WORLD, "out.m", &viewfile)); in main()169 PetscCall(PetscViewerPushFormat(viewfile, PETSC_VIEWER_ASCII_MATLAB)); in main()170 PetscCall(VecView(global, viewfile)); in main()171 PetscCall(PetscViewerPopFormat(viewfile)); in main()172 PetscCall(PetscViewerDestroy(&viewfile)); in main()