usnistgov / jarvis

JARVIS-Tools: an open-source software package for data-driven atomistic materials design. Publications: https://scholar.google.com/citations?user=3w6ej94AAAAJ https://www.youtube.com/watch?v=2-XHeC8gbeY
https://pages.nist.gov/jarvis/
Other
315 stars 124 forks source link

CHGCAR reshape data #306

Open knc6 opened 1 year ago

knc6 commented 1 year ago

In this line https://github.com/usnistgov/jarvis/blob/master/jarvis/io/vasp/outputs.py#L208

tmp_set should be reshaped as ng[2],ng[0],ng[1] to follow Fortran writing format and get correct average electrostatic potential etc.