Dear Anders Sir,
I rectified the errors you mentioned. But, now when I try to optimize the structure with max. Force of 0.05eV/Ang (as suggested in your paper in Phys.Rev.B on Ni-Graphene interface), I fail to get the structure optimized even after 67 Force steps. The structure gets distorted alot at the interface.
PFA my python file and also a image depicting the device structure after 67 steps.
Kindly, let me know where am I going wrong.
Thanks in advance.
regards,
ruyam