/usr/include/trilinos/Pike_StatusTest_LocalModelFailure.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 39 40 41 42 43 44 | #ifndef PIKE_STATUS_TESTS_LOCAL_MODEL_FAILURE_HPP
#define PIKE_STATUS_TESTS_LOCAL_MODEL_FAILURE_HPP
#include "Pike_StatusTest.hpp"
#include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
#include <iostream>
namespace pike {
class BlackBoxModelEvaluator;
/** \brief Failure test for local convergence of a model.
*/
class LocalModelFailure :
public pike::StatusTest,
public Teuchos::ParameterListAcceptorDefaultBase {
public:
LocalModelFailure();
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:
std::string applicationName_;
bool isLocallyConverged_;
pike::SolveStatus status_;
Teuchos::RCP<Teuchos::ParameterList> validParameters_;
Teuchos::RCP<const pike::BlackBoxModelEvaluator> application_;
};
}
#endif
|