Comments (6)
There are 3 input structures could be considered.
1.
symbol='Ni',magmom=2,...
symbol='Ni',magmom=-2,...
symbol='O',magmom=0,...
symbol='O',magmom=0,...
2.
symbol='Ni Ni O O',
magmom='2 -2 2*0',
....
3.
symbol='Ni1',magmom=2,...
symbol='Ni2',magmom=-2,...
symbol='O',magmom=0,...
The second one might be suitable for manual inputs,because some values of magmom can be abbreviated as ntype*magmom.
The last one is more complex because a number is always needed for classifying the atoms with magnetic moments and Hubbard parameters, eg.
symbol='Co Co Co Co...',
magmom='23 22...',
ldauu='4.5 3.0 4.5 3.0...'
...
=>
symbol='Co1',magmom=3,ldauu=4.5...
symbol='Co2',magmom=3,ldauu=3.0...
symbol='Co3',magmom=2,ldauu=4.5...
symbol='Co4',magmom=2,ldauu=3.0...
...
from abacus-develop.
OK, we will try to update the function.
from abacus-develop.
OK, we will try to update the function.
I suggest that the magnetic moments should be specified in the STRU file. In this way, we can edit the magnetic moments in STRU file by some visualizer tools.
from abacus-develop.
I use the second structure suggested by @DYang90, which is also used in VASP, but also preserve the original way.
The input struture is
magmom m1 m2 n3*m3
where m1,m2,m3,....following the same order as the atom type in STRU file, and is defined in INPUT file. There must be NO space before and after *.
Either defining the magnetic moment in this way or in STRU file is allowed, but not both of them.
NOTICE: this is just a modification in the input structure.
from abacus-develop.
I use the second structure suggested by @DYang90, which is also used in VASP, but also preserve the original way.
The input struture ismagmom m1 m2 n3*m3
where m1,m2,m3,....following the same order as the atom type in STRU file, and is defined in INPUT file. There must be NO space before and after *.
Either defining the magnetic moment in this way or in STRU file is allowed, but not both of them.
NOTICE: this is just a modification in the input structure.
Perhaps some forethought for noncollinear magnetic case is necessary.
from abacus-develop.
It seems this issue has been resolved, therefore it will be closed
from abacus-develop.
Related Issues (20)
- Abnormal Point defect formation energy predicted via ABACUS HOT 2
- Weekly example test failed at 20240619 HOT 1
- Compiling error with `DEBUG_INFO=ON` HOT 1
- The stress calculation is OOM when set kpar > 1 HOT 4
- NO STRU_ION_1 file output when i use `out_stru 1` in cell-relax or relax calculation
- Should remove out_wfc_flag in ElecStateLCAO
- Need a function to get the global dimension of matrix in Parallel_2D
- large amount of irrelevant GPU memory allocation was observed when running GPU LCAO.
- Test: daily gnu-dav accuracy test failed at 20240620 HOT 2
- Bug: ABACUS `esolver_type lj` is not implemented correctly thus not practically usable
- diffierent output between v3.5.1(gnu) v3.6.5(intel) HOT 7
- Test: need to support reading the threshold from file in integrate test
- Failed clang-tidy/clang-format action might break the code HOT 5
- Why the charge file .cube still output when i set `out_chg=0`? HOT 2
- DM_R should be removed in class Gint_inout
- support giant basis calculation HOT 1
- SOC "Caught signal 11 (Segmentation fault: address not mapped to object at address 0x10)" error
- Replace the LOC.ParaV-> by orb_con.ParaV. in ESolver_KS_LCAO_TDFT
- ERROR when using ASE-ABACUS with different ABACUS version HOT 2
- Bug: `get_wf` seems not work properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abacus-develop.