Skip to content

Commit

Permalink
Remove error messages (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Feb 4, 2016
1 parent ef76b21 commit f9f91e8
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 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
// Hydrogen electronic stopping powers [RST0640]
sp = 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 f9f91e8

Please sign in to comment.