TABLE OF CONTENTS


ABINIT/m_spin_terms [ Modules ]

[ Top ] [ Modules ]

NAME

 m_spin_terms

FUNCTION

 This module contains the spin hamiltonian, and the methods for
 calculating effective magnetic field (torque), dS/dt, and total_energy


 Datatypes:

 * spin_terms_t

 Subroutines:

 * spin_terms_t_initialize
 * spin_terms_t_finalize
 * spin_terms_t_total_Heff : calculate total Heff (no Langevin term)
 * spin_terms_t_Heff_to_dSdt: 
  * spin_terms_t_get_dSdt : dSdt, Langevin term is an input.
  * spin_terms_t_get_Langevin_Heff

COPYRIGHT

 Copyright (C) 2001-2017 ABINIT group (TO, hexu)
 This file is distributed under the terms of the
 GNU General Public License, see ~abinit/COPYING
 or http://www.gnu.org/copyleft/gpl.txt .
 For the initials of contributors, see ~abinit/doc/developers/contributors.txt .

SOURCE

36 #if defined HAVE_CONFIG_H
37 #include "config.h"
38 #endif
39 #include "abi_common.h"
40 module  m_spin_terms
41   use defs_basis
42   use m_errors
43   use m_abicore
44   use m_mathfuncs
45   use m_spin_terms_funcs
46   use m_sparse_matrix
47   use m_random_xoroshiro128plus, only: set_seed, rand_normal_array, rng_t
48   implicit none