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.
List of all members
Kratos::StandardPreconditionerFactory< TSparseSpace, TLocalSpace, TPreconditionerType > Class Template Reference

Here we add the functions needed for the registration of preconditioners. More...

#include <standard_preconditioner_factory.h>

Inheritance diagram for Kratos::StandardPreconditionerFactory< TSparseSpace, TLocalSpace, TPreconditionerType >:
Collaboration diagram for Kratos::StandardPreconditionerFactory< TSparseSpace, TLocalSpace, TPreconditionerType >:

Protected Member Functions

Operations
PreconditionerType::Pointer CreatePreconditioner () const override
 This method is an auxiliar method to create a new solver. More...
 
Protected Operators

Additional Inherited Members

- Public Types inherited from Kratos::PreconditionerFactory< TSparseSpace, TLocalSpace >
typedef PreconditionerFactory< TSparseSpace, TLocalSpace > FactoryType
 The definition of the custom class. More...
 
typedef Preconditioner< TSparseSpace, TLocalSpace > PreconditionerType
 The definition of the preconditioner. More...
 
- Public Member Functions inherited from Kratos::PreconditionerFactory< TSparseSpace, TLocalSpace >
virtual ~PreconditionerFactory ()
 
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...
 
 KRATOS_CLASS_POINTER_DEFINITION (PreconditionerFactory)
 Pointer definition of PreconditionerFactory. More...
 

Detailed Description

template<typename TSparseSpace, typename TLocalSpace, typename TPreconditionerType>
class Kratos::StandardPreconditionerFactory< TSparseSpace, TLocalSpace, TPreconditionerType >

Here we add the functions needed for the registration of preconditioners.

Defines the standard preconditioner factory

Author
Riccardo Rossi
Vicente Mataix Ferrandiz
Template Parameters
TSparseSpaceThe sparse space definition
TLocalSpaceThe dense space definition
TPreconditionerTypeThe precondioner type

Member Function Documentation

◆ CreatePreconditioner()

template<typename TSparseSpace , typename TLocalSpace , typename TPreconditionerType >
PreconditionerType::Pointer Kratos::StandardPreconditionerFactory< TSparseSpace, TLocalSpace, TPreconditionerType >::CreatePreconditioner ( ) const
inlineoverrideprotectedvirtual

This method is an auxiliar method to create a new solver.

Returns
The pointer to the solver of interest

Reimplemented from Kratos::PreconditionerFactory< TSparseSpace, TLocalSpace >.


The documentation for this class was generated from the following file: