1 | //
|
---|
2 | // compute_a_gebc_vbs.cc
|
---|
3 | //
|
---|
4 | // Copyright (C) 2004 Edward Valeev
|
---|
5 | //
|
---|
6 | // Author: Edward Valeev <edward.valeev@chemistry.gatech.edu>
|
---|
7 | // Maintainer: EV
|
---|
8 | //
|
---|
9 | // This file is part of the SC Toolkit.
|
---|
10 | //
|
---|
11 | // The SC Toolkit is free software; you can redistribute it and/or modify
|
---|
12 | // it under the terms of the GNU Library General Public License as published by
|
---|
13 | // the Free Software Foundation; either version 2, or (at your option)
|
---|
14 | // any later version.
|
---|
15 | //
|
---|
16 | // The SC Toolkit 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 Library General Public License for more details.
|
---|
20 | //
|
---|
21 | // You should have received a copy of the GNU Library General Public License
|
---|
22 | // along with the SC Toolkit; see the file COPYING.LIB. If not, write to
|
---|
23 | // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
24 | //
|
---|
25 | // The U.S. Government is granted a limited license as per AL 91-7.
|
---|
26 | //
|
---|
27 |
|
---|
28 | #include <stdexcept>
|
---|
29 | #include <stdlib.h>
|
---|
30 | #include <math.h>
|
---|
31 | #include <limits.h>
|
---|
32 |
|
---|
33 | #include <scconfig.h>
|
---|
34 | #include <util/misc/formio.h>
|
---|
35 | #include <util/misc/timer.h>
|
---|
36 | #include <util/class/class.h>
|
---|
37 | #include <util/state/state.h>
|
---|
38 | #include <util/state/state_text.h>
|
---|
39 | #include <util/state/state_bin.h>
|
---|
40 | #include <math/scmat/matrix.h>
|
---|
41 | #include <chemistry/molecule/molecule.h>
|
---|
42 | #include <chemistry/qc/basis/integral.h>
|
---|
43 | #include <chemistry/qc/mbpt/bzerofast.h>
|
---|
44 | #include <chemistry/qc/mbptr12/r12ia.h>
|
---|
45 | #include <chemistry/qc/mbptr12/vxb_eval_info.h>
|
---|
46 | #include <chemistry/qc/mbptr12/pairiter.h>
|
---|
47 | #include <chemistry/qc/mbptr12/r12int_eval.h>
|
---|
48 |
|
---|
49 | using namespace std;
|
---|
50 | using namespace sc;
|
---|
51 |
|
---|
52 | void
|
---|
53 | R12IntEval::contrib_to_VXB_gebc_vbsneqobs_()
|
---|
54 | {
|
---|
55 | if (evaluated_)
|
---|
56 | return;
|
---|
57 |
|
---|
58 | /*form_canonvir_space_();
|
---|
59 | contrib_to_VXB_a_symm_("(im|jn)",r12info_->occ_space());
|
---|
60 | contrib_to_VXB_a_symm_("(ia|jb)",canonvir_space);
|
---|
61 | contrib_to_VXB_a_asymm_("(im|ja)",r12info_->occ_space(),canonvir_space_);
|
---|
62 | if (r12info_->basis_vir() != r12info_->basis_ri())
|
---|
63 | contrib_to_VXB_a_asymm_("(im|jy)",r12info_->occ_space(),r12info_->ribs_space());
|
---|
64 | */
|
---|
65 | contrib_to_VXB_a_symm_("(im|jn)");
|
---|
66 | contrib_to_VXB_a_symm_("(ia|jb)");
|
---|
67 | contrib_to_VXB_a_asymm_("(im|ja)");
|
---|
68 | if (r12info_->basis_vir() != r12info_->basis_ri())
|
---|
69 | contrib_to_VXB_a_asymm_("(im|jy)");
|
---|
70 |
|
---|
71 |
|
---|
72 | return;
|
---|
73 | }
|
---|
74 |
|
---|
75 | ////////////////////////////////////////////////////////////////////////////
|
---|
76 |
|
---|
77 | // Local Variables:
|
---|
78 | // mode: c++
|
---|
79 | // c-file-style: "CLJ-CONDENSED"
|
---|
80 | // End:
|
---|