den2vasp.f90 does not work for 48 atom unit cell crystal
Posted: Fri Dec 01, 2023 3:15 am
I am using den2vasp, *.castep and *.den_fmt (~12 MB) to generate CHGCAR. It works more or less OK for 5 atom model with a warming about truncated #.den_fmt. For the crystal with 48 atoms CHGCAR contains huge numbers of several hundreds for direct coordinates. The same story with bad direct atomic coordinates when I produce *.cube file. Looks like the scripts do not read properly *,castep, I am using academic version of castep 21.11. Should I change array parameters den2vasp.f90 to be able to create correct CHGCAR? What is meaning of the warning about truncated *.den_fmt?