KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Here we add the functions needed for the registration of linear solvers. More...
#include <trilinos_linear_solver_factory.h>
Protected Member Functions | |
Protected Operators | |
LinearSolverType::Pointer | CreateSolver (Kratos::Parameters settings) const override |
This method is an auxiliar method to create a new solver. More... | |
Protected Operators |
Additional Inherited Members | |
Public Types inherited from Kratos::LinearSolverFactory< TSparseSpace, TLocalSpace > | |
typedef LinearSolverFactory< TSparseSpace, TLocalSpace > | FactoryType |
The definition of the custom class. More... | |
Public Member Functions inherited from Kratos::LinearSolverFactory< TSparseSpace, TLocalSpace > | |
virtual | ~LinearSolverFactory () |
virtual bool | Has (const std::string SolverType) const |
This method checks if the linear solver is registered. More... | |
virtual LinearSolver< TSparseSpace, TLocalSpace >::Pointer | Create (Kratos::Parameters Settings) const |
This method creates a new solver. More... | |
KRATOS_CLASS_POINTER_DEFINITION (LinearSolverFactory) | |
Pointer definition of LinearSolverFactory. More... | |
Here we add the functions needed for the registration of linear solvers.
Defines the standard linear solver factory
TSparseSpace | The sparse space definition |
TLocalSpace | The dense space definition |
TLinearSolverType | The linear solver type |
|
inlineoverrideprotectedvirtual |
This method is an auxiliar method to create a new solver.
Reimplemented from Kratos::LinearSolverFactory< TSparseSpace, TLocalSpace >.