Psi4
cclambda/MOInfo.h
Go to the documentation of this file.
1 /*
2  * @BEGIN LICENSE
3  *
4  * Psi4: an open-source quantum chemistry software package
5  *
6  * Copyright (c) 2007-2017 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License along
22  * with this program; if not, write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24  *
25  * @END LICENSE
26  */
27 
33 namespace psi { namespace cclambda {
34 
35 struct MOInfo {
36  int nirreps; /* no. of irreducible representations */
37  int nmo; /* no. of molecular orbitals */
38  int nso;
39  int nao;
40  int *sopi; /* no. of SOs per irrep */
41  int *sosym; /* SO symmetry (Pitzer) */
42  int *orbspi; /* no. of MOs per irrep */
43  int *clsdpi; /* no. of closed-shells per irrep excl. frdocc */
44  int *openpi; /* no. of open-shells per irrep */
45  int *uoccpi; /* no. of unoccupied orbitals per irrep excl. fruocc */
46  int *frdocc; /* no. of frozen core orbitals per irrep */
47  int *fruocc; /* no. of frozen unoccupied orbitals per irrep */
48  int nvirt; /* total no. of (active) virtual orbitals */
49  char **labels; /* irrep labels */
50  int *occpi; /* no. of occupied orbs. (incl. open) per irrep */
51  int *aoccpi; /* no. of alpha occupied orbs. (incl. open) per irrep */
52  int *boccpi; /* no. of beta occupied orbs. (incl. open) per irrep */
53  int *virtpi; /* no. of virtual orbs. (incl. open) per irrep */
54  int *avirtpi; /* no. of alpha virtual orbs. (incl. open) per irrep */
55  int *bvirtpi; /* no. of beta virtual orbs. (incl. open) per irrep */
56  int *occ_sym; /* relative occupied index symmetry */
57  int *aocc_sym; /* relative alpha occupied index symmetry */
58  int *bocc_sym; /* relative beta occupied index symmetry */
59  int *vir_sym; /* relative virtual index symmetry */
60  int *avir_sym; /* relative alpha virtual index symmetry */
61  int *bvir_sym; /* relative beta virtual index symmetry */
62  int *occ_off; /* occupied orbital offsets within each irrep */
63  int *aocc_off; /* occupied alpha orbital offsets within each irrep */
64  int *bocc_off; /* occupied beta orbital offsets within each irrep */
65  int *vir_off; /* virtual orbital offsets within each irrep */
66  int *avir_off; /* virtual alpha orbital offsets within each irrep */
67  int *bvir_off; /* virtual beta orbital offsets within each irrep */
68  int iter; /* Current lambda iteration */
69  int sym; /* symmetry of converged CCSD state */
70  double conv; /* Current convergence level */
71  double enuc; /* Nuclear repulsion energy */
72  double escf; /* SCF energy from wfn */
73  double eref; /* Reference energy (file100) */
74  double ecc; /* CC energy from ccenergy */
75  double lcc; /* Current lambda pseudoenergy */
76  double ***C; /* virtual orbital transformation matr5ix (for AO-basis B terms) */
77  double ***Ca; /* UHF alpha virtual orbital transformation matr5ix (for AO-basis B terms) */
78  double ***Cb; /* UHF beta virtual orbital transformation matr5ix (for AO-basis B terms) */
79 };
80 
81 }} // namespace psi::cclambda
int * frdocc
Definition: cclambda/MOInfo.h:46
int * avirtpi
Definition: cclambda/MOInfo.h:54
int nirreps
Definition: cclambda/MOInfo.h:36
int * avir_off
Definition: cclambda/MOInfo.h:66
int * orbspi
Definition: cclambda/MOInfo.h:42
double *** Cb
Definition: cclambda/MOInfo.h:78
int * bocc_sym
Definition: cclambda/MOInfo.h:58
int * vir_sym
Definition: cclambda/MOInfo.h:59
double lcc
Definition: cclambda/MOInfo.h:75
int * bocc_off
Definition: cclambda/MOInfo.h:64
int * uoccpi
Definition: cclambda/MOInfo.h:45
int * bvir_off
Definition: cclambda/MOInfo.h:67
int * aocc_sym
Definition: cclambda/MOInfo.h:57
int * occ_off
Definition: cclambda/MOInfo.h:62
int * clsdpi
Definition: cclambda/MOInfo.h:43
double ecc
Definition: cclambda/MOInfo.h:74
int nso
Definition: cclambda/MOInfo.h:38
int * virtpi
Definition: cclambda/MOInfo.h:53
int * aoccpi
Definition: cclambda/MOInfo.h:51
int * bvir_sym
Definition: cclambda/MOInfo.h:61
int * occ_sym
Definition: cclambda/MOInfo.h:56
int * openpi
Definition: cclambda/MOInfo.h:44
int sym
Definition: cclambda/MOInfo.h:69
int * boccpi
Definition: cclambda/MOInfo.h:52
int * aocc_off
Definition: cclambda/MOInfo.h:63
int * sosym
Definition: cclambda/MOInfo.h:41
double eref
Definition: cclambda/MOInfo.h:73
double *** Ca
Definition: cclambda/MOInfo.h:77
int * sopi
Definition: cclambda/MOInfo.h:40
int * vir_off
Definition: cclambda/MOInfo.h:65
double conv
Definition: cclambda/MOInfo.h:70
Definition: cclambda/MOInfo.h:35
double enuc
Definition: cclambda/MOInfo.h:71
int * fruocc
Definition: cclambda/MOInfo.h:47
double escf
Definition: cclambda/MOInfo.h:72
char ** labels
Definition: cclambda/MOInfo.h:49
PsiReturnType cclambda(SharedWavefunction, Options &)
int iter
Definition: cclambda/MOInfo.h:68
int * bvirtpi
Definition: cclambda/MOInfo.h:55
double *** C
Definition: cclambda/MOInfo.h:76
int nao
Definition: cclambda/MOInfo.h:39
int * avir_sym
Definition: cclambda/MOInfo.h:60
int nmo
Definition: cclambda/MOInfo.h:37
int nvirt
Definition: cclambda/MOInfo.h:48
int * occpi
Definition: cclambda/MOInfo.h:50