Files | |
| file | b2brepl.cc |
| Contains code to do block-to-block single replacement lists. | |
| file | calc_d.cc |
| Enter brief description of file here. | |
| file | calc_hd_block.cc |
| Enter brief description of file here. | |
| file | calc_pt_block.cc |
| Enter brief description of file here. | |
| file | detci/check_energy.cc |
| Check the SCF energy. | |
| file | ci_tol.h |
| Enter brief description of file here. | |
| file | civect.cc |
| Code for the CI vector class. | |
| file | civect.h |
| Enter brief description of file here. | |
| file | compute_cc.cc |
| Arbitrary-order coupled-cluster code. | |
| file | detci.cc |
| Determinant-based CI program. | |
| file | form_ov.cc |
| Form OV arrays of Bendazzoli and Evangelisti, JCP 98, 3141 (1993). | |
| file | detci/get_mo_info.cc |
| Enter brief description of file here. | |
| file | detci/globals.h |
| Enter brief description of file here. | |
| file | graphset.cc |
| Routines needed to maintain the GraphSet Object. | |
| file | h0block.cc |
| Some code associated with the H0block structure, which does the preconditioning for the Olsen/Davidson procedure. | |
| file | import_vector.cc |
| Enter brief description of file here. | |
| file | detci/ints.cc |
| Enter brief description of file here. | |
| file | detci/misc.cc |
| Enter brief description of file here. | |
| file | mitrush_iter.cc |
| Mitrushenkov iterative scheme for RAS CI's. | |
| file | mpn.cc |
| Enter brief description of file here. | |
| file | odometer.cc |
| Enter brief description of file here. | |
| file | odometer.h |
| Enter brief description of file here. | |
| file | og_addr.cc |
| Enter brief description of file here. | |
| file | olsengraph.cc |
| Enter brief description of file here. | |
| file | olsenupdt.cc |
| Enter brief description of file here. | |
| file | detci/opdm.cc |
| Enter brief description of file here. | |
| file | detci/params.cc |
| Enter brief description of file here. | |
| file | printing.cc |
| Enter brief description of file here. | |
| file | s1.cc |
| Enter brief description of file here. | |
| file | s1v.cc |
| Enter brief description of file here. | |
| file | s2.cc |
| Enter brief description of file here. | |
| file | s2v.cc |
| Enter brief description of file here. | |
| file | s3.cc |
| Enter brief description of file here. | |
| file | s3_block_bz.cc |
| Enter brief description of file here. | |
| file | s3v.cc |
| Enter brief description of file here. | |
| file | sem.cc |
| Enter brief description of file here. | |
| file | sem_test.cc |
| Enter brief description of file here. | |
| file | set_ciblks.cc |
| Enter brief description of file here. | |
| file | shift.cc |
| Shifts SCF eigenvalues corresponding to SOCC orbitals for ZAPTn. | |
| file | sigma.cc |
| Routines to compute sigma = H * c. | |
| file | slater.cc |
| Some of the Slater determinant routines. | |
| file | slaterd.cc |
| Enter brief description of file here. | |
| file | slaterd.h |
| Enter brief description of file here. | |
| file | ssq.cc |
| Compute expectation value of S^2. | |
| file | stringlist.cc |
| Code to form the CI space as strings with all single replacements. | |
| file | structs.h |
| Enter brief description of file here. | |
| file | time.cc |
| DETCI-specific timing routines. | |
| file | tpdm.cc |
| Compute the two-particle density matrix (TPDM). | |
| file | tpool.cc |
| Thread pools. | |
| file | tpool.h |
| Enter brief description of file here. | |
| file | bin/detci/vector.cc |
| Contains C code for vector operations. | |
Functions | |
| double | psi::detci::check_energy (double *H, double *twoel_ints, int *docc, int *frozen_docc, int fzc_flag, double escf, double enuc, double efzc, int nirreps, int *reorder, int *opi, int print_lvl, FILE *outfile) |
| void | psi::detci::scf_energy (double *H, double *TE, double *energy_1, double *energy_2, double *energy_e, int *docc, int *frozen_docc, int fzc_flag, int nirreps, int *reorder, int *opi) |
| void | psi::detci::s1_block_fci (struct stringwr **alplist, struct stringwr **betlist, double **C, double **S, double *oei, double *tei, double *F, int nlists, int nas, int nbs, int sbc, int cbc, int cnbs) |
| double psi::detci::check_energy | ( | double * | H, | |
| double * | twoel_ints, | |||
| int * | docc, | |||
| int * | frozen_docc, | |||
| int | fzc_flag, | |||
| double | escf, | |||
| double | enuc, | |||
| double | efzc, | |||
| int | nirreps, | |||
| int * | reorder, | |||
| int * | opi, | |||
| int | print_lvl, | |||
| FILE * | outfile | |||
| ) |
check_energy(): check the SCF energy by calculating it from the two-electr. integrals in the MO basis
| H | = lwr tri of one-electron integrals matrix (MO basis) | |
| twoel_ints | = two electron integrals (lexically indexed, MO basis) | |
| nocc | = num occupied orbitals (assume closed shell case) and exclude frozen core | |
| escf | = scf energy to compare to | |
| enuc | = nuclear repulsion energy | |
| efzc | = frozen core energy | |
| nirreps | = number of irreps | |
| reorder | = reordering array for Pitzer->CI ordering | |
| opi | = orbs per irrep in Pitzer ordering | |
| outfile | = file to write output to |
| void psi::detci::s1_block_fci | ( | struct stringwr ** | alplist, | |
| struct stringwr ** | betlist, | |||
| double ** | C, | |||
| double ** | S, | |||
| double * | oei, | |||
| double * | tei, | |||
| double * | F, | |||
| int | nlists, | |||
| int | nas, | |||
| int | nbs, | |||
| int | Ib_list, | |||
| int | Jb_list, | |||
| int | Jb_list_nbs | |||
| ) |
S1_BLOCK_FCI():
Calculate the sigma_1 vector as described by equation (20) of RAS Paper (Olsen, Roos, Jorgensen, Aa. Jensen JCP 1988)
This sigma1 routine is for Full CI's only. currently assumes that (ij|ij)'s have not been halved!!
David Sherrill, 21 June 1995 Based on previous code by David Sherrill, 1994
Updated 3/27/94 to include g matrix for RAS Modified 4/8/94 to make C and s one-dimensional Modified 4/10/94 to make FCI-only (for now) and use new string structs Modified 6/21/95 for use in new RAS program
| void psi::detci::scf_energy | ( | double * | H, | |
| double * | TE, | |||
| double * | energy_1, | |||
| double * | energy_2, | |||
| double * | energy_e, | |||
| int * | docc, | |||
| int * | frozen_docc, | |||
| int | fzc_flag, | |||
| int | nirreps, | |||
| int * | reorder, | |||
| int * | opi | |||
| ) |
scf_energy(): Function calculates the SCF energy from the one- and two-electron integrals in MO form (closed-shell case).
David Sherrill, Sept 1993
| H | = Matrix of one-electron integrals in MO basis (lwr triangle) | |
| TE | = Two-electron integrals in MO basis, stored in ijkl-indexed array | |
| energy_1 | = pointer to hold one-electron energy | |
| energy_2 | = pointer to hold two-electron energy | |
| energy_e | = pointer to hold total electronic energy (sum of two terms above) | |
| docc | = array of doubly-occupied orbitals per irrep | |
| frozen_docc | = array of frozen doubly-occupied orbitals per irrep | |
| fzc_flag | = remove explicit consideration of frozen core orbitals ? | |
| nirreps | = number of irreps | |
| reorder | = reordering array Pitzer->CI order | |
| opi | = orbitals per irrep |
1.5.6