Integration of the potential files
Posted: Thu Feb 03, 2011 9:40 pm
I am interested in using the potential file that is output by abinit for further analysis and I want to make sure that I understand the file and it's contents. Currently when I integrate the contents of the file after multiplying by the proper charge density I still do not arrive at the proper value in the *.out file.
For example if I only consider the Hartree potential alone I intgrate to a value of exactly double what is shown in the *.out file. As another example when I only consider the XC part fo the potential I integrate to a value that is just about 4/3 larger than the value in the *.out file.
Where in the code can I find the routines that are used to carry out this integration? I would like to recreate these numbers in matlab to verify my understanding of these files and ensure I have not come across a bug in the abinit code.
For example if I only consider the Hartree potential alone I intgrate to a value of exactly double what is shown in the *.out file. As another example when I only consider the XC part fo the potential I integrate to a value that is just about 4/3 larger than the value in the *.out file.
Where in the code can I find the routines that are used to carry out this integration? I would like to recreate these numbers in matlab to verify my understanding of these files and ensure I have not come across a bug in the abinit code.