Psi4
convert.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 //
30 // Created by Justin Turney on 1/5/16.
31 //
32 
33 #ifndef AMBIT_CONVERTER_H
34 #define AMBIT_CONVERTER_H
35 
36 #include "psi4/libmints/matrix.h"
37 #include "psi4/libmints/vector.h"
38 
39 namespace ambit
40 {
41 
42 class Tensor;
43 
44 namespace helpers
45 {
46 
47 namespace psi4
48 {
49 
50 void convert(const psi::Matrix &matrix, ambit::Tensor *target);
51 
52 void convert(const psi::Vector &vector, ambit::Tensor *target);
53 
54 } // namespace psi4
55 
56 } // namespace helpers
57 
58 } // namespace ambit
59 
60 #endif // AMBIT_CONVERTER_H
void convert(const psi::Matrix &matrix, ambit::Tensor *target)
Definition: convert.cc:46
Makes using matrices just a little easier.
Definition: libmints/matrix.h:66
Definition: vector.h:48