Put global variables in class ham_base
Putting the Hamiltonian in an object, derived from a base-class ham_base and placing all the global variables in ham_base. I did this as an example of how it could work.
Putting the Hamiltonian in an object, derived from a base-class ham_base and placing all the global variables in ham_base. I did this as an example of how it could work.