19 result_ (validatedReturnType (
theResult)),
29 result_ (validatedReturnType (
theResult)),
38 std::invalid_argument,
39 "Invalid ReturnType enum value " <<
ret <<
". "
40 "Valid values are Converged=" <<
Converged <<
" and "
46 InnerSolveResult::requireNonNegInt (
const int k)
48 TEUCHOS_TEST_FOR_EXCEPTION(k < 0, std::invalid_argument,
49 "The given integer argument k=" << k
50 <<
" must be nonnegative.");
InnerSolveResult(const ReturnType theResult, const int theNumRestartCycles, const int theTotalNumIters, const std::map< std::string, double > &theExtraData)
Constructor.
Alternative run-time polymorphic interface for operators.
ReturnType
Whether the Belos solve converged for all linear systems.