![]() |
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 preconditioners. More...
#include <preconditioner_factory.h>
Public Member Functions | |
Life Cycle | |
| virtual | ~PreconditionerFactory () |
Operations | |
| virtual bool | Has (const std::string &rSolverType) const |
| This method checks if the linear solver is registered. More... | |
| virtual PreconditionerType::Pointer | Create (const std::string &rPreconditionerType) const |
| This method creates a new solver. More... | |
Protected Member Functions | |
Protected Operators | |
| virtual PreconditionerType::Pointer | CreatePreconditioner () const |
| This method is an auxiliar method to create a new solver. More... | |
Type Definitions | |
| typedef PreconditionerFactory< TSparseSpace, TLocalSpace > | FactoryType |
| The definition of the custom class. More... | |
| typedef Preconditioner< TSparseSpace, TLocalSpace > | PreconditionerType |
| The definition of the preconditioner. More... | |
| KRATOS_CLASS_POINTER_DEFINITION (PreconditionerFactory) | |
| Pointer definition of PreconditionerFactory. More... | |
Here we add the functions needed for the registration of preconditioners.
Defines the base preconditioner factory
| TSparseSpace | The sparse space definition |
| TLocalSpace | The dense space definition |
| typedef PreconditionerFactory<TSparseSpace,TLocalSpace> Kratos::PreconditionerFactory< TSparseSpace, TLocalSpace >::FactoryType |
The definition of the custom class.
| typedef Preconditioner<TSparseSpace,TLocalSpace> Kratos::PreconditionerFactory< TSparseSpace, TLocalSpace >::PreconditionerType |
The definition of the preconditioner.
|
inlinevirtual |
|
inlinevirtual |
This method creates a new solver.
|
inlineprotectedvirtual |
This method is an auxiliar method to create a new solver.
Reimplemented in Kratos::StandardPreconditionerFactory< TSparseSpace, TLocalSpace, TPreconditionerType >.
|
inlinevirtual |
This method checks if the linear solver is registered.
| Kratos::PreconditionerFactory< TSparseSpace, TLocalSpace >::KRATOS_CLASS_POINTER_DEFINITION | ( | PreconditionerFactory< TSparseSpace, TLocalSpace > | ) |
Pointer definition of PreconditionerFactory.