00001 /* @HEADER@ */ 00002 // 00003 /* @HEADER@ */ 00004 00005 #ifndef PLAYA_NONLINEARSOLVERBUILDER_HPP 00006 #define PLAYA_NONLINEARSOLVERBUILDER_HPP 00007 00008 #include "PlayaDefs.hpp" 00009 #include "PlayaNonlinearSolver.hpp" 00010 #include "Teuchos_XMLObject.hpp" 00011 #include "Teuchos_ParameterList.hpp" 00012 00013 namespace Playa 00014 { 00015 using namespace Teuchos; 00016 00017 /** */ 00018 class NonlinearSolverBuilder 00019 { 00020 public: 00021 /** */ 00022 static NonlinearSolver<double> createSolver(const ParameterList& params); 00023 /** */ 00024 static NonlinearSolver<double> createSolver(const std::string& filename); 00025 }; 00026 00027 } 00028 00029 #endif