@@ -113,10 +113,10 @@ void compose_hr_gint(HContainer<T>& hr_gint)
113113}
114114
115115template <typename T>
116- void transfer_hr_gint_to_hR (const HContainer<T>& hr_gint, HContainer<T>& hR)
116+ void hr_gint_to_hR (const HContainer<T>& hr_gint, HContainer<T>& hR)
117117{
118- ModuleBase::TITLE (" Gint" , " transfer_hr_gint_to_hR " );
119- ModuleBase::timer::start (" Gint" , " transfer_hr_gint_to_hR " );
118+ ModuleBase::TITLE (" Gint" , " hr_gint_to_hR " );
119+ ModuleBase::timer::start (" Gint" , " hr_gint_to_hR " );
120120#ifdef __MPI
121121 int size = 0 ;
122122 MPI_Comm_size (MPI_COMM_WORLD , &size);
@@ -131,7 +131,7 @@ void transfer_hr_gint_to_hR(const HContainer<T>& hr_gint, HContainer<T>& hR)
131131#else
132132 hR.add (hr_gint);
133133#endif
134- ModuleBase::timer::end (" Gint" , " transfer_hr_gint_to_hR " );
134+ ModuleBase::timer::end (" Gint" , " hr_gint_to_hR " );
135135}
136136
137137
@@ -258,7 +258,7 @@ void merge_hr_part_to_hR(const std::vector<hamilt::HContainer<double>>& hr_gint_
258258
259259
260260
261- // C++11-compatible helpers for transfer_dm_2d_to_gint :
261+ // C++11-compatible helpers for dm_2d_to_gint :
262262// SFINAE (enable_if) to select same-type vs cross-type code paths at compile time.
263263
264264// Same-type path (TGint == TDM): transfer directly
@@ -294,13 +294,13 @@ gather_dm(const HContainer<TDM>& dm_src, HContainer<TGint>& dm_dst,
294294// gint_info should not have been a parameter, but it was added to initialize dm_gint_full
295295// In the future, we might try to remove the gint_info parameter
296296template <typename TGint, typename TDM >
297- void transfer_dm_2d_to_gint (
297+ void dm_2d_to_gint (
298298 const GintInfo& gint_info,
299299 const std::vector<HContainer<TDM >*>& dm,
300300 std::vector<HContainer<TGint>>& dm_gint)
301301{
302- ModuleBase::TITLE (" Gint" , " transfer_dm_2d_to_gint " );
303- ModuleBase::timer::start (" Gint" , " transfer_dm_2d_to_gint " );
302+ ModuleBase::TITLE (" Gint" , " dm_2d_to_gint " );
303+ ModuleBase::timer::start (" Gint" , " dm_2d_to_gint " );
304304
305305 if (PARAM .inp .nspin != 4 )
306306 {
@@ -368,7 +368,7 @@ void transfer_dm_2d_to_gint(
368368 delete dm2d_tmp;
369369#endif
370370 }
371- ModuleBase::timer::end (" Gint" , " transfer_dm_2d_to_gint " );
371+ ModuleBase::timer::end (" Gint" , " dm_2d_to_gint " );
372372}
373373
374374int globalIndex (int localindex, int nblk, int nprocs, int myproc)
@@ -480,10 +480,10 @@ void wfc_2d_to_gint(const T* wfc_2d,
480480
481481template void compose_hr_gint (HContainer<double >& hr_gint);
482482template void compose_hr_gint (HContainer<float >& hr_gint);
483- template void transfer_hr_gint_to_hR (
483+ template void hr_gint_to_hR (
484484 const HContainer<double >& hr_gint,
485485 HContainer<double >& hR);
486- template void transfer_hr_gint_to_hR (
486+ template void hr_gint_to_hR (
487487 const HContainer<std::complex <double >>& hr_gint,
488488 HContainer<std::complex <double >>& hR);
489489template void cast_hcontainer_values (
@@ -494,15 +494,15 @@ template void cast_hcontainer_values(
494494 HContainer<double >& dst);
495495template HContainer<float > make_cast_hcontainer (const HContainer<double >& src);
496496template HContainer<double > make_cast_hcontainer (const HContainer<float >& src);
497- template void transfer_dm_2d_to_gint (
497+ template void dm_2d_to_gint (
498498 const GintInfo& gint_info,
499499 const std::vector<HContainer<double >*>& dm,
500500 std::vector<HContainer<double >>& dm_gint);
501- template void transfer_dm_2d_to_gint (
501+ template void dm_2d_to_gint (
502502 const GintInfo& gint_info,
503503 const std::vector<HContainer<double >*>& dm,
504504 std::vector<HContainer<float >>& dm_gint);
505- template void transfer_dm_2d_to_gint (
505+ template void dm_2d_to_gint (
506506 const GintInfo& gint_info,
507507 const std::vector<HContainer<std::complex <double >>*>& dm,
508508 std::vector<HContainer<std::complex <double >>>& dm_gint);
0 commit comments