atom.tmat.dat

Introduction

The atom.tmat.dat file contains the transformation matrix from the original basis to natural basis.

Format

The format of the atom.tmat.dat file is as follows:


column 1: orbital index , integer

column 2: orbital index , integer

column 3: Elements of the transformation matrix , real part, double precision

column 4: Elements of the transformation matrix , imaginary part, double precision


NOTE:

In the atom.tmat.dat file, we adopt the following orbital sequence:

, , , , , , ,

In other words, the spin up part is always before the spin down part.

Code

The corresponding Fortran code block for the writing of the atom.tmat.dat file is as follows:

! open file atom.tmat.dat to write
     open(mytmp, file='atom.tmat.dat', form='formatted', status='unknown')

! write the header
     write(mytmp,'(75a1)') dash ! dashed line
     write(mytmp,'(a)') '# i | j | tmat_real | tmat_imag'
     write(mytmp,'(75a1)') dash ! dashed line

! write the data
     do i=1,norbs
         do j=1,norbs
             write(mytmp,'(2i6,2f16.8)') i, j, tmat(i,j)
         enddo ! over j={1,norbs} loop
     enddo ! over i={1,norbs} loop

! close data file
     close(mytmp)

In principle, the transformation matrix is complex.

See also atom.tmat.in for more details.

results matching ""

    No results matching ""