Remove useless pack/unpack copies
Description
Adding the possibility of not unpacking the batch at the end of Hamiltonian apply. This is useful for algorithms entirely working with batches, such as RMMDIIS eigensolver. In this case, the code saves a lot of calls to pack_copy and unpack_copy, making the code faster.
News snippet
Save some useless operations for RMMDIIS eigensolver.
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.