@@ -90,7 +90,7 @@ void ESolver_GetS::runner(UnitCell& ucell, const int istep)
9090
9191 Grid_Driver gd;
9292
93- atom_arrange::search (PARAM.inp .search_pbc ,
93+ atom_arrange::search (PARAM.globalv .search_pbc ,
9494 GlobalV::ofs_running,
9595 gd,
9696 ucell,
@@ -133,7 +133,7 @@ void ESolver_GetS::runner(UnitCell& ucell, const int istep)
133133 if (PARAM.inp .out_mat_r )
134134 {
135135 cal_r_overlap_R r_matrix;
136- r_matrix.init (ucell,pv, orb_);
136+ r_matrix.init (ucell, pv, orb_);
137137 r_matrix.out_rR (ucell, gd, istep);
138138 }
139139
@@ -142,20 +142,23 @@ void ESolver_GetS::runner(UnitCell& ucell, const int istep)
142142 LCAO_HS_Arrays HS_Arrays; // store sparse arrays
143143 // ! Print out sparse matrix
144144 ModuleIO::output_dSR (istep,
145- ucell,
146- this ->pv ,
147- HS_Arrays,
148- gd, // mohan add 2024-04-06
149- two_center_bundle_,
150- orb_,
151- kv);
145+ ucell,
146+ this ->pv ,
147+ HS_Arrays,
148+ gd, // mohan add 2024-04-06
149+ two_center_bundle_,
150+ orb_,
151+ kv);
152152 }
153153
154154 ModuleBase::timer::tick (" ESolver_GetS" , " runner" );
155155}
156156
157157void ESolver_GetS::after_all_runners (UnitCell& ucell) {};
158- double ESolver_GetS::cal_energy () { return 0.0 ; };
158+ double ESolver_GetS::cal_energy ()
159+ {
160+ return 0.0 ;
161+ };
159162void ESolver_GetS::cal_force (UnitCell& ucell, ModuleBase::matrix& force) {};
160163void ESolver_GetS::cal_stress (UnitCell& ucell, ModuleBase::matrix& stress) {};
161164
0 commit comments