TABLE OF CONTENTS


ABINIT/m_spin_potential [ Modules ]

[ Top ] [ Modules ]

NAME

 m_spin_potential

FUNCTION

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


 Datatypes:

 * spin_potential_t

 Subroutines:

 * spin_potential_t_initialize
 * spin_potential_t_finalize
 * spin_potential_t_total_Heff : calculate total Heff (no Langevin term)
 * spin_potential_t_Heff_to_dSdt: 
  * spin_potential_t_get_dSdt : dSdt, Langevin term is an input.
  * spin_potential_t_get_Langevin_Heff

COPYRIGHT

 Copyright (C) 2001-2024 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

34 #if defined HAVE_CONFIG_H
35 #include "config.h"
36 #endif
37 #include "abi_common.h"
38 module  m_spin_potential
39   use defs_basis
40   use m_errors
41   use m_abicore
42   use m_xmpi
43   use m_mpi_scheduler, only: mb_mpi_info_t, init_mpi_info, mpi_scheduler_t
44   use m_multibinit_dataset, only: multibinit_dtset_type
45   use m_multibinit_cell, only: mbcell_t, mbsupercell_t
46   use m_spmat_coo, only: coo_mat_t
47   use m_spmat_lil, only: lil_mat_t
48   use m_spmat_csr, only : CSR_mat_t
49   use m_spmat_convert, only : spmat_convert
50   use m_abstract_potential, only : abstract_potential_t
51   use m_hashtable_strval, only: hash_table_t
52   implicit none