@@ -26,7 +26,7 @@ void Exx_Opt_Orb::generate_matrix(const K_Vectors &kv, const UnitCell& ucell, co
2626 lcaos = Exx_Abfs::Construct_Orbs::change_orbs ( orb, this ->kmesh_times );
2727
2828 const std::vector<std::vector<std::vector<Numerical_Orbital_Lm>>>
29- abfs = Exx_Abfs::Construct_Orbs::abfs_same_atom ( orb, lcaos, this ->kmesh_times , GlobalC::exx_info.info_ri .pca_threshold );
29+ abfs = Exx_Abfs::Construct_Orbs::abfs_same_atom (ucell, orb, lcaos, this ->kmesh_times , GlobalC::exx_info.info_ri .pca_threshold );
3030
3131// ofs_mpi<<"memory:\t"<<get_memory(10)<<std::endl;
3232
@@ -89,10 +89,10 @@ void Exx_Opt_Orb::generate_matrix(const K_Vectors &kv, const UnitCell& ucell, co
8989 const auto ms_lcaoslcaos_jys = [&]() -> std::map<size_t ,std::map<size_t ,std::map<size_t ,std::map<size_t ,std::vector<RI::Tensor<double >>>>>>
9090 {
9191 Matrix_Orbs21 m_jyslcaos_lcaos;
92- m_jyslcaos_lcaos.init ( 1 , orb, this ->kmesh_times , 1 );
92+ m_jyslcaos_lcaos.init ( 1 , ucell , orb, this ->kmesh_times , 1 );
9393 m_jyslcaos_lcaos.init_radial ( jle.jle , lcaos, lcaos );
9494 #if TEST_EXX_RADIAL>=1
95- m_jyslcaos_lcaos.init_radial_table (radial_R);
95+ m_jyslcaos_lcaos.init_radial_table (ucell. lat0 , radial_R);
9696 #else
9797 m_jyslcaos_lcaos.init_radial_table ();
9898 #endif
@@ -137,10 +137,10 @@ void Exx_Opt_Orb::generate_matrix(const K_Vectors &kv, const UnitCell& ucell, co
137137 const auto ms_lcaoslcaos_abfs = [&]() -> std::map<size_t ,std::map<size_t ,std::map<size_t ,std::map<size_t ,std::vector<RI::Tensor<double >>>>>>
138138 {
139139 Matrix_Orbs21 m_abfslcaos_lcaos;
140- m_abfslcaos_lcaos.init ( 1 , orb, this ->kmesh_times , 1 );
140+ m_abfslcaos_lcaos.init ( 1 , ucell , orb, this ->kmesh_times , 1 );
141141 m_abfslcaos_lcaos.init_radial ( abfs, lcaos, lcaos );
142142 #if TEST_EXX_RADIAL>=1
143- m_abfslcaos_lcaos.init_radial_table (radial_R);
143+ m_abfslcaos_lcaos.init_radial_table (ucell. lat0 , radial_R);
144144 #else
145145 m_abfslcaos_lcaos.init_radial_table ();
146146 #endif
0 commit comments