/usr/include/trilinos/Pike_SolverObserver.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 | #ifndef PIKE_SOLVER_OBSERVER_HPP
#define PIKE_SOLVER_OBSERVER_HPP
namespace pike {
class Solver;
/** \brief Observer design pattern for monitoring pike::Solver methods */
class SolverObserver {
public:
virtual ~SolverObserver() {}
virtual void observeInitialization(const pike::Solver& solver) = 0;
virtual void observeFinalization(const pike::Solver& solver) = 0;
virtual void observeBeginSolve(const pike::Solver& solver) = 0;
virtual void observeEndSolve(const pike::Solver& solver) = 0;
virtual void observeBeginStep(const pike::Solver& solver) = 0;
virtual void observeEndStep(const pike::Solver& solver) = 0;
virtual void observeConvergedSolve(const pike::Solver& solver) = 0;
virtual void observeFailedSolve(const pike::Solver& solver) = 0;
};
}
#endif
|