42 #ifndef __Belos_InnerSolverResult_hpp
43 #define __Belos_InnerSolverResult_hpp
86 const int theNumRestartCycles,
87 const int theTotalNumIters,
88 const std::map<std::string, double>& theExtraData);
92 const int theNumRestartCycles,
93 const int theTotalNumIters);
123 const std::map<std::string, double>&
extraData ()
const {
142 #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.