File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
source/module_relax/relax_old Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ void BFGS::relax_step(const ModuleBase::matrix& _force,UnitCell& ucell)
4343 force[i][j]=_force (i,j)*ModuleBase::Ry_to_eV/ModuleBase::BOHR_TO_A;
4444 }
4545 }
46- /* std::cout<<"force"<<std::endl;
46+ std::cout<<" force" <<std::endl;
4747 for (int i=0 ;i<size;i++)
4848 {
4949 for (int j=0 ;j<3 ;j++)
5050 {
5151 std::cout<<force[i][j]<<' ' ;
5252 }
5353 std::cout<<std::endl;
54- }*/
54+ }
5555
5656 int k=0 ;
5757 for (int i=0 ;i<ucell.ntype ;i++)
@@ -102,8 +102,8 @@ void BFGS::relax_step(const ModuleBase::matrix& _force,UnitCell& ucell)
102102 std::cout<<dpos[i][j]<<' ';
103103 }
104104 std::cout<<std::endl;
105- }
106- std::cout<<"pos"<<std::endl;
105+ }*/
106+ /* std::cout<<"pos"<<std::endl;
107107 for(int i=0;i<size;i++)
108108 {
109109 for(int j=0;j<3;j++)
You can’t perform that action at this time.
0 commit comments