Psi4
cceom/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-2019 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This file is part of Psi4.
12  *
13  * Psi4 is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU Lesser General Public License as published by
15  * the Free Software Foundation, version 3.
16  *
17  * Psi4 is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License along
23  * with Psi4; if not, write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  * @END LICENSE
27  */
28 
34 #ifndef _psi_src_bin_cceom_moinfo_h
35 #define _psi_src_bin_cceom_moinfo_h
36 
37 #include <string>
38 #include <vector>
39 
40 namespace psi {
41 namespace cceom {
42 
43 struct MOInfo {
44  int nirreps; /* no. of irreducible representations */
45  int nmo; /* no. of molecular orbitals */
46  int nso; /* no. of symmetry orbitals */
47  int iopen; /* 0=closed shell; >0=open shell */
48  int *sopi; /* no. of SOs per irrep */
49  int *sosym; /* orbital symmetry (Pitzer/SO) */
50  int *orbspi; /* no. of MOs per irrep */
51  int *clsdpi; /* no. of closed-shells per irrep excl. frdocc */
52  int *openpi; /* no. of open-shells per irrep */
53  int *uoccpi; /* no. of unoccupied orbitals per irr. ex. fruocc */
54  int *frdocc; /* no. of frozen core orbitals per irrep */
55  int *fruocc; /* no. of frozen unoccupied orbitals per irrep */
56  int nvirt; /* total no. of (active) virtual orbitals */
57  std::vector<std::string> irr_labs; /* irrep labels */
58  char **irr_labs_lowercase; /* irrep labels */
59  int *occpi; /* no. of occupied orbs. (incl. open) per irrep */
60  int *aoccpi; /* no. of alpha occupied orbs. (incl. open) per irrep */
61  int *boccpi; /* no. of beta occupied orbs. (incl. open) per irrep */
62  int *virtpi; /* no. of virtual orbs. (incl. open) per irrep */
63  int *avirtpi; /* no. of alpha virtual orbs. (incl. open) per irrep */
64  int *bvirtpi; /* no. of beta virtual orbs. (incl. open) per irrep */
65  int *occ_sym; /* relative occupied index symmetry */
66  int *aocc_sym; /* relative alpha occupied index symmetry */
67  int *bocc_sym; /* relative beta occupied index symmetry */
68  int *vir_sym; /* relative virtual index symmetry */
69  int *avir_sym; /* relative alpha virtual index symmetry */
70  int *bvir_sym; /* relative beta virtual index symmetry */
71  int iter; /* Current CCSD iteration */
72  int sym; /* symmetry of converged CCSD state */
73  int *occ_off; /* occupied orbital offsets within each irrep */
74  int *aocc_off; /* alpha occupied orbital offsets within each irrep */
75  int *bocc_off; /* beta occupied orbital offsets within each irrep */
76  int *vir_off; /* virtual orbital offsets within each irrep */
77  int *avir_off; /* alpha virtual orbital offsets within each irrep */
78  int *bvir_off; /* beta virtual orbital offsets within each irrep */
79  double conv; /* Current convergence level */
80  double enuc; /* Nuclear repulsion energy */
81  double escf; /* SCF energy (from wfn) */
82  double eref; /* Reference energy (file100) */
83  double ecc; /* Current coupled cluster energy */
84  double t1diag; /* Standard open- or closed-shell T1 diagnostic */
85  double d1diag; /* Janssen and Nielsen's D1 Diagnostic */
86  double ***C; /* Virtual orbital transformation matrix (for AO-basis B terms) */
87  double ***Ca; /* UHF alpha virtual orbital transformation matrix (for AO-basis B terms) */
88  double ***Cb; /* UHF beta virtual orbital transformation matrix (for AO-basis B terms) */
89 };
90 
91 } // namespace cceom
92 } // namespace psi
93 
94 #endif // _psi_src_bin_cceom_moinfo_h
int * uoccpi
Definition: cceom/MOInfo.h:53
int nso
Definition: cceom/MOInfo.h:46
int * clsdpi
Definition: cceom/MOInfo.h:51
int * avirtpi
Definition: cceom/MOInfo.h:63
double *** C
Definition: cceom/MOInfo.h:86
int * occpi
Definition: cceom/MOInfo.h:59
int * vir_off
Definition: cceom/MOInfo.h:76
int * bvirtpi
Definition: cceom/MOInfo.h:64
double *** Cb
Definition: cceom/MOInfo.h:88
int * boccpi
Definition: cceom/MOInfo.h:61
Definition: cceom/MOInfo.h:43
int sym
Definition: cceom/MOInfo.h:72
double eref
Definition: cceom/MOInfo.h:82
int * bvir_sym
Definition: cceom/MOInfo.h:70
int nvirt
Definition: cceom/MOInfo.h:56
int * aocc_off
Definition: cceom/MOInfo.h:74
char ** irr_labs_lowercase
Definition: cceom/MOInfo.h:58
int * bocc_off
Definition: cceom/MOInfo.h:75
int * virtpi
Definition: cceom/MOInfo.h:62
int * bvir_off
Definition: cceom/MOInfo.h:78
int * frdocc
Definition: cceom/MOInfo.h:54
int * aocc_sym
Definition: cceom/MOInfo.h:66
int nirreps
Definition: cceom/MOInfo.h:44
double t1diag
Definition: cceom/MOInfo.h:84
double enuc
Definition: cceom/MOInfo.h:80
int * aoccpi
Definition: cceom/MOInfo.h:60
double conv
Definition: cceom/MOInfo.h:79
int * occ_off
Definition: cceom/MOInfo.h:73
int * sosym
Definition: cceom/MOInfo.h:49
double escf
Definition: cceom/MOInfo.h:81
std::vector< std::string > irr_labs
Definition: cceom/MOInfo.h:57
double ecc
Definition: cceom/MOInfo.h:83
int * sopi
Definition: cceom/MOInfo.h:48
int * avir_sym
Definition: cceom/MOInfo.h:69
int nmo
Definition: cceom/MOInfo.h:45
int * bocc_sym
Definition: cceom/MOInfo.h:67
int * fruocc
Definition: cceom/MOInfo.h:55
int * avir_off
Definition: cceom/MOInfo.h:77
int * occ_sym
Definition: cceom/MOInfo.h:65
double *** Ca
Definition: cceom/MOInfo.h:87
int iopen
Definition: cceom/MOInfo.h:47
int iter
Definition: cceom/MOInfo.h:71
int * vir_sym
Definition: cceom/MOInfo.h:68
double d1diag
Definition: cceom/MOInfo.h:85
PsiReturnType cceom(SharedWavefunction, Options &)
int * openpi
Definition: cceom/MOInfo.h:52
int * orbspi
Definition: cceom/MOInfo.h:50