Skip to content

Commit

Permalink
Remove error messages, fix typo (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Feb 4, 2016
1 parent ef76b21 commit c7556d2
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions material.C
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,11 @@ MaterialBase::rstop(const IonBase * ion, int z2)

if (z1 == 1)
{
#ifdef MYTRIM_ENABLED
mooseError("proton stopping not yet implemented!");
#else
std::cerr << "proton stopping not yet implemented!\n";
exit(1);
#endif
sp = rpstop(z2, e);
// Hydrogen electronic stopping powers [RST0640]
se = rpstop(z2, e);
}
else if (z1 == 2)
{
#ifdef MYTRIM_ENABLED
mooseError("alpha stopping not yet implemented!");
#else
std::cerr << "alpha stopping not yet implemented!\n";
exit(1);
#endif
// Helium electronic stopping powers [RST0820]
const Real he0 = 10.0;
Real he = std::max(he0, e);
Expand Down

0 comments on commit c7556d2

Please sign in to comment.