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-2017 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 namespace psi { namespace cceom {
35 
36 struct MOInfo {
37  int nirreps; /* no. of irreducible representations */
38  int nmo; /* no. of molecular orbitals */
39  int nso; /* no. of symmetry orbitals */
40  int iopen; /* 0=closed shell; >0=open shell */
41  int *sopi; /* no. of SOs per irrep */
42  int *sosym; /* orbital symmetry (Pitzer/SO) */
43  int *orbspi; /* no. of MOs per irrep */
44  int *clsdpi; /* no. of closed-shells per irrep excl. frdocc */
45  int *openpi; /* no. of open-shells per irrep */
46  int *uoccpi; /* no. of unoccupied orbitals per irr. ex. fruocc */
47  int *frdocc; /* no. of frozen core orbitals per irrep */
48  int *fruocc; /* no. of frozen unoccupied orbitals per irrep */
49  int nvirt; /* total no. of (active) virtual orbitals */
50  char **irr_labs; /* irrep labels */
51  char **irr_labs_lowercase; /* irrep labels */
52  int *occpi; /* no. of occupied orbs. (incl. open) per irrep */
53  int *aoccpi; /* no. of alpha occupied orbs. (incl. open) per irrep */
54  int *boccpi; /* no. of beta occupied orbs. (incl. open) per irrep */
55  int *virtpi; /* no. of virtual orbs. (incl. open) per irrep */
56  int *avirtpi; /* no. of alpha virtual orbs. (incl. open) per irrep */
57  int *bvirtpi; /* no. of beta virtual orbs. (incl. open) per irrep */
58  int *occ_sym; /* relative occupied index symmetry */
59  int *aocc_sym; /* relative alpha occupied index symmetry */
60  int *bocc_sym; /* relative beta occupied index symmetry */
61  int *vir_sym; /* relative virtual index symmetry */
62  int *avir_sym; /* relative alpha virtual index symmetry */
63  int *bvir_sym; /* relative beta virtual index symmetry */
64  int iter; /* Current CCSD iteration */
65  int sym; /* symmetry of converged CCSD state */
66  int *occ_off; /* occupied orbital offsets within each irrep */
67  int *aocc_off; /* alpha occupied orbital offsets within each irrep */
68  int *bocc_off; /* beta occupied orbital offsets within each irrep */
69  int *vir_off; /* virtual orbital offsets within each irrep */
70  int *avir_off; /* alpha virtual orbital offsets within each irrep */
71  int *bvir_off; /* beta virtual orbital offsets within each irrep */
72  double conv; /* Current convergence level */
73  double enuc; /* Nuclear repulsion energy */
74  double escf; /* SCF energy (from wfn) */
75  double eref; /* Reference energy (file100) */
76  double ecc; /* Current coupled cluster energy */
77  double t1diag; /* Standard open- or closed-shell T1 diagnostic */
78  double d1diag; /* Janssen and Nielsen's D1 Diagnostic */
79  double ***C; /* Virtual orbital transformation matrix (for AO-basis B terms) */
80  double ***Ca; /* UHF alpha virtual orbital transformation matrix (for AO-basis B terms) */
81  double ***Cb; /* UHF beta virtual orbital transformation matrix (for AO-basis B terms) */
82 };
83 
84 }} // namespace psi::cceom
int * uoccpi
Definition: cceom/MOInfo.h:46
int nso
Definition: cceom/MOInfo.h:39
int * clsdpi
Definition: cceom/MOInfo.h:44
int * avirtpi
Definition: cceom/MOInfo.h:56
double *** C
Definition: cceom/MOInfo.h:79
int * occpi
Definition: cceom/MOInfo.h:52
int * vir_off
Definition: cceom/MOInfo.h:69
int * bvirtpi
Definition: cceom/MOInfo.h:57
double *** Cb
Definition: cceom/MOInfo.h:81
int * boccpi
Definition: cceom/MOInfo.h:54
Definition: cceom/MOInfo.h:36
int sym
Definition: cceom/MOInfo.h:65
double eref
Definition: cceom/MOInfo.h:75
int * bvir_sym
Definition: cceom/MOInfo.h:63
int nvirt
Definition: cceom/MOInfo.h:49
int * aocc_off
Definition: cceom/MOInfo.h:67
char ** irr_labs_lowercase
Definition: cceom/MOInfo.h:51
int * bocc_off
Definition: cceom/MOInfo.h:68
int * virtpi
Definition: cceom/MOInfo.h:55
int * bvir_off
Definition: cceom/MOInfo.h:71
int * frdocc
Definition: cceom/MOInfo.h:47
int * aocc_sym
Definition: cceom/MOInfo.h:59
int nirreps
Definition: cceom/MOInfo.h:37
double t1diag
Definition: cceom/MOInfo.h:77
double enuc
Definition: cceom/MOInfo.h:73
int * aoccpi
Definition: cceom/MOInfo.h:53
double conv
Definition: cceom/MOInfo.h:72
int * occ_off
Definition: cceom/MOInfo.h:66
int * sosym
Definition: cceom/MOInfo.h:42
double escf
Definition: cceom/MOInfo.h:74
double ecc
Definition: cceom/MOInfo.h:76
int * sopi
Definition: cceom/MOInfo.h:41
int * avir_sym
Definition: cceom/MOInfo.h:62
int nmo
Definition: cceom/MOInfo.h:38
int * bocc_sym
Definition: cceom/MOInfo.h:60
int * fruocc
Definition: cceom/MOInfo.h:48
int * avir_off
Definition: cceom/MOInfo.h:70
int * occ_sym
Definition: cceom/MOInfo.h:58
double *** Ca
Definition: cceom/MOInfo.h:80
int iopen
Definition: cceom/MOInfo.h:40
int iter
Definition: cceom/MOInfo.h:64
int * vir_sym
Definition: cceom/MOInfo.h:61
double d1diag
Definition: cceom/MOInfo.h:78
PsiReturnType cceom(SharedWavefunction, Options &)
int * openpi
Definition: cceom/MOInfo.h:45
int * orbspi
Definition: cceom/MOInfo.h:43
char ** irr_labs
Definition: cceom/MOInfo.h:50