Calculates the T-matrix from the coupling matrix at grid point N: \( T_{\mathrm{N}} = h^{2}/12 W_{\mathrm{N}} \)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | step_ |
step of the propagator |
||
real(kind=dp), | intent(in) | :: | coupling_matrix_(:,:) |
Coupling (W) matrix v |
||
real(kind=dp), | intent(inout) | :: | t_matrix_(:,:) |
(output) T-matrix at grid point N |
subroutine calculate_t_matrix(step_, coupling_matrix_, t_matrix_)
!! Calculates the T-matrix from the coupling matrix at grid point N:
!! \\( T_{\mathrm{N}} = h^{2}/12 W_{\mathrm{N}} \\)
!---------------------------------------------------------------------!
real(dp), intent(in) :: step_
!! step of the propagator
real(dp), intent(in) :: coupling_matrix_(:,:)
!! Coupling (W) matrix v
real(dp), intent(inout) :: t_matrix_(:,:)
!! (output) T-matrix at grid point N
!---------------------------------------------------------------------!
t_matrix_ = (step_**2.0_dp)/12.0_dp * coupling_matrix_
!---------------------------------------------------------------------!
end subroutine calculate_t_matrix