concepts::PrecondSolverFabric< F, G > Class Template Referenceabstract

Abstract fabric class for linear solvers with preconditoner. More...

#include <solverFabric.hh>

Inheritance diagram for concepts::PrecondSolverFabric< F, G >:
concepts::SolverFabric< F >

Public Member Functions

virtual Operator< F > * operator() ()=0
 Creates a linear solver from matrix. More...
 
virtual Operator< F > * operator() (Operator< F > &matrix)=0
 
virtual Operator< F > * operator() (Operator< F > &matrix, Operator< G > &precond)=0
 Creates a linear solver from matrix and precond. More...
 

Detailed Description

template<typename F, class G = F>
class concepts::PrecondSolverFabric< F, G >

Abstract fabric class for linear solvers with preconditoner.

The fabric delivers a created object to a new owner which is then responsible for the deletion of the object.

Author
Kersten Schmidt, 2005

Definition at line 46 of file solverFabric.hh.

Member Function Documentation

◆ operator()() [1/3]

template<typename F >
virtual Operator<F>* concepts::SolverFabric< F >::operator() ( )
pure virtualinherited

Creates a linear solver from matrix.

The caller is responsible for the deletion of the delivered object.

Returns
Reference to the linear solver

Implemented in concepts::UmfpackFabric, concepts::SuperLUFabric< F >, concepts::MumpsOverlapFabric< F >, concepts::MumpsFabric< F >, concepts::CGFabric< F >, and concepts::BiCGStabFabric< F, G >.

◆ operator()() [2/3]

◆ operator()() [3/3]

template<typename F , class G = F>
virtual Operator<F>* concepts::PrecondSolverFabric< F, G >::operator() ( Operator< F > &  matrix,
Operator< G > &  precond 
)
pure virtual

Creates a linear solver from matrix and precond.

The caller is responsible for the deletion of the delivered object.

Returns
Reference to the linear solver

The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich