File tree Expand file tree Collapse file tree 14 files changed +14
-14
lines changed Expand file tree Collapse file tree 14 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ void FIRE::second_half()
8585 ModuleBase::timer::tick (" FIRE" , " second_half" );
8686}
8787
88- void FIRE::outputMD (std::ofstream &ofs, bool & cal_stress)
88+ void FIRE::outputMD (std::ofstream &ofs, bool cal_stress)
8989{
9090 Verlet::outputMD (ofs, cal_stress);
9191
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class FIRE : public Verlet
1212 void setup (ModuleESolver::ESolver *p_ensolve);
1313 void first_half ();
1414 void second_half ();
15- void outputMD (std::ofstream &ofs, bool & cal_stress);
15+ void outputMD (std::ofstream &ofs, bool cal_stress);
1616 void write_restart ();
1717 void restart ();
1818 void check_force ();
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ void Langevin::second_half()
4545 ModuleBase::timer::tick (" Langevin" , " second_half" );
4646}
4747
48- void Langevin::outputMD (std::ofstream &ofs, bool & cal_stress)
48+ void Langevin::outputMD (std::ofstream &ofs, bool cal_stress)
4949{
5050 Verlet::outputMD (ofs, cal_stress);
5151}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class Langevin : public Verlet
1212 void setup (ModuleESolver::ESolver *p_ensolve);
1313 void first_half ();
1414 void second_half ();
15- void outputMD (std::ofstream &ofs, bool & cal_stress);
15+ void outputMD (std::ofstream &ofs, bool cal_stress);
1616 void write_restart ();
1717 void restart ();
1818 void post_force ();
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ void MSST::second_half()
164164 ModuleBase::timer::tick (" MSST" , " second_half" );
165165}
166166
167- void MSST::outputMD (std::ofstream &ofs, bool & cal_stress)
167+ void MSST::outputMD (std::ofstream &ofs, bool cal_stress)
168168{
169169 Verlet::outputMD (ofs, cal_stress);
170170}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class MSST : public Verlet
1212 void setup (ModuleESolver::ESolver *p_ensolve);
1313 void first_half ();
1414 void second_half ();
15- void outputMD (std::ofstream &ofs, bool & cal_stress);
15+ void outputMD (std::ofstream &ofs, bool cal_stress);
1616 void write_restart ();
1717 void restart ();
1818 double extra_term ();
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ void NVE::second_half()
3636 ModuleBase::timer::tick (" NVE" , " second_half" );
3737}
3838
39- void NVE::outputMD (std::ofstream &ofs, bool & cal_stress)
39+ void NVE::outputMD (std::ofstream &ofs, bool cal_stress)
4040{
4141 Verlet::outputMD (ofs, cal_stress);
4242}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class NVE : public Verlet
1212 void setup (ModuleESolver::ESolver *p_ensolve);
1313 void first_half ();
1414 void second_half ();
15- void outputMD (std::ofstream &ofs, bool & cal_stress);
15+ void outputMD (std::ofstream &ofs, bool cal_stress);
1616 void write_restart ();
1717 void restart ();
1818
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ void NVT_ADS::second_half()
6565 ModuleBase::timer::tick (" NVT_ADS" , " second_half" );
6666}
6767
68- void NVT_ADS::outputMD (std::ofstream &ofs, bool & cal_stress)
68+ void NVT_ADS::outputMD (std::ofstream &ofs, bool cal_stress)
6969{
7070 Verlet::outputMD (ofs, cal_stress);
7171}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class NVT_ADS : public Verlet
1212 void setup (ModuleESolver::ESolver *p_ensolve);
1313 void first_half ();
1414 void second_half ();
15- void outputMD (std::ofstream &ofs, bool & cal_stress);
15+ void outputMD (std::ofstream &ofs, bool cal_stress);
1616 void write_restart ();
1717 void restart ();
1818
You can’t perform that action at this time.
0 commit comments