Question on PROCAR Precision
Moderators: Global Moderator, Moderator
- paulfons
- Jr. Member
- Posts: 85
- Joined: Sun Nov 04, 2012 2:40 am
- License Nr.: 5-1405
- Location: Yokohama, Japan
- Contact:
Question on PROCAR Precision
I posted a similar post in the Bug Reports forum and am reposting here as I now feel my choice of forum was inappropriate.
I am calculating surface states of rather large slabs (several hundred atoms) and am calculating the contributions (spherical harmonic projections) of individual atoms on the surface bands. To do this I parsed the PROCAR file and used pymatgen and matplotlib to generate the graphics. While this worked quite well for smaller systems, for larger systems, the projection of any one atom is rather small and the three digits of precision offered in the PROCAR file seems inadequate. My question is this. Is it meaningful to modify the source to include more digits of precision? If it is meaningful, I suspect I have to modify some output lines in "sphpro.f90", but it is not clear to me which lines are relevant immediately as am not familiar with the variable naming schemes. Would someone be kind enough to mention which output lines should be modified? Thanks for any insight that you can offer.
I am calculating surface states of rather large slabs (several hundred atoms) and am calculating the contributions (spherical harmonic projections) of individual atoms on the surface bands. To do this I parsed the PROCAR file and used pymatgen and matplotlib to generate the graphics. While this worked quite well for smaller systems, for larger systems, the projection of any one atom is rather small and the three digits of precision offered in the PROCAR file seems inadequate. My question is this. Is it meaningful to modify the source to include more digits of precision? If it is meaningful, I suspect I have to modify some output lines in "sphpro.f90", but it is not clear to me which lines are relevant immediately as am not familiar with the variable naming schemes. Would someone be kind enough to mention which output lines should be modified? Thanks for any insight that you can offer.
-
- Global Moderator
- Posts: 1817
- Joined: Mon Nov 18, 2019 11:00 am
Re: Question on PROCAR Precision
Hi,
We're sorry that we didn’t answer your question. This does not live up to the quality of support that we aim to provide. The team has since expanded. If we can still help with your problem, please ask again in a new post, linking to this one, and we will answer as quickly as possible.
Best wishes,
VASP