Skip to content

Commit be6e94a

Browse files
committed
fix DOS name in SDFT
1 parent e45ab26 commit be6e94a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_hamilt_pw/hamilt_stodft/sto_dos.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void Sto_DOS<FPTYPE, Device>::caldos(const double sigmain, const double de, cons
240240
#endif
241241
if (GlobalV::MY_RANK == 0)
242242
{
243-
std::string dosfile = PARAM.globalv.global_out_dir + "DOS1_smearing.dat";
243+
std::string dosfile = PARAM.globalv.global_out_dir + "DOS1_smear.dat";
244244
ofsdos.open(dosfile.c_str());
245245
double maxerror = 0;
246246
double sum = 0;
@@ -271,4 +271,4 @@ void Sto_DOS<FPTYPE, Device>::caldos(const double sigmain, const double de, cons
271271
template class Sto_DOS<double, base_device::DEVICE_CPU>;
272272
#if ((defined __CUDA) || (defined __ROCM))
273273
template class Sto_DOS<double, base_device::DEVICE_GPU>;
274-
#endif
274+
#endif

0 commit comments

Comments
 (0)