I’m also not really sure why you need such an extensive hardcoded list of functionals - there are routines in libxc that translate between the name and the integer functional identifier.
I’m also not really sure why you need such an extensive hardcoded list of functionals - there are routines in libxc that translate between the name and the integer functional identifier.