mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
13 lines
476 B
Text
13 lines
476 B
Text
Scripts to generate the minimax_k53.F source file that contains minimax coefficients
|
|
to approximate 1/x as a sum over exponential functions.
|
|
|
|
Based on tabulated coefficients from
|
|
D. Braess and W. Hackbusch, IMA Journal of Numerical Analysis 25.4 (2005): 685-697
|
|
http://www.mis.mpg.de/scicomp/EXP_SUM/1_x
|
|
|
|
Usage:
|
|
first execute
|
|
./wget_minimax.sh
|
|
to download the data and then execute
|
|
./minimax_to_fortran_source.py
|
|
to create (overwrite) the cp2k/src/minimax/minimax_k53.F file
|