deepmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
http://abacus.ustc.edu.cn
GNU Lesser General Public License v3.0
174 stars 136 forks source link

Feature: support reference-structure-specific INPUT setting in orbital generation code #3956

Closed kirk0830 closed 7 months ago

kirk0830 commented 7 months ago

Background

We may rise question like: "is it always to be true that reference structures should have uniformed nspin/number of spin channels?" the answer in principle would be "no". When generating orbitals of Cobalt, it is found there are different SCF convergence behavior, therefore it is expected to have a "powerful" setting for helping get convergence, although slow, while for easy-converging structures, another INPUT setting that can guarantee SCF converges fast as much as possible might be expected.

Describe the solution you'd like

Therefore, in old version SIAB input, only nbands, nspin and lmaxmax are those for users to modify upon their needs and consideration, for now any INPUT parameters can be adjust for structures, if one has defined value for keyword, it will be overwritten if defined again in "reference_structures" section.

Task list only for developers

Notice Possible Changes of Behavior (Reminder only for developers)

No response

Notice any changes of core modules (Reminder only for developers)

No response

Notice Possible Changes of Core Modules (Reminder only for developers)

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

kirk0830 commented 7 months ago

https://github.com/kirk0830/abacus_orbital_generation/pull/29