/usr/include/trilinos/Pike_SolverObserver_Logger.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 45 46 47 48 49 50 51 | #ifndef PIKE_OBSERVER_LOGGER_HPP
#define PIKE_OBSERVER_LOGGER_HPP
#include "Pike_SolverObserver.hpp"
#include "Teuchos_RCP.hpp"
#include <vector>
#include <string>
namespace pike {
class LoggerObserver : public pike::SolverObserver {
public:
LoggerObserver();
void setLog(const Teuchos::RCP<std::vector<std::string> >& log);
Teuchos::RCP<const std::vector<std::string> > getLog() const;
Teuchos::RCP<std::vector<std::string> > getNonConstLog() const;
void observeInitialization(const pike::Solver& solver);
void observeFinalization(const pike::Solver& solver);
void observeBeginSolve(const Solver& solver);
void observeEndSolve(const Solver& solver);
void observeBeginStep(const Solver& solver);
void observeEndStep(const Solver& solver);
void observeConvergedSolve(const Solver& solver);
void observeFailedSolve(const Solver& solver);
private:
Teuchos::RCP<std::vector<std::string> > log_;
};
/** \brief Non-member ctor
\relates LoggerObserver
*/
Teuchos::RCP<pike::LoggerObserver> loggerObserver();
}
#endif
|