File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 33
44#include " esolver.h"
55
6+ #ifndef __MPI
7+ #include < chrono>
8+ #endif
9+
610// ! plane wave basis
711#include " module_basis/module_pw/pw_basis.h"
812
Original file line number Diff line number Diff line change 11#ifndef ESOLVER_KS_H
22#define ESOLVER_KS_H
33
4- #ifdef __MPI
5- #include < mpi.h>
6- #else
7- #include < chrono>
8- #endif
9-
104#include < cstring>
115// #include <fstream>
126
Original file line number Diff line number Diff line change @@ -410,8 +410,8 @@ void ESolver_OF::print_info(const bool conv_esolver)
410410 = (std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now () - this ->iter_time )).count ()
411411 / static_cast <double >(1e6 );
412412#endif
413- std::cout << " " << std::setw (8 ) << iteration << std::setw ( 18 ) << std::scientific << std::setprecision ( 8 )
414- << this ->energy_current_ * ModuleBase::Ry_to_eV
413+ std::cout << " " << std::setw (8 ) << iteration
414+ << std::setw ( 18 ) << std::scientific << std::setprecision ( 8 ) << this ->energy_current_ * ModuleBase::Ry_to_eV
415415 << std::setw (18 ) << (this ->energy_current_ - this ->energy_last_ ) * ModuleBase::Ry_to_eV
416416 << std::setw (13 ) << std::setprecision (4 ) << this ->pelec ->eferm .get_efval (0 ) * ModuleBase::Ry_to_eV
417417 << std::setw (13 ) << std::setprecision (4 ) << this ->normdLdphi_
You can’t perform that action at this time.
0 commit comments