(git:6a2e663)
minimax_rpa Module Reference

Routines to calculate the minimax coefficients for approximating 1/x as 1/x ~ 1/pi SUM_{i}^{K} w_i x^2/(x^2+a_i^2)^2 for x belonging to [1:Rc]. More...

Functions/Subroutines

subroutine, public get_rpa_minimax_coeff (k, E_range, aw, ierr, print_warning)
 The a_i and w_i coefficient are stored in aw such that the first 1:K elements correspond to a_i and the K+1:2k correspond to w_i. All a_i and w_i have been fitted with a 12th order polynomial as a function of Rc for each value of K. More...
 
subroutine, public get_rpa_minimax_coeff_larger_grid (k, E_range, aw)
 ... More...
 

Detailed Description

Routines to calculate the minimax coefficients for approximating 1/x as 1/x ~ 1/pi SUM_{i}^{K} w_i x^2/(x^2+a_i^2)^2 for x belonging to [1:Rc].

History
06.2014 created [Mauro Del Ben]

Function/Subroutine Documentation

◆ get_rpa_minimax_coeff()

subroutine, public minimax_rpa::get_rpa_minimax_coeff ( integer  k,
real(kind=dp)  E_range,
real(kind=dp), dimension(:), allocatable  aw,
integer  ierr,
logical, optional  print_warning 
)

The a_i and w_i coefficient are stored in aw such that the first 1:K elements correspond to a_i and the K+1:2k correspond to w_i. All a_i and w_i have been fitted with a 12th order polynomial as a function of Rc for each value of K.

Parameters
k...
E_range...
aw...
ierr...
print_warning...
Author
Mauro Del Ben

Definition at line 40 of file minimax_rpa.F.

Here is the caller graph for this function:

◆ get_rpa_minimax_coeff_larger_grid()

subroutine, public minimax_rpa::get_rpa_minimax_coeff_larger_grid ( integer, intent(in)  k,
real(kind=dp), intent(inout)  E_range,
real(kind=dp), dimension(:), intent(out)  aw 
)

...

Parameters
k...
E_range...
aw...

Definition at line 10121 of file minimax_rpa.F.

Here is the caller graph for this function: