2
0
mirror of https://github.com/LCPQ/DEHam synced 2024-11-12 17:13:46 +01:00
Go to file
2020-03-05 15:42:32 +01:00
examples Updated readme. 2020-03-05 15:30:27 +01:00
src Fixed issues with OSX and int to real conversion (nt1 and nt2) now compiles and runs on osx. Added two examples 2020-03-05 15:25:26 +01:00
.gitignore now compiles but bug in the calculation of s2 2018-01-28 11:16:22 +01:00
LICENCE added licence file 2016-12-20 12:37:30 +01:00
Makefile Fixed issues with OSX and int to real conversion (nt1 and nt2) now compiles and runs on osx. Added two examples 2020-03-05 15:25:26 +01:00
README.md Updated readme. 2020-03-05 15:30:27 +01:00

DOI

DEHam

Double Exchange Hamiltonian: Complete Version

(under GNU GENERAL PUBLIC LICENSE v2)

Dependencies

  1. PETSc and SLEPc

  2. IRPF90

Compiling

  1. Export environment variables for PETSc and SLEPc
export PETSC_DIR=${PATH_TO_PETSC_INSTALLATION}
export SLEPC_DIR=${PATH_TO_SLEPC_INSTALLATION}
export C_INCLUDE_PATH+=:$PETSC_DIR/include/:$SLEPC_DIR/include:$PETSC_DIR/arch-linux2-c-debug/include/:$SLEPC_DIR/arch-linux2-c-debug/include
# The "arch-linux2-c-debug" directory can have different names depending on PETSC and SLEPC installation procedure.
  1. Make the executable
make ex1

Using DEHam

  1. The DEHam program requires an input file which has the topology of the Hamiltonian and the various parameters as explained below in a sample inputfile:
8     # The number of orbitals (total)
140   # The largest number of non-zero elements per row (Multiple of Ndet)
1     # The total number of processors used in parallel (Multiple of Ndet)
1     # The number of holes
0     # The isz (ms-1/2) value
true     # Restrict the hole to the 1'st (i.e. half of natom) Family of states. *false* for no restrictions
1,2,3,1,2,3,4,5,6,7 # The topology of the system is specified here
2,3,4,8,7,6,5,6,7,8 # first and second line contain the two sites linked
1,1,1,2,2,2,2,3,3,3 # third line contains the type of link (1 for t or J, 2 for K and 3 for none)
.1430,-0.20,0.0000  # The three types of links this line gives J, K
.1430,-0.20,0.0000  # 
-1.00,0.0,0.00      # This line gives t
1                   # Currently unused (Perhaps can be used for potential energy per site in the future.)
1                   # The total number of roots
  1. running DEHam
mpiexec -n [nprocs] ./ex1 inpfile 

Publications using this code

  1. High-Spin Chains and Crowns from Double-Exchange Mechanism doi:10.3390/cryst6040039