Page 1 of 1
Error: Should be no new maxima in edge refinement
Posted: Tue Nov 24, 2015 5:33 pm
by liam3935
Hi, I'm a new user of bader charge analysis. A error displayed when I run "bader CHGCAR -ref CHGCAR_sum". Could you tell me how to solve it? Thank you.
Re: Error: Should be no new maxima in edge refinement
Posted: Tue Nov 24, 2015 7:46 pm
by graeme
If you post your charge density files, I'll debug.
Re: Error: Should be no new maxima in edge refinement
Posted: Wed Nov 25, 2015 12:32 am
by liam3935
Thank you for your quick responds. I tried to attach CHGCAR and CHGCAR_sum, but failed. How can I post the files?
Re: Error: Should be no new maxima in edge refinement
Posted: Wed Nov 25, 2015 12:53 am
by graeme
Make sure to zip/bzip2/gzip them so they are small enough. Or, use dropbox/your-favorite-cloud-service/web-page to upload them.
Re: Error: Should be no new maxima in edge refinement
Posted: Wed Nov 25, 2015 6:29 am
by liam3935
Thank you. I have already uploaded them. Please check the attached files.
Re: Error: Should be no new maxima in edge refinement
Posted: Wed Nov 25, 2015 6:39 pm
by graeme
There is a problem with your CHGCAR_sum figure. If you visualize it, for example in vesta, you will see that something has gone wrong in how it was generated. It is probably related to the fact that the numbers in the CHGCAR_sum file are not in standard fortran format. Also, there are many large negative values in that file as well as rapid oscillations between positive and negative values of similar magnitude.
You can see that doing a Bader analysis on the CHGCAR file alone works fine.