Skip to content

Commit

Permalink
Richmol
Browse files Browse the repository at this point in the history
Richmol
  • Loading branch information
Trovemaster committed Jan 23, 2019
1 parent b98170f commit 325f1b4
Show file tree
Hide file tree
Showing 2 changed files with 8,525 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dipole.f90
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ subroutine dm_intensity(Jval,iverbose)
real(rk), allocatable :: vecI(:), vecF(:)
real(rk),allocatable :: half_linestr(:)
!
integer(ik) :: jind,nlevels
integer(ik) :: jind,nlevels,j1,j2
!
integer(ik) :: iroot,NlevelsI,NlevelsF,nlower,k,k_,iLF,iflag_rich
!
Expand Down Expand Up @@ -429,7 +429,7 @@ subroutine dm_intensity(Jval,iverbose)
do indI = 1, nJ
!
jI = Jval(indI)
write(char_jI,'(i12)') nint(jI)
write(char_jI,'(i12)') min(nint(Ji),nint(jF))
do indF = 1, nJ
!
jF = Jval(indF)
Expand All @@ -438,7 +438,7 @@ subroutine dm_intensity(Jval,iverbose)
!
if (nint(abs(jI-jF))>1.or.nint(jI+jF)==0) cycle
!
write(char_Jf,'(i12)') nint(jF)
write(char_Jf,'(i12)') max(nint(Ji),nint(jF))
!
! New RICHMOL format - one file for x,y,z
!
Expand All @@ -447,8 +447,8 @@ subroutine dm_intensity(Jval,iverbose)
!
call IOstart(trim(filename),richunit(indI,indF))
!
open(unit = richunit(indI,indF), action = 'write',status='replace' , file = filename)
!
if (Jf>=Ji) &
open(unit = richunit(indI,indF), action = 'write',status='replace' , file = filename)
!
write(richunit(indI,indF),"('Start richmol format')")
!
Expand Down
Loading

0 comments on commit 325f1b4

Please sign in to comment.