Skip to content

Commit 43cb5fd

Browse files
committed
Remove Base DiagH of DiagoElpaNative
1 parent 15fdb28 commit 43cb5fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/module_hsolver/diago_elpa_native.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ namespace hsolver
88
{
99

1010
template <typename T>
11-
class DiagoElpaNative : public DiagH<T>
11+
class DiagoElpaNative
1212
{
1313
private:
1414
using Real = typename GetTypeReal<T>::type;
1515

1616
public:
17-
void diag(hamilt::Hamilt<T>* phm_in, psi::Psi<T>& psi, Real* eigenvalue_in) override;
17+
void diag(hamilt::Hamilt<T>* phm_in, psi::Psi<T>& psi, Real* eigenvalue_in);
1818
#ifdef __MPI
1919
// diagnolization used in parallel-k case
20-
void diag_pool(hamilt::MatrixBlock<T>& h_mat, hamilt::MatrixBlock<T>& s_mat, psi::Psi<T>& psi, Real* eigenvalue_in, MPI_Comm& comm) override;
20+
void diag_pool(hamilt::MatrixBlock<T>& h_mat, hamilt::MatrixBlock<T>& s_mat, psi::Psi<T>& psi, Real* eigenvalue_in, MPI_Comm& comm);
2121
MPI_Comm setmpicomm(); // set mpi comm;
2222
static int elpa_num_thread; // need to set mpi_comm or not,-1 not,else the number of mpi needed
2323
static int lastmpinum; // last using mpi;

0 commit comments

Comments
 (0)