File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
source/source_lcao/module_rt Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ TD_info::TD_info(const UnitCell* ucell_in)
2929 if (PARAM.inp .mdp .md_restart )
3030 {
3131 std::stringstream ssc;
32- ssc << PARAM.globalv .global_readin_dir << " Restart_td.dat " ;
32+ ssc << PARAM.globalv .global_readin_dir << " Restart_td.txt " ;
3333 std::ifstream file (ssc.str ().c_str ());
3434 if (!file)
3535 {
36- ModuleBase::WARNING_QUIT (" TD_info::TD_info" , " No Restart_td.dat !" );
36+ ModuleBase::WARNING_QUIT (" TD_info::TD_info" , " No Restart_td.txt !" );
3737 }
3838 file >> estep_shift;
3939 // std::cout<<"estep_shift"<<estep_shift<<std::endl;
@@ -165,10 +165,10 @@ void TD_info::out_restart_info(const int nstep,
165165 if (GlobalV::MY_RANK == 0 )
166166 {
167167 // open file
168- std::string outdir = PARAM.globalv .global_out_dir + " Restart_td.dat " ;
168+ std::string outdir = PARAM.globalv .global_out_dir + " Restart_td.txt " ;
169169 std::ofstream outFile (outdir);
170170 if (!outFile) {
171- ModuleBase::WARNING_QUIT (" out_restart_info" , " no Restart_td.dat !" );
171+ ModuleBase::WARNING_QUIT (" out_restart_info" , " no Restart_td.txt !" );
172172 }
173173 // write data
174174 outFile << nstep << std::endl;
You can’t perform that action at this time.
0 commit comments