Skip to content

Commit

Permalink
Edit the tests to include radius paremeters for DiracAtom class
Browse files Browse the repository at this point in the history
  • Loading branch information
subindev-d committed Oct 4, 2024
1 parent 6263d40 commit a9e6515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_atom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ TEST_CASE("Dirac Atom - transitions", "[DiracAtom]")
REQUIRE(tmat.totalRate() * Physical::s == Approx(1.0775e+07).epsilon(1e-4));

// Iron-like atom
DiracAtom daFe = DiracAtom(26, 1, 56, NuclearRadiusModel::SPHERE);
DiracAtom daFe = DiracAtom(26, 1, 56, -1 , NuclearRadiusModel::SPHERE);

// 3d3/2 => 3p1/2
tmat = daFe.getTransitionProbabilities(3, 2, false, 3, 1, false);
Expand Down
2 changes: 1 addition & 1 deletion test/test_kappaa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(int argc, char *argv[])
// Now, simulations
for (int i = 0; i < dataZ.size(); ++i)
{
DiracAtom da = DiracAtom(dataZ[i], Physical::m_mu, dataA[i], SPHERE);
DiracAtom da = DiracAtom(dataZ[i], Physical::m_mu, dataA[i], -1, SPHERE);
DiracState p2 = da.getState(2, 1, false);
DiracState s1 = da.getState(1, 0, false);

Expand Down

0 comments on commit a9e6515

Please sign in to comment.