Didn't even realize what I had typed. That is what happens when you are running from<br>one place to the next :^)<br><br>Thanks to Paolo for explaining things more eloquently.<br><br><div><span class="gmail_quote">On 2/15/07,
<b class="gmail_sendername">Paolo Giannozzi</b> <<a href="mailto:giannozz@nest.sns.it">giannozz@nest.sns.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Feb 15, 2007, at 16:37 , Nichols A. Romero wrote:<br><br>> There are two ways to solve for the KS ground state.<br>> 1. Direct minimization of KS functional<br>> 2. Self-consistently solving the KS eqn.<br>
><br>> The conjugate-gradient (cg) in PWSCF and CP are not doing<br>> different things same thing.<br><br>let me say something different the same thing :-)<br><br>'cg' in PWscf: *self-consistency + fixed-potential diagonalization*
<br>The diagonalization is performed by transforming the secular<br>problem into a minimum problem (nothing really fancy:<br>min <\psi|H\psi> + orthogonality) and solving for each band<br>in sequence, using conjugate gradient. Slower than Davidson
<br>diagonalization, uses less memory. To be used in case of trouble<br>with Davidson or if memory is tight.<br><br>'cg' in CP: conjugate-gradient algorithm for minimization of the<br>*energy functional* (global minimization).
<br><br>Paolo<br>---<br>Paolo Giannozzi, Democritos and University of Udine, Italy<br><br><br>_______________________________________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org
</a><br><a href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a><br></blockquote></div><br><br clear="all"><br>-- <br>Nichols A. Romero, Ph.D.<br>1613 Denise Dr. Apt. D
<br>Forest Hill, MD 21050<br>443-567-8328 (C)<br>410-306-0709 (O)<br>