10
1
mirror of https://github.com/pfloos/quack synced 2025-05-06 15:14:55 +02:00

datatype fixed for trace

This commit is contained in:
Loris Burth 2025-04-17 14:41:43 +02:00
parent 248bd930e3
commit abb499d779

View File

@ -77,7 +77,7 @@ subroutine complex_qsRGW(dotest,maxSCF,thresh,max_diis,doACFDT,exchange_kernel,d
complex*16 :: EcGM
double precision :: Conv
double precision :: rcond
double precision,external :: complex_trace_matrix
complex*16,external :: complex_trace_matrix
complex*16 :: dipole(ncart)
double precision :: flow
@ -242,7 +242,7 @@ subroutine complex_qsRGW(dotest,maxSCF,thresh,max_diis,doACFDT,exchange_kernel,d
if(nSCF > 1) Conv = maxval(abs(err))
! Kinetic energy
write(*,*) complex_trace_matrix(nBas,P)
ET = complex_trace_matrix(nBas,matmul(P,T))
! Potential energy