Skip to content

Commit

Permalink
deleted helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wilhelm authored and pseewald committed Feb 10, 2020
1 parent 3e3db28 commit d7d6b6e
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions src/mp2_grids.F
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ SUBROUTINE get_minimax_grid(para_env, unit_nr, homo, Eigenval, num_time_points,
END IF

IF (my_do_mixed_minimax_clenshaw) THEN
CALL compute_tj_from_clenshaw(tj, a_scaling)
tj(:) = a_scaling/TAN(tj(:))
END IF

IF (.NOT. do_ri_sos_laplace_mp2 .AND. (.NOT. my_do_mixed_minimax_clenshaw)) THEN
Expand Down Expand Up @@ -281,29 +281,6 @@ SUBROUTINE get_minimax_grid(para_env, unit_nr, homo, Eigenval, num_time_points,

END SUBROUTINE get_minimax_grid

! **************************************************************************************************
!> \brief ...
!> \param tj ...
!> \param a_scaling ...
! **************************************************************************************************
SUBROUTINE compute_tj_from_clenshaw(tj, a_scaling)
REAL(KIND=dp), ALLOCATABLE, DIMENSION(:), &
INTENT(INOUT) :: tj
REAL(KIND=dp), INTENT(IN) :: a_scaling

CHARACTER(LEN=*), PARAMETER :: routineN = 'compute_tj_from_clenshaw', &
routineP = moduleN//':'//routineN

INTEGER :: handle

CALL timeset(routineN, handle)

tj(:) = a_scaling/TAN(tj(:))

CALL timestop(handle)

END SUBROUTINE compute_tj_from_clenshaw

! **************************************************************************************************
!> \brief ...
!> \param para_env ...
Expand Down

0 comments on commit d7d6b6e

Please sign in to comment.