Skip to content

Commit d591a60

Browse files
authored
Fix: add the print header for cusolvermp in scf info (#6038)
1 parent bbc0a91 commit d591a60

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/module_elecstate/elecstate_print.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ void print_scf_iterinfo(const std::string& ks_solver,
5858
{"scalapack_gvx", "GV"},
5959
{"cusolver", "CU"},
6060
{"bpcg", "BP"},
61-
{"pexsi", "PE"}}; // I change the key of "cg_in_lcao" to "CG" because all the other are only two letters
61+
{"pexsi", "PE"},
62+
{"cusolvermp", "CM"}}; // I change the key of "cg_in_lcao" to "CG" because all the other are only two letters
6263
// ITER column
6364
std::vector<std::string> th_fmt = {" %-" + std::to_string(witer) + "s"}; // table header: th: ITER
6465
std::vector<std::string> td_fmt
@@ -485,4 +486,4 @@ void print_format(const std::string& name, const double& value)
485486
GlobalV::ofs_running << std::resetiosflags(std::ios::showpos);
486487
return;
487488
}
488-
} // namespace elecstate
489+
} // namespace elecstate

0 commit comments

Comments
 (0)