Class Scine::Utils::IndirectPreconditionerEvaluator

class IndirectPreconditionerEvaluator : public Scine::Utils::PreconditionerEvaluator

This preconditioner evaluator returns the diagonal preconditioner for the Davidson algorithm.

Public Functions

Eigen::VectorXd evaluate(double eigenvalue) const

Evaluates the preconditioner vector.

The preconditioner elements are p_k = (H - h_k*I)^{-1}, where H is the diagonal of the full matrix.

Parameters
  • eigenvalues: The current guess for the eigenvalue h_k