chg2cube.pl - strange result
Posted: Sun Apr 25, 2010 1:28 pm
Hi all,
I've been using the chg2cube.pl utility to convert the PARCHG file generated by VASP to the cube format to be read by Materials Studio. The chg2cube.pl utility has been working fine for me so far except for one case where the isosurface looks really strange: the isosurfaces on top and below the plane of atoms are sheared in opposite directions to one another. (Imagine a perfect sphere sliced in the centre with the top hemisphere displaced to the left and the bottom hemisphere displaced to the right)
I've used another program to look at the cube file and it looks the same, so I don't think it is the fault of Materials Studio. I've also used another program to look at the PARCHG file and the isosurfaces look fine too, so something must have gone wrong during the PARCHG to cube conversion process. Unfortunately I'm perl illiterate, so i can't look at the code to see what has gone wrong. If someone is willing to look at the files, I can post the PARCHG and corresponding cube files somewhere for download. Thanks in advance!
I've been using the chg2cube.pl utility to convert the PARCHG file generated by VASP to the cube format to be read by Materials Studio. The chg2cube.pl utility has been working fine for me so far except for one case where the isosurface looks really strange: the isosurfaces on top and below the plane of atoms are sheared in opposite directions to one another. (Imagine a perfect sphere sliced in the centre with the top hemisphere displaced to the left and the bottom hemisphere displaced to the right)
I've used another program to look at the cube file and it looks the same, so I don't think it is the fault of Materials Studio. I've also used another program to look at the PARCHG file and the isosurfaces look fine too, so something must have gone wrong during the PARCHG to cube conversion process. Unfortunately I'm perl illiterate, so i can't look at the code to see what has gone wrong. If someone is willing to look at the files, I can post the PARCHG and corresponding cube files somewhere for download. Thanks in advance!