#include "mpi.h"
#include "source_base/parallel_reduce.h"
#include "source_hsolver/hs_operator.h"
#include "source_psi/psi.h"
#include <random>
#include <algorithm>
#include <complex>
#include <fstream>
#include <iostream>
#include <vector>
#include "source_base/macros.h"
Go to the source code of this file.
|
| void | DIAGOTEST::readh (std::ifstream &inf, std::vector< double > &hm) |
| void | DIAGOTEST::readh (std::ifstream &inf, std::vector< std::complex< double > > &hm) |
| void | DIAGOTEST::readh (std::ifstream &inf, std::vector< std::complex< float > > &hm) |
| template<class T> |
| void | DIAGOTEST::divide_psi (T *psi, T *psi_local) |
| template void | DIAGOTEST::divide_psi< double > (double *psi, double *psi_local) |
| template void | DIAGOTEST::divide_psi< std::complex< double > > (std::complex< double > *psi, std::complex< double > *psi_local) |
| template void | DIAGOTEST::divide_psi< std::complex< float > > (std::complex< float > *psi, std::complex< float > *psi_local) |
| void | DIAGOTEST::cal_division (int &npw) |
| template<typename T> |
| void | DIAGOTEST::divide_hpsi (psi::Psi< T > &psi, psi::Psi< T > &psi_local, std::vector< T > &hmatrix, std::vector< T > &hmatrix_local) |
| template<typename T> |
| std::vector< T > & | DIAGOTEST::hmatrix_local_of () |
| | the process-local slice of the test matrix for each scalar type
|
| template<> |
| std::vector< double > & | DIAGOTEST::hmatrix_local_of< double > () |
| template<> |
| std::vector< std::complex< double > > & | DIAGOTEST::hmatrix_local_of< std::complex< double > > () |
| template<> |
| std::vector< std::complex< float > > & | DIAGOTEST::hmatrix_local_of< std::complex< float > > () |