Skip to content

Commit

Permalink
Used the wrong Cartesian coordinate for the thermal prefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ollehellman committed Jun 17, 2024
1 parent a470018 commit d3f7afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lineshape/phonondamping_path.f90
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ module subroutine spectral_function_along_path(bs, uc, fc, fct, fcf, ise, qp, dr
end if
bs%spectral_function(ipt, :) = bs%spectral_function(ipt, :) + bufs
! And add the thermal prefactor thing
f1=thermal_pref(bs%q(ipt)%r,bs%p(ipt)%egv(:,imode),uc,opts%temperature,bs%p(ipt)%omega(imode),thermal_disp)
f1=thermal_pref(bs%q(ipt)%r_abs,bs%p(ipt)%egv(:,imode),uc,opts%temperature,bs%p(ipt)%omega(imode),thermal_disp)
bs%spectral_function_with_prefactor(ipt,:)=bs%spectral_function_with_prefactor(ipt,:)+bufs*f1
end do
end do
Expand Down

0 comments on commit d3f7afd

Please sign in to comment.