Commits

BarryFSmith committed 67d8a73

ex10.c had this crazy binary save of solutions I must have put in some time ago.

Hg-commit: ad57c4ad08a9a65f48debe9e73abb96aaefd7ccd

Comments (0)

Files changed (1)

src/ksp/ksp/examples/tutorials/ex10.c

         while ( num_rhs-- ) {
 	  if (num_rhs == 1) VecSet(x,0.0);
           ierr = KSPSolve(ksp,b,x);CHKERRQ(ierr);
-	  VecView(x,PETSC_VIEWER_BINARY_WORLD);
-          ierr = VecAssemblyBegin(x);CHKERRQ(ierr);
-          ierr = VecAssemblyEnd(x);CHKERRQ(ierr);
         }
         ierr = KSPGetIterationNumber(ksp,&its);CHKERRQ(ierr);
         if (cknorm){   /* Check error for each rhs */