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 <linear_solver_factory.h>
Public Member Functions | |
Life Cycle | |
virtual | ~LinearSolverFactory () |
Operations | |
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... | |
Protected Member Functions | |
Protected Operators | |
virtual LinearSolver< TSparseSpace, TLocalSpace >::Pointer | CreateSolver (Kratos::Parameters Settings) const |
This method is an auxiliar method to create a new solver. More... | |
Type Definitions | |
typedef LinearSolverFactory< TSparseSpace, TLocalSpace > | FactoryType |
The definition of the custom class. 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 base linear solver factory
TSparseSpace | The sparse space definition |
TLocalSpace | The dense space definition |
typedef LinearSolverFactory<TSparseSpace,TLocalSpace> Kratos::LinearSolverFactory< TSparseSpace, TLocalSpace >::FactoryType |
The definition of the custom class.
|
inlinevirtual |
|
inlinevirtual |
This method creates a new solver.
|
inlineprotectedvirtual |
This method is an auxiliar method to create a new solver.
Reimplemented in Kratos::StandardLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType >, Kratos::TrilinosLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType >, and Kratos::DenseLinearSolverFactory< TGlobalSpace, TLocalSpace, TLinearSolverType >.
|
inlinevirtual |
This method checks if the linear solver is registered.
Kratos::LinearSolverFactory< TSparseSpace, TLocalSpace >::KRATOS_CLASS_POINTER_DEFINITION | ( | LinearSolverFactory< TSparseSpace, TLocalSpace > | ) |
Pointer definition of LinearSolverFactory.