dist_array.cpp
Go to the documentation of this file.
1 /*
2  * This file is a part of TiledArray.
3  * Copyright (C) 2016 Virginia Tech
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * Justus Calvin
19  * Department of Chemistry, Virginia Tech
20  *
21  * dist_array.cpp
22  * Feb 5, 2016
23  *
24  */
25 
26 #include "dist_array.h"
27 #include "expressions/tsr_expr.h"
28 #include "policies/dense_policy.h"
29 #include "policies/sparse_policy.h"
30 #include "tensor/tensor.h"
31 
32 namespace TiledArray {
33 
34 template class DistArray<Tensor<double, Eigen::aligned_allocator<double> >,
35  DensePolicy>;
36 template class DistArray<Tensor<float, Eigen::aligned_allocator<float> >,
37  DensePolicy>;
38 template class DistArray<Tensor<int, Eigen::aligned_allocator<int> >,
39  DensePolicy>;
40 template class DistArray<Tensor<long, Eigen::aligned_allocator<long> >,
41  DensePolicy>;
42 // template class DistArray<Tensor<std::complex<double>,
43 // Eigen::aligned_allocator<std::complex<double> > >, DensePolicy>; template
44 // class DistArray<Tensor<std::complex<float>,
45 // Eigen::aligned_allocator<std::complex<float> > >, DensePolicy>;
46 
47 template class DistArray<Tensor<double, Eigen::aligned_allocator<double> >,
48  SparsePolicy>;
49 template class DistArray<Tensor<float, Eigen::aligned_allocator<float> >,
50  SparsePolicy>;
51 template class DistArray<Tensor<int, Eigen::aligned_allocator<int> >,
52  SparsePolicy>;
53 template class DistArray<Tensor<long, Eigen::aligned_allocator<long> >,
54  SparsePolicy>;
55 // template class DistArray<Tensor<std::complex<double>,
56 // Eigen::aligned_allocator<std::complex<double> > >, SparsePolicy>; template
57 // class DistArray<Tensor<std::complex<float>,
58 // Eigen::aligned_allocator<std::complex<float> > >, SparsePolicy>;
59 
60 } // namespace TiledArray