forked from lijiext/lammps
Completing the correction in fix langevin/spin.
This commit is contained in:
parent
90f26f05fc
commit
ac6cb062e6
|
@ -109,7 +109,6 @@ void FixLangevinSpin::init()
|
|||
double hbar = force->hplanck/MY_2PI; // eV/(rad.THz)
|
||||
double kb = force->boltz; // eV/K
|
||||
|
||||
//D = (alpha_t*gil_factor*kb*temp);
|
||||
D = (alpha_t*(1.0+(alpha_t)*(alpha_t))*kb*temp);
|
||||
D /= (hbar*dts);
|
||||
sigma = sqrt(2.0*D);
|
||||
|
|
Loading…
Reference in New Issue