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);
77 return totalNumIters_;
82 return numRestartCycles_;
91 const std::map<std::string, double>&
extraData ()
const {
97 int numRestartCycles_, totalNumIters_;
98 std::map<std::string, double> extraData_;
104 requireNonNegInt (
const int k);
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?
ReturnType
Whether the Belos solve converged for all linear systems.
const std::map< std::string, double > & extraData() const
"Extra" data from the inner solve.