tberlok / psecas

A framework for solving numerical eigenvalue problems using pseudo-spectral methods.
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Improve iterative solver #26

Open tberlok opened 5 years ago

tberlok commented 5 years ago

The iterative solver starts using a guess when the difference to the previous iteration is less than a specified guess tolerance. The default for this value should be set to a lower value (it's currently 10 percent).

We should make sure that the difference is always decreasing when we are using guesses. Otherwise we are not converging and we should use the full eigenvalue solver.

See also sections 7.7 and 7.8 in Boyd!