Combines the contribution from the interaction potential, total and and internal energy (pes_matrix_) with centrifugal matrix \( W_{\mathrm{N}} = V_{\mathrm{N}} + 1/R^{2} L^{2} \)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | intermolecular_distance_ |
intermolecular distance |
||
real(kind=dp), | intent(in) | :: | pes_matrix_(:,:) |
holds contribution from the interaction potential, total and and internal energy |
||
real(kind=dp), | intent(in) | :: | centrifugal_matrix_(:,:) |
\(R^{2}\) centrifugal matrix |
||
real(kind=dp), | intent(inout) | :: | coupling_matrix_(:,:) |
(output) Coupling (W) matrix |
subroutine calculate_coupling_matrix(intermolecular_distance_, &
pes_matrix_, centrifugal_matrix_, coupling_matrix_)
!! Combines the contribution from the interaction potential, total and
!! and internal energy (pes_matrix_) with centrifugal matrix
!! \\( W_{\mathrm{N}} = V_{\mathrm{N}} + 1/R^{2} L^{2} \\)
!---------------------------------------------------------------------!
real(dp), intent(in) :: intermolecular_distance_
!! intermolecular distance
real(dp), intent(in) :: pes_matrix_(:,:)
!! holds contribution from the interaction potential, total and
!! and internal energy
real(dp), intent(in) :: centrifugal_matrix_(:,:)
!! \\(R^{2}\\) centrifugal matrix
real(dp), intent(inout) :: coupling_matrix_(:,:)
!! (output) Coupling (W) matrix
!---------------------------------------------------------------------!
coupling_matrix_ = pes_matrix_ &
+ (1.0_dp/intermolecular_distance_**2.0_dp) * centrifugal_matrix_
!---------------------------------------------------------------------!
end subroutine calculate_coupling_matrix