The constructor of RandomSpin.
The initial scaled spin for each atom will be set to a random number between -1 and 1 (but not larger than the specified scaled_spins), corresponding to the net spin-polarization in fractions of the atomic polarization according to Hund's rule.
Type: A sequence of numbers with the same length as the number of atoms in the system; or a list of tuples with atom indices and corresponding scaled spin values; or a list of tuples with element and scaled spin value; or a combination of the latter two.
Default:
A random value in the range [-1,1] for each atom
RandomSpin works essentially
the same way InitialSpin
does, except that the input parameter scaled_spins is used as
a limit
for the initial spin polarization on each atom
.
The actual initial spin set for atom
will be a random number in the interval
(or
if
).