9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 05:53:37 +01:00

fixed bug in tc-env

This commit is contained in:
AbdAmmar 2023-04-28 10:21:58 +02:00
parent ff66fe8d26
commit 8b67dfbe76

View File

@ -272,9 +272,9 @@ subroutine grad1_j1b_nucl(r, grad)
fact_z += e * z fact_z += e * z
enddo enddo
grad(1) = -2.d0 * fact_x grad(1) = 2.d0 * fact_x
grad(2) = -2.d0 * fact_y grad(2) = 2.d0 * fact_y
grad(3) = -2.d0 * fact_z grad(3) = 2.d0 * fact_z
else if(j1b_type .eq. 105) then else if(j1b_type .eq. 105) then
@ -294,9 +294,9 @@ subroutine grad1_j1b_nucl(r, grad)
fact_z += e * z fact_z += e * z
enddo enddo
grad(1) = -4.d0 * fact_x grad(1) = 4.d0 * fact_x
grad(2) = -4.d0 * fact_y grad(2) = 4.d0 * fact_y
grad(3) = -4.d0 * fact_z grad(3) = 4.d0 * fact_z
else else