Feature: Autoset a finite magmon if STRU does not specify a finite one #3453
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #3452.
List of Changes
STRU
do not set a finite magnetic moment for ALL atoms in a magnetic calculations (nspin=2||nspin=4
), this PR will autoset a finite one. This PR is to avoid the users forget to set a reasonable magnetic moment in STRU, which will result in an infinitely non-magnetic ground state.140_PW_15_SO
,STRU
do not set a finite magnetic moment and get a non-magnetic result. I change the reference data.140_PW_15_SO
, I change the reference data of207_NO_KP_OHS_SPIN4
Please Notice That:
After this PR, it will be impossible to start a magnetic calculation from a zero magnetic moment initialization though you set 0 in STRU.