GithubHelp home page GithubHelp logo

Comments (6)

DYang90 avatar DYang90 commented on July 21, 2024

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.

mohanchen avatar mohanchen commented on July 21, 2024

OK, we will try to update the function.

from abacus-develop.

DYang90 avatar DYang90 commented on July 21, 2024

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.

ZhouGD2000 avatar ZhouGD2000 commented on July 21, 2024

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.

DYang90 avatar DYang90 commented on July 21, 2024

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.

Perhaps some forethought for noncollinear magnetic case is necessary.

from abacus-develop.

wenfei-li avatar wenfei-li commented on July 21, 2024

It seems this issue has been resolved, therefore it will be closed

from abacus-develop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.