mzjb / DeepH-pack

Deep neural networks for density functional theory Hamiltonian.
GNU Lesser General Public License v3.0
246 stars 51 forks source link

Update preprocess.py for magmon from abacus #73

Closed Lonya0 closed 6 months ago

Lonya0 commented 6 months ago

preprocess with a magmom.txt was only available to interface == openmx, so I add some code to automately readin ABACUS STRU file to output magmom.txt as well. Codes was tested and works.