Dear petsc-users,
I am a beginner in petsc and I have some question with the python interface. I
am trying to solve problem with mumps (or other direct sparse solver)
I have written the following piece of code
ksp = PETSc.KSP()
ksp.create(PETSc.COMM_WORLD)
ksp.setOperators(A)
Benoit :
mumps options can be called from PETSc C-code as
ierr = PetscOptionsInsertString(-mat_mumps_icntl_13 1 -mat_mumps_icntl_24
1 -mat_mumps_cntl_3 1e-12);CHKERRQ(ierr);
or see petsc/src/ksp/ksp/examples/tutorials/ex52.c
I do not know how to translate these calls into python API though.
On 15 April 2015 at 18:15, Hong hzh...@mcs.anl.gov wrote:
Benoit :
mumps options can be called from PETSc C-code as
ierr = PetscOptionsInsertString(-mat_mumps_icntl_13 1 -mat_mumps_icntl_24 1
-mat_mumps_cntl_3 1e-12);CHKERRQ(ierr);
or see petsc/src/ksp/ksp/examples/tutorials/ex52.c
I do