File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1562,11 +1562,16 @@ void UnitCell::check_structure(double factor)
15621562 {
15631563 std::stringstream mess;
15641564 mess << " \n %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" << std::endl;
1565- mess << " WARNING: Some atoms are too close!!!" << std::endl;
1566- GlobalV::ofs_running << mess.str () << errorlog.str ();
1567- std::cout << mess.str () << " Please check the nearest-neighbor list in log file." << std::endl;
1568- GlobalV::ofs_running << " %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n " << std::endl;
1569- std::cout << " %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n " << std::endl;
1565+ mess << " %%%%%% WARNING WARNING WARNING WARNING WARNING %%%%%%" << std::endl;
1566+ mess << " %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" << std::endl;
1567+ mess << " !!! WARNING: Some atoms are too close!!!" << std::endl;
1568+ mess << " !!! Please check the nearest-neighbor list in log file." << std::endl;
1569+ mess << " %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" << std::endl;
1570+ mess << " %%%%%% WARNING WARNING WARNING WARNING WARNING %%%%%%" << std::endl;
1571+ mess << " %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" << std::endl;
1572+
1573+ GlobalV::ofs_running << mess.str () << mess.str () << mess.str () << errorlog.str ();
1574+ std::cout << mess.str () << mess.str () << mess.str () << std::endl;
15701575
15711576
15721577 if (!all_pass)
You can’t perform that action at this time.
0 commit comments