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 {
Collection of types and exceptions used within the Belos solvers.
Represents the result of an inner solve.
static int requireNonNegInt(const int k)
int numRestartCycles() const
Total number of restart cycles.
int totalNumIters() const
Total number of iterations completed over all restarts.
ReturnType result()
Did the inner solve converge?
static ReturnType validatedReturnType(const ReturnType ret)
InnerSolveResult(const ReturnType theResult, const int theNumRestartCycles, const int theTotalNumIters, const std::map< std::string, double > &theExtraData)
Constructor.
std::map< std::string, double > extraData_
const std::map< std::string, double > & extraData() const
"Extra" data from the inner solve.
ReturnType
Whether the Belos solve converged for all linear systems.