TABLE OF CONTENTS
ABINIT/m_spin_primitive_potential [ Modules ]
NAME
m_spin_primitive_potential
FUNCTION
This module contains the atomic structures and the spin hamiltonian inside the primitive cell which can be directly mapped to the xml file. It is not for the calculation, but for constructing the hamiltonian in supercell. It is also used as input for the magnon band structure calculation. Datatypes: spin_primitive_potential_t Subroutines:
COPYRIGHT
Copyright (C) 2001-2022 ABINIT group (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
25 #if defined HAVE_CONFIG_H 26 #include "config.h" 27 #endif 28 #include "abi_common.h" 29 30 module m_spin_primitive_potential 31 use, intrinsic :: iso_c_binding 32 use m_dynamic_array, only: int_array_type, real_array_type, int2d_array_type 33 use m_mathfuncs 34 use defs_basis 35 use m_abicore 36 use m_errors 37 use m_xmpi 38 use m_nctk 39 #if defined HAVE_NETCDF 40 use netcdf 41 #endif 42 43 use m_mpi_scheduler, only: init_mpi_info 44 use m_multibinit_dataset, only: multibinit_dtset_type 45 use m_multibinit_io_xml, only: xml_read_spin, xml_free_spin 46 use m_multibinit_cell, only: mbcell_t, mbsupercell_t 47 use m_primitive_potential, only: primitive_potential_t 48 use m_abstract_potential, only: abstract_potential_t 49 use m_dynamic_array, only: int2d_array_type 50 use m_supercell_maker, only: supercell_maker_t 51 use m_spmat_ndcoo, only: ndcoo_mat_t 52 use m_spin_potential, only: spin_potential_t 53 54 implicit none 55 private