Skip to content

Commit a454050

Browse files
committed
update output format
1 parent 6c1af66 commit a454050

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/module_cell/module_neighbor/sltk_atom_arrange.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ double atom_arrange::set_sr_NL(std::ofstream& ofs_in,
3737

3838
if (output_level != "m") // xiaohui add 'output_level', 2015-09-16
3939
{
40-
ofs_in << "\n\n\n\n";
40+
ofs_in << "\n\n";
4141
ofs_in << " >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" << std::endl;
4242
ofs_in << " | |" << std::endl;
4343
ofs_in << " | Search adjacent atoms: |" << std::endl;
@@ -47,7 +47,7 @@ double atom_arrange::set_sr_NL(std::ofstream& ofs_in,
4747
ofs_in << " | for each atom. |" << std::endl;
4848
ofs_in << " | |" << std::endl;
4949
ofs_in << " <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" << std::endl;
50-
ofs_in << "\n\n\n\n";
50+
ofs_in << "\n\n";
5151

5252
ofs_in << "\n SETUP SEARCHING RADIUS FOR PROGRAM TO SEARCH ADJACENT ATOMS" << std::endl;
5353
ofs_in << std::setprecision(3);

source/module_hamilt_lcao/hamilt_lcaodft/FORCE_STRESS.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,11 @@ void Force_Stress_LCAO<T>::getForceStress(UnitCell& ucell,
482482
}
483483

484484
// xiaohui add "OUT_LEVEL", 2015-09-16
485-
if (PARAM.inp.out_level != "m")
486-
{
487-
GlobalV::ofs_running << " correction force for each atom along direction " << i + 1 << " is "
488-
<< sum / nat << std::endl;
489-
}
485+
// if (PARAM.inp.out_level != "m")
486+
// {
487+
// GlobalV::ofs_running << " correction force for each atom along direction " << i + 1 << " is "
488+
// << sum / nat << std::endl;
489+
// }
490490
}
491491

492492
if (PARAM.inp.gate_flag || PARAM.inp.efield_flag)

0 commit comments

Comments
 (0)