/usr/include/trilinos/Pike_StatusTest_MaxIterations.hpp is in libtrilinos-pike-dev 12.10.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #ifndef PIKE_STATUS_TESTS_MAX_ITERATIONS_HPP
#define PIKE_STATUS_TESTS_MAX_ITERATIONS_HPP
#include "Pike_StatusTest.hpp"
#include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
#include <iostream>
namespace pike {
class MaxIterations :
public pike::StatusTest,
public Teuchos::ParameterListAcceptorDefaultBase {
public:
MaxIterations(const int maxIterations = 100);
pike::SolveStatus checkStatus(const pike::Solver& solver, const CheckType checkType = pike::COMPLETE);
pike::SolveStatus getStatus() const;
void reset();
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=verbLevel_default) const;
void setParameterList(const Teuchos::RCP<Teuchos::ParameterList>& paramList);
Teuchos::RCP<const Teuchos::ParameterList> getValidParameters() const;
private:
int maximumIterations_;
int currentIterations_;
Teuchos::RCP<Teuchos::ParameterList> validParameters_;
pike::SolveStatus status_;
};
}
#endif
|