Dear Adel: Thanks for you reply and the code. I found that the whole reason my code doesn't work is that energy=0 seems to be a very special energy. Change energy make my code works.
Bests, Wilson
Dear Adel: Thanks for you reply and the code. I found that the whole reason my code doesn't work is that energy=0 seems to be a very special energy. Change energy make my code works.
Bests, Wilson