Skip to content

Commit

Permalink
Fixed line test
Browse files Browse the repository at this point in the history
introudcing the the newparmeter radius breaks the test_lines
  • Loading branch information
subindev-d committed Oct 4, 2024
1 parent 635d697 commit 6263d40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_lines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ Table VI
*/

vector<double> energyCorrections(int Z, int n1, int l1, bool s1, int n2, int l2,
bool s2, NuclearRadiusModel rmodel = SPHERE)
bool s2, NuclearRadiusModel rmodel = SPHERE, double radius= -1)
{
vector<double> E_corr;
DiracAtom da_point = DiracAtom(Z, Physical::m_mu, getElementMainIsotope(Z));
DiracAtom da_sphere =
DiracAtom(Z, Physical::m_mu, getElementMainIsotope(Z), rmodel);
DiracAtom(Z, Physical::m_mu, getElementMainIsotope(Z), radius, rmodel);
DiracAtom da_uehling =
DiracAtom(Z, Physical::m_mu, getElementMainIsotope(Z), rmodel);
DiracAtom(Z, Physical::m_mu, getElementMainIsotope(Z), radius, rmodel);
da_uehling.setUehling(true, 100);

double E_point = da_point.getState(n2, l2, s2).E;
Expand Down

0 comments on commit 6263d40

Please sign in to comment.