Skip to content

Commit 4afce26

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 85f031a commit 4afce26

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

source/module_cell/module_neighbor/sltk_atom_arrange.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,16 @@ double atom_arrange::set_sr_NL(
4242

4343

4444
//xiaohui add 'output_level' line, 2015-09-16
45-
if(output_level != "m") ofs_in << "\n SETUP SEARCHING RADIUS FOR PROGRAM TO SEARCH ADJACENT ATOMS" << std::endl;
46-
if(output_level != "m") ofs_in << std::setprecision(3);
47-
if(output_level != "m") ModuleBase::GlobalFunc::OUT(ofs_in,"longest orb rcut (Bohr)",rcutmax_Phi);
45+
if(output_level != "m") { ofs_in << "\n SETUP SEARCHING RADIUS FOR PROGRAM TO SEARCH ADJACENT ATOMS" << std::endl;
46+
}
47+
if(output_level != "m") { ofs_in << std::setprecision(3);
48+
}
49+
if(output_level != "m") { ModuleBase::GlobalFunc::OUT(ofs_in,"longest orb rcut (Bohr)",rcutmax_Phi);
50+
}
4851

4952
// std::cout << " LONGEST NL PROJ RCUT : " << longest_nl_proj_rcut << std::endl;
50-
if(output_level != "m") ModuleBase::GlobalFunc::OUT(ofs_in,"longest nonlocal projector rcut (Bohr)", rcutmax_Beta);
53+
if(output_level != "m") { ModuleBase::GlobalFunc::OUT(ofs_in,"longest nonlocal projector rcut (Bohr)", rcutmax_Beta);
54+
}
5155

5256
// check in use_overlap_matrix,
5357
double sr = 0.0;

0 commit comments

Comments
 (0)