3
\brief Enter brief description of file here
8
#include <libciomr/libciomr.h>
9
#include <libpsio/psio.h>
10
#include <libdpd/dpd.h>
17
namespace psi { namespace ccenergy {
20
** DIIS: Direct inversion in the iterative subspace routine to
21
** accelerate convergence of the CCSD amplitude equations.
23
** Substantially improved efficiency of this routine:
24
** (1) Keeping at most two error vectors in core at once.
25
** (2) Limiting direct product (overlap) calculation to unique pairs.
26
** (3) Using LAPACK's linear equation solver DGESV instead of flin.
29
** -Modifications for ROHF and UHF, TDC, 6/03
38
if(params.ref == 0) diis_RHF(iter);
39
else if(params.ref == 1) diis_ROHF(iter);
40
else if(params.ref == 2) diis_UHF(iter);
44
}} // namespace psi::ccenergy