returnh_loc_slater(self.spin_names,self.orb_names,self.orb_hyb,**self.h_loc_params)# h_loc_params must include U_matrix, and optionally H_dump
elifself.h_loc_type=="kanamori":
returnh_loc_kanamori(self.spin_names,self.orb_names,self.orb_hyb,**self.h_loc_params)# h_loc_params must include U, Uprime, J_hund, and optionally H_dump
elifself.h_loc_type=="density":
returnh_loc_density(self.spin_names,self.orb_names,self.orb_hyb,**self.h_loc_params)# h_loc_params must include U, Uprime, and optionally H_dump
elifself.h_loc_type=="other":
returnself.h_loc_params["h_loc"]# user provides h_loc with argument h_loc
else:
raiseRuntimeError("Hamiltonian type not implemented.")