Skip to content

Eigensolver context

Arne Morten Kvarving edited this page Mar 1, 2017 · 2 revisions

The eigensolver context

The <eigensolver> context is used to control everything related to eigenvalue solvers.

Example:

<eigensolver>
  <mode>3</mode>
  <nev>3</nev>
  <ncv>4</ncv>
  <shift>1.0e3</shift>
</eigensolver>

mode

Use this to control which ARPACK method to use.

Example:

<mode>3</mode>

nev

Use this to set the number of eigenvalue to compute.

  • Attributes: None
  • Value: The number of eigenvalues

Example:

<nev>3</nev>

ncv

Use this to set the number of Arnoldi vectors to compute.

  • Attributes: None
  • Value: The number of Arnoldi vectors

Example:

<ncv>4</ncv>

shift

Use this to control the eigenvalue shift (used to avoid numerical issues).

  • Attributes: None
  • Value: The eigenvalue shift

Example:

<shift>1.0e3</shift>