Psi4
matrixtmp.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 
28 #ifndef _psi_src_bin_psimrcc_ccmatrixtmp_h
29 #define _psi_src_bin_psimrcc_ccmatrixtmp_h
30 /***************************************************************************
31  * Copyright (C) 2007 by Francesco Evangelista and Andrew Simmonett
32  * frank@ccc.uga.edu
33  * SR/MRCC Code
34  ***************************************************************************/
35 
36 
37 namespace psi{ namespace psimrcc{
38 
39 class CCMatrix;
40 
42 
46 class CCMatTmp{
47 public:
48  CCMatTmp(CCMatrix* Matrix, DiskOpt disk_option = none);
49  CCMatrix* operator->() const {return(Matrix_);}
50  CCMatrix* get_CCMatrix() const {return(Matrix_);}
51  ~CCMatTmp();
52 private:
55 };
56 
60 class CCMatIrTmp{
61 public:
62  CCMatIrTmp(CCMatrix* Matrix, int irrep, DiskOpt disk_option = none);
63  CCMatrix* operator->() const {return(Matrix_);}
64  CCMatrix* get_CCMatrix() const {return(Matrix_);}
65  ~CCMatIrTmp();
66 private:
68  int irrep_;
70 };
71 
72 }} /* End Namespaces */
73 
74 #endif // _psi_src_bin_psimrcc_ccmatrixtmp_h
PsiReturnType psimrcc(SharedWavefunction, Options &)
Definition: psimrcc/main.cc:86
DiskOpt disk_option_
Definition: matrixtmp.h:53
Definition: psimrcc/matrix.h:47
int irrep_
Definition: matrixtmp.h:68
Definition: matrixtmp.h:46
Definition: matrixtmp.h:41
CCMatrix * Matrix_
Definition: matrixtmp.h:69
DiskOpt disk_option_
Definition: matrixtmp.h:67
CCMatrix * get_CCMatrix() const
Definition: matrixtmp.h:50
CCMatrix * Matrix_
Definition: matrixtmp.h:54
~CCMatTmp()
Definition: matrixtmp.cc:37
CCMatrix * operator->() const
Definition: matrixtmp.h:49
CCMatrix * get_CCMatrix() const
Definition: matrixtmp.h:64
~CCMatIrTmp()
Definition: matrixtmp.cc:49
Makes using matrices just a little easier.
Definition: libmints/matrix.h:71
Definition: matrixtmp.h:60
Definition: matrixtmp.h:41
CCMatIrTmp(CCMatrix *Matrix, int irrep, DiskOpt disk_option=none)
Definition: matrixtmp.cc:45
DiskOpt
Definition: matrixtmp.h:41
CCMatTmp(CCMatrix *Matrix, DiskOpt disk_option=none)
Definition: matrixtmp.cc:33
Definition: matrixtmp.h:41
CCMatrix * operator->() const
Definition: matrixtmp.h:63