Re: [petsc-users] Problem Using EPSGetEigenpair

2019-02-08 Thread Eda Oktay via petsc-users
Dear Professor Roman, Thank you for answering. Eda Jose E. Roman , 8 Şub 2019 Cum, 17:05 tarihinde şunu yazdı: > You are printing the variable as an integer, and it is not an integer, > it's a PetscScalar. Use %g > Jose > > > > El 8 feb 2019, a las 15:02, Eda Oktay via petsc-users < >

Re: [petsc-users] Problem Using EPSGetEigenpair

2019-02-08 Thread Jose E. Roman via petsc-users
You are printing the variable as an integer, and it is not an integer, it's a PetscScalar. Use %g Jose > El 8 feb 2019, a las 15:02, Eda Oktay via petsc-users > escribió: > > Hello, > > I am trying to test EPSGetEigenpair function on ex11 in EPS. > > First, I executed ex11 and get

[petsc-users] Problem Using EPSGetEigenpair

2019-02-08 Thread Eda Oktay via petsc-users
Hello, I am trying to test EPSGetEigenpair function on ex11 in EPS. First, I executed ex11 and get 0.097887 as eigenvalue (k). Then under the code ierr = PetscPrintf(PETSC_COMM_WORLD," Number of requested eigenvalues: %D\n",nev);CHKERRQ(ierr); I added the following code: ierr =