Skip to content

Commit

Permalink
fix the repeat of r_radial at abfs' cutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
maki49 committed Sep 7, 2023
1 parent 056c6ad commit aeb5439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_ri/conv_coulomb_pot_k.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Numerical_Orbital_Lm Conv_Coulomb_Pot_K::cal_orbs_ccp<Numerical_Orbital_Lm>(
for( size_t ir=0; ir<std::min(orbs.getNr(),Nr); ++ir )
r_radial[ir] = orbs.getRadial(ir);
for( size_t ir=orbs.getNr(); ir<Nr; ++ir )
r_radial[ir] = orbs.get_r_radial().back() + (ir-orbs.getNr())*dr;
r_radial[ir] = orbs.get_r_radial().back() + (ir - orbs.getNr() + 1) * dr;

Numerical_Orbital_Lm orbs_ccp;
orbs_ccp.set_orbital_info(
Expand Down

0 comments on commit aeb5439

Please sign in to comment.