Skip to content

Commit

Permalink
Update diago_elpa.h
Browse files Browse the repository at this point in the history
  • Loading branch information
AmengFromCDH committed Jun 15, 2024
1 parent 77ef80a commit dfe5fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_hsolver/diago_elpa.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class DiagoElpa : public DiagH<T>
void diag(hamilt::Hamilt<T>* phm_in, psi::Psi<T>& psi, Real* eigenvalue_in) override;
#ifdef __MPI
MPI_Comm setmpicomm(); // set mpi comm;
static int elpa_num_thread; // need to set mpi_comm or not,-1 not,else the number of mpi needed
#endif

static int DecomposedState;

private:
#ifdef __MPI
bool ifElpaHandle(const bool& newIteration, const bool& ifNSCF);
static int elpa_num_thread; // need to set mpi_comm or not,-1 not,else the number of mpi needed
static int lastmpinum; // last using mpi;
#endif
};
Expand Down

0 comments on commit dfe5fb5

Please sign in to comment.