From f9f91e8c788011cd770e5a542a1d151c08141a39 Mon Sep 17 00:00:00 2001 From: Daniel Schwen Date: Wed, 3 Feb 2016 20:09:24 -0700 Subject: [PATCH] Remove error messages (#25) --- material.C | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/material.C b/material.C index 2a720e4..f7fe19b 100644 --- a/material.C +++ b/material.C @@ -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);