mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 21:55:30 -04:00
Merge pull request #1234 from chliu1990/fix_for_grid_ik
fix base value for even k recursion in grid_ik, reported in issue #1233
This commit is contained in:
commit
9616db159c
6 changed files with 4525 additions and 3958 deletions
2
.github/workflows/github_actions.yml
vendored
2
.github/workflows/github_actions.yml
vendored
|
|
@ -520,6 +520,6 @@ jobs:
|
|||
run: |
|
||||
./travis/run_qas.sh
|
||||
- name: Check if QA testing has failed
|
||||
if: ${{ failure() }} && steps.qa_test.outcome == 'failure'
|
||||
if: ${{ failure() && steps.qa_test.outcome == 'failure' }}
|
||||
run: |
|
||||
./travis/check_qas.sh
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -246,8 +246,10 @@ c
|
|||
if (ilo .eq. 0) then
|
||||
dexpo=sqrt(alpha)*r
|
||||
if(dexpo.gt.40d0) then
|
||||
valexp=0d0
|
||||
value=0d0
|
||||
else
|
||||
valexp=exp(-alpha*r*r)
|
||||
#if defined(WIN32) ||defined(LINUX)
|
||||
value = 0.5d0*sqrt(4.0d0*atan(1.0d0)/alpha)*
|
||||
$ derfc(dexpo)
|
||||
|
|
@ -256,13 +258,14 @@ c
|
|||
$ erfc(dexpo)
|
||||
#endif
|
||||
endif
|
||||
endif
|
||||
if(alpha*r*r.gt.500d0) then
|
||||
valexp=0d0
|
||||
value =0d0
|
||||
else
|
||||
valexp=exp(-alpha*r*r)
|
||||
value =valexp/(2.0d0*alpha)
|
||||
if(alpha*r*r.gt.500d0) then
|
||||
valexp=0d0
|
||||
value =0d0
|
||||
else
|
||||
valexp=exp(-alpha*r*r)
|
||||
value =valexp/(2.0d0*alpha)
|
||||
endif
|
||||
endif
|
||||
c
|
||||
do i = ilo+2,k,2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue