Skip to content

Enable Lanczos exponential for Maxwell

Description

When using the Lanczos algorithm for computing the exponential of the Hamiltonian, the algorithm needs to work on the full vector, i.e. on the full batch, in contrast to the algorithm for the electrons where the exponential of the Hamiltonian is computed for each state in a batch separately.

Introduce a variable full_batch that is set to true only for the Maxwell system.

Be aware that the current formulation of the PML does not work well with the Lanczos exponential.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.

Merge request reports

Loading