addedd missing term in dbgr computation (fwork)

This commit is contained in:
Lorenzo Figini 2015-11-04 11:27:13 +00:00
parent 4bb85f0dc1
commit f77624d5ba

View File

@ -2392,8 +2392,7 @@ c
bdotgr=bdotgr+bv(iv)*dgr(iv)
dbgr(iv)=0.0_wp_
do jv=1,3
! dbgr(iv)=dbgr(iv)+dgr(jv)*derbv(jv,iv)+bv(jv)*ddgr(jv,iv)
dbgr(iv)=dgr(jv)*derbv(jv,iv)+bv(jv)*ddgr(jv,iv)
dbgr(iv)=dbgr(iv)+dgr(jv)*derbv(jv,iv)+bv(jv)*ddgr(jv,iv)
end do
end do
c