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);
109 return totalNumIters_;
114 return numRestartCycles_;
123 const std::map<std::string, double>&
extraData ()
const {
129 int numRestartCycles_, totalNumIters_;
130 std::map<std::string, double> extraData_;
136 requireNonNegInt (
const int k);
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?
ReturnType
Whether the Belos solve converged for all linear systems.
const std::map< std::string, double > & extraData() const
"Extra" data from the inner solve.