Setting THRVAR and THRDEN in RPATDDFT program

13 views
Skip to first unread message

Sirous Yourdkhani

unread,
Jan 1, 2026, 5:44:21 PM (4 days ago) Jan 1
to molpro-user
Dear Molpro users,

I am doing RPA calculations (DRPI-RCCD) using RPATDDFT program. I would like to change 
THRVAR and THRDEN, however, I could not find how it can be done, it seems to me that it is hard-coded, the values printed in outputs are "Convergence thresholds:  THRVAR = 1.00D-08  THRDEN = 1.00D-14).  I wonder of you could possibly let me know how I can change them?. This is a block of my RPA calculation:

{rpatddft;

 orb,2010.2;

 ecorr,DRPAI-RCCD,SOSEX-RCCD

}


Kind regards,
Sirous

andreas...@gmail.com

unread,
Jan 5, 2026, 8:42:10 AM (21 hours ago) Jan 5
to molpro-user
Dear Sirous,

I think that these settings do not have any effect on the RPA energies from the RPATDDFT program at all. They are just printed because the program calls a subroutine from the (iterative) coupled cluster code where the values of THRDEN and THRVAR matter and are being printed by default. However, in case of the RPATDDFT program it uses the adiabatic fluctuation dissipation theorem to calculate the correlation energies. This doesn't require an iterative calculation but an integration over the coupling strength. In order to get numerically better result one then needs more abscissa points for the integration, which you can do by using, e.g:

{rpatddft; orb,7000.2;
INTAC,NLAMBDA=10
ecorr,DRPAI-AC;
}

so that now you are using 10 quadrature points. The default set in the program is NLAMBDA=7. I think that the default of 7 points should be very accurate already for all but the most difficult (multi reference) cases.

Best wishes,
Andreas
Reply all
Reply to author
Forward
0 new messages