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