Change orthogonalization option in fortran?

2009-11-20 Thread Barry Smith
Sorry, we don't have the Fortran interfaces for these operations. You can use call PetscOptionsSet(- ksp_gmres_classicalgramschmidt,PETSC_NULL_CHARACTER,ierr) call PetscOptionsSet(- ksp_gmres_cgs_refinement_type,REFINE_IFNEEDED,ierr) before creating the KSP object. Barry

Change orthogonalization option in fortran?

2009-11-19 Thread h...@umn.edu
Hi, I want to change the method for orthogonalization for the default ksp solver in fortran. I added the following in my code: -- call KSPGMRESSetOrthogonalization(ksp,KSPGMRESClassicalGramSchmidtOrthogonalization,pterr) call