10 #ifndef __Belos_InnerSolverResult_hpp
11 #define __Belos_InnerSolverResult_hpp
54 const int theNumRestartCycles,
55 const int theTotalNumIters,
56 const std::map<std::string, double>& theExtraData);
60 const int theNumRestartCycles,
61 const int theTotalNumIters);
91 const std::map<std::string, double>&
extraData ()
const {
110 #endif // __Belos_InnerSolverResult_hpp
Collection of types and exceptions used within the Belos solvers.
InnerSolveResult(const ReturnType theResult, const int theNumRestartCycles, const int theTotalNumIters, const std::map< std::string, double > &theExtraData)
Constructor.
Represents the result of an inner solve.
int totalNumIters() const
Total number of iterations completed over all restarts.
int numRestartCycles() const
Total number of restart cycles.
ReturnType result()
Did the inner solve converge?
static ReturnType validatedReturnType(const ReturnType ret)
static int requireNonNegInt(const int k)
ReturnType
Whether the Belos solve converged for all linear systems.
std::map< std::string, double > extraData_
const std::map< std::string, double > & extraData() const
"Extra" data from the inner solve.