Enable specification of photon modes from a file
Description
Add an input option to read all photon modes from a file. The file will be read on the root rank and the information will be distributed using MPI.
This is much more efficient for large mode numbers (more than a few thousand) because the input file is parsed and this takes very long for lots of photon modes.
News snippet
Enable specification of photon modes from a file
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.