File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -331,13 +331,13 @@ LRI_CV_Tools::cal_dMRs(
331331 {
332332 const TA iat1 = A1.first ;
333333 const TC &cell1 = A1.second ;
334- const int it0 = GlobalC:: ucell.iat2it [iat0];
335- const int ia0 = GlobalC:: ucell.iat2ia [iat0];
336- const int it1 = GlobalC:: ucell.iat2it [iat1];
337- const int ia1 = GlobalC:: ucell.iat2ia [iat1];
338- const ModuleBase::Vector3<double > tau0 = GlobalC:: ucell.atoms [it0].tau [ia0];
339- const ModuleBase::Vector3<double > tau1 = GlobalC:: ucell.atoms [it1].tau [ia1];
340- const Abfs::Vector3_Order<double > R_delta = -tau0+tau1+(RI_Util::array3_to_Vector3 (cell1)*GlobalC:: ucell.latvec );
334+ const int it0 = ucell.iat2it [iat0];
335+ const int ia0 = ucell.iat2ia [iat0];
336+ const int it1 = ucell.iat2it [iat1];
337+ const int ia1 = ucell.iat2ia [iat1];
338+ const ModuleBase::Vector3<double > tau0 = ucell.atoms [it0].tau [ia0];
339+ const ModuleBase::Vector3<double > tau1 = ucell.atoms [it1].tau [ia1];
340+ const Abfs::Vector3_Order<double > R_delta = -tau0+tau1+(RI_Util::array3_to_Vector3 (cell1)*ucell.latvec );
341341 return std::array<Tdata,3 >{R_delta.x , R_delta.y , R_delta.z };
342342 };
343343 constexpr int Npos = 3 ;
You can’t perform that action at this time.
0 commit comments