get_magmoms#

atomate2.vasp.sets.base.get_magmoms(structure, magmoms=None, config_magmoms=None)[source]#

Get the mamgoms using the following precedence.

  1. user incar settings

  2. magmoms in input struct

  3. spins in input struct

  4. job config dict

  5. set all magmoms to 0.6

Parameters:
Return type:

list[float]