Implement a class to conveniently set up a negative imaginary potential (aka absorbing boundary conditions). The implementation should be modelled along the lines of the Matlab NIP.
NIP's could then be added simply to the operator to use. As an alternative, there should be the possibility of using a Hermitian Hamiltonian for the propagation (so that we can use e.g., the Chebychev propagator) and applying the NIP occasionally, such as after every time step manually (similar to the way the Matlab version handles NIPs).
Add a demo and documentation on how to use NIPs. Also use NIPs in appropriate other demos that mimic the Matlab demos.
Implementation note:
The NIP was not fully implemented in all demos, and the implementation is somewhat restricted. See [#101] for the followup issues.
Diff:
Diff:
Diff:
Diff:
Related
Tickets: #101