VertexCFD  0.0-dev
VertexCFD_LinearSolvers_LocalSolverFactory.hpp
1 #ifndef VERTEXCFD_LINEARSOLVERS_LOCALSOLVERFACTORY_HPP
2 #define VERTEXCFD_LINEARSOLVERS_LOCALSOLVERFACTORY_HPP
3 
4 #include "VertexCFD_LinearSolvers_LocalDirectSolver.hpp"
5 
6 #include <memory>
7 
8 namespace VertexCFD
9 {
10 namespace LinearSolvers
11 {
12 //---------------------------------------------------------------------------//
13 // Class for managing construction of LocalDirectSolver subclasses
14 //---------------------------------------------------------------------------//
16 {
17  public:
18  // Prevent construction
19  LocalSolverFactory() = delete;
20 
21  // Build solver from solver name
22  static std::shared_ptr<LocalDirectSolver>
23  buildSolver(const Teuchos::ParameterList& params);
24 };
25 
26 //---------------------------------------------------------------------------//
27 
28 } // namespace LinearSolvers
29 } // namespace VertexCFD
30 
31 #endif // VERTEXCFD_LINEARSOLVERS_LOCALSOLVERFACTORY_HPP
VertexCFD::LinearSolvers::LocalSolverFactory
Definition: VertexCFD_LinearSolvers_LocalSolverFactory.hpp:16
VertexCFD
Definition: tstMethodManufacturedSolutionBC.cpp:23