| 
|  Minor patch for bandgnu13.c |  | 
 Date: 2010/10/09 17:29
 Name: H. Jeong
 
Usually, vertical lines are drawn on high-symmetric k-points to visualize clearly the band-structure.
 When we draw low-energy bands near the Fermi level using our_work.BANDDAT1, ocasionally the vertical lines vanish.
 
 This behavior can be cured by modifing a part of bandgnu13.c like
 
 From the line 307 to 316 in the original code
 
 
 for (ik=2;ik<=nkpath;ik++)
 {
 k = 0;
 for (i=0;i<=10;i++)
 {
 if (((ymin1-ChemP)*Unit+(ymax1-ymin1)*Unit*(double)i/10) > 0 && k == 0)
 {
 fprintf(fp, "%lf %lf\n", kline[ik][1], 0.0);
 k = 1;
 }
 
 fprintf(fp, "%lf %lf\n", kline[ik][1],
 (ymin1-ChemP)*Unit+(ymax1-ymin1)*Unit*(double)i/10);
 }
 fprintf(fp, "\n\n");
 }
 
 |  |