KASKADE 7 development version
|
Class that models the functionality of a (possibly inexact) linear solver. More...
#include <opt_interface.hh>
Class that models the functionality of a (possibly inexact) linear solver.
Definition at line 19 of file opt_interface.hh.
Public Types | |
typedef Dune::FieldVector< double, 1 > | field_type |
Public Member Functions | |
virtual | ~AbstractTangentialSpace () |
int | basis (std::vector< std::shared_ptr< AbstractFunctionSpaceElement > > &corrections, LagrangeLinearization &linearization, AbstractFunctionSpaceElement const &normalStep, double nu0, AbstractFunctionSpaceElement *residual=nullptr) |
virtual void | setRelativeAccuracy (double accuracy)=0 |
Specify accuracy that should be achieved. More... | |
virtual int | nSolutionVectors () const =0 |
The maximal number of solution vectors, returned by basis. More... | |
virtual AbstractFunctionSpaceElement & | getCorrectRhs ()=0 |
virtual bool | getNorms (Dune::Matrix< field_type > &M) const |
Returns true, if some information on the norm is available. More... | |
virtual bool | localConvergenceLikely () |
virtual void | regularize (bool) |
virtual bool | regularizationEnabled () const |
virtual void | setEps (double) |
virtual void | setLipschitzConstant (double) |
typedef Dune::FieldVector<double,1> Kaskade::AbstractTangentialSpace::field_type |
Definition at line 22 of file opt_interface.hh.
|
inlinevirtual |
Definition at line 24 of file opt_interface.hh.
|
inline |
Solve with possibly multiple solutions, return value: number of computed solutions
Definition at line 27 of file opt_interface.hh.
|
pure virtual |
|
inlinevirtual |
Returns true, if some information on the norm is available.
Definition at line 42 of file opt_interface.hh.
|
inlinevirtual |
Reimplemented in Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >.
Definition at line 44 of file opt_interface.hh.
|
pure virtual |
The maximal number of solution vectors, returned by basis.
Implemented in Kaskade::Bridge::ProjTCGSolver< VectorImpl, InnerSolver >, Kaskade::Bridge::TCGSolver< VectorImpl, InnerSolver >, and Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >.
|
inlinevirtual |
Definition at line 48 of file opt_interface.hh.
|
inlinevirtual |
Definition at line 46 of file opt_interface.hh.
|
inlinevirtual |
Reimplemented in Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >.
Definition at line 50 of file opt_interface.hh.
|
inlinevirtual |
Reimplemented in Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >.
Definition at line 52 of file opt_interface.hh.
|
pure virtual |
Specify accuracy that should be achieved.
Implemented in Kaskade::Bridge::ProjTCGSolver< VectorImpl, InnerSolver >, Kaskade::Bridge::TCGSolver< VectorImpl, InnerSolver >, and Kaskade::ProjectedAPCGSolver< Assembler, Preconditioner, VariableSet, components, cgImpl >.