Libxc should have a function to create mixed functionals
There should be a way to initialize libxc to do mixed functionals. See the comment here for a possibility. I would rather prefer the syntax:
func = xc_new_mixed_func(func_ids[], func_prefactors[])
func_prefactors
would have to be generalized at some point to allow for arbitrary range-separated functionals