25 #ifndef GRINS_SOLVER_FACTORY_ABSTRACT_H
26 #define GRINS_SOLVER_FACTORY_ABSTRACT_H
49 virtual libMesh::UniquePtr<Solver>
build_solver(
const GetPot & input ) =0;
53 virtual libMesh::UniquePtr<Solver>
create();
63 #endif // GRINS_SOLVER_FACTORY_ABSTRACT_H
SolverFactoryAbstract(const std::string &bc_type_name)
virtual ~SolverFactoryAbstract()=0
virtual libMesh::UniquePtr< Solver > create()
Subclasses implement the actual construction of the Base object in create().
virtual libMesh::UniquePtr< Solver > build_solver(const GetPot &input)=0
Abstract factory that provides availability of GetPot.