/usr/include/trilinos/Pike_Solver_Factory.hpp is in libtrilinos-pike-dev 12.4.2-2.
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 | #ifndef PIKE_SOLVER_FACTORY_HPP
#define PIKE_SOLVER_FACTORY_HPP
#include "Pike_Solver_AbstractFactory.hpp"
#include <vector>
namespace pike {
class SolverFactory : public pike::SolverAbstractFactory {
public:
SolverFactory();
//! Regsiter a user defined solver factory.
void addFactory(const Teuchos::RCP<pike::SolverAbstractFactory>& f);
bool supportsType(const std::string& type) const;
virtual
Teuchos::RCP<pike::Solver>
buildSolver(const Teuchos::RCP<Teuchos::ParameterList>& p,
const std::string& solverSublistName = "") const;
private:
std::vector<Teuchos::RCP<pike::SolverAbstractFactory> > userFactories_;
std::vector<std::string> supportedTypes_;
};
}
#endif
|