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::TrilinosLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType > Class Template Reference

Here we add the functions needed for the registration of linear solvers. More...

#include <trilinos_linear_solver_factory.h>

Inheritance diagram for Kratos::TrilinosLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType >:
Collaboration diagram for Kratos::TrilinosLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType >:

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...
 

Detailed Description

template<typename TSparseSpace, typename TLocalSpace, typename TLinearSolverType>
class Kratos::TrilinosLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType >

Here we add the functions needed for the registration of linear solvers.

Defines the standard linear solver factory

Author
Vicente Mataix Ferrandiz
Template Parameters
TSparseSpaceThe sparse space definition
TLocalSpaceThe dense space definition
TLinearSolverTypeThe linear solver type

Member Function Documentation

◆ CreateSolver()

template<typename TSparseSpace , typename TLocalSpace , typename TLinearSolverType >
LinearSolverType::Pointer Kratos::TrilinosLinearSolverFactory< TSparseSpace, TLocalSpace, TLinearSolverType >::CreateSolver ( Kratos::Parameters  settings) const
inlineoverrideprotectedvirtual

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

Returns
The pointer to the solver of interest

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


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