diff options
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 682cbb5..8d09427 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,6 +41,8 @@ int main(int argc, char ** argv) err = EPSSetProblemType(eps, EPS_HEP); CHKERRQ(err); err = EPSSetWhichEigenpairs(eps, EPS_SMALLEST_MAGNITUDE); CHKERRQ(err); err = EPSSetFromOptions(eps); CHKERRQ(err); + //err = EPSSetDimensions(eps, PETSC_DEFAULT, PETSC_DEFAULT, PETSC_DEFAULT); + err = EPSSetUp(eps); CHKERRQ(err); PetscInt nev; PetscInt ncv; |