9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +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
enddo
grad(1) = -2.d0 * fact_x
grad(2) = -2.d0 * fact_y
grad(3) = -2.d0 * fact_z
grad(1) = 2.d0 * fact_x
grad(2) = 2.d0 * fact_y
grad(3) = 2.d0 * fact_z
else if(j1b_type .eq. 105) then
@ -294,9 +294,9 @@ subroutine grad1_j1b_nucl(r, grad)
fact_z += e * z
enddo
grad(1) = -4.d0 * fact_x
grad(2) = -4.d0 * fact_y
grad(3) = -4.d0 * fact_z
grad(1) = 4.d0 * fact_x
grad(2) = 4.d0 * fact_y
grad(3) = 4.d0 * fact_z
else