DUNE-FEM (unstable)
Inverse operator base on CG method. This is the base class for the cg solver and does not imvolve any runtime parametrization. More...
#include <dune/fem/solver/cginverseoperator.hh>
Public Types | |
| typedef DomainFunction::RangeFieldType | DomainFieldType | 
| field type of the operator's domain  | |
Public Member Functions | |
| CGInverseOperator (RealType redEps, RealType absLimit, unsigned int maxIter, bool verbose, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of CGInverseOperator  More... | |
| CGInverseOperator (RealType redEps, RealType absLimit, unsigned int maxIter, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of CGInverseOperator  More... | |
| CGInverseOperator (const OperatorType &op, RealType redEps, RealType absLimit, unsigned int maxIter, bool verbose, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of CGInverseOperator  More... | |
| CGInverseOperator (const OperatorType &op, RealType redEps, RealType absLimit, unsigned int maxIter, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of CGInverseOperator  More... | |
| CGInverseOperator (const OperatorType &op, const PreconditionerType &precond, RealType redEps, RealType absLimit, unsigned int maxIter, bool verbose, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of CGInverseOperator  More... | |
| CGInverseOperator (const OperatorType &op, const PreconditionerType &precond, RealType redEps, RealType absLimit, const ParameterReader ¶meter=Parameter::container()) | |
| constructor of CGInverseOperator  More... | |
| virtual void | operator() (const DomainFunctionType &arg, RangeFunctionType &dest) const | 
| application operator  More... | |
| virtual void | apply (const DomainFunctionType &arg, RangeFunctionType &dest) const | 
| application operator  More... | |
| unsigned int | iterations () const | 
| number of iterations needed for last solve  | |
| double | averageCommTime () const | 
| return average communication time during last solve  | |
| virtual void | finalize () | 
| finalization of operator  More... | |
| virtual bool | nonlinear () const | 
Detailed Description
class Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >
Inverse operator base on CG method. This is the base class for the cg solver and does not imvolve any runtime parametrization.
Constructor & Destructor Documentation
◆ CGInverseOperator() [1/6]
      
  | 
  inline | 
constructor of CGInverseOperator
- Parameters
 - 
  
[in] redEps reduction epsilon [in] absLimit absolut limit of residual [in] maxIter maximum number of iteration steps [in] verbose verbosity  
◆ CGInverseOperator() [2/6]
      
  | 
  inline | 
constructor of CGInverseOperator
- Parameters
 - 
  
[in] redEps reduction epsilon [in] absLimit absolut limit of residual [in] maxIter maximum number of iteration steps  
◆ CGInverseOperator() [3/6]
      
  | 
  inline | 
constructor of CGInverseOperator
- Parameters
 - 
  
[in] op operator to invert [in] redEps reduction epsilon [in] absLimit absolut limit of residual [in] maxIter maximum number of iteration steps [in] verbose verbosity  
◆ CGInverseOperator() [4/6]
      
  | 
  inline | 
constructor of CGInverseOperator
- Parameters
 - 
  
[in] op operator to invert [in] redEps reduction epsilon [in] absLimit absolut limit of residual [in] maxIter maximum number of iteration steps  
◆ CGInverseOperator() [5/6]
      
  | 
  inline | 
constructor of CGInverseOperator
- Parameters
 - 
  
[in] op operator to invert [in] precond precondition operator [in] redEps reduction epsilon [in] absLimit absolut limit of residual [in] maxIter maximum number of iteration steps [in] verbose verbosity  
◆ CGInverseOperator() [6/6]
      
  | 
  inline | 
constructor of CGInverseOperator
- Parameters
 - 
  
[in] op operator to invert [in] precond precondition operator [in] redEps reduction epsilon [in] absLimit absolut limit of residual [in] maxIter maximum number of iteration steps  
Member Function Documentation
◆ apply()
      
  | 
  inlinevirtual | 
application operator
The application operator actually solves the linear system \(op(dest) = arg\) using the CG method.
- Parameters
 - 
  
[in] arg argument discrete function [out] dest destination discrete function  
References Dune::Fem::ConjugateGradientSolver< Operator >::solve().
Referenced by Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >::operator()().
◆ finalize()
      
  | 
  inlinevirtualinherited | 
finalization of operator
- Note
 - The default implementation is empty.
 
◆ nonlinear()
      
  | 
  inlinevirtualinherited | 
Return true if the Operator is nonlinear and false otherwise (default is true). 
◆ operator()()
      
  | 
  inlinevirtual | 
application operator
The application operator actually solves the linear system \(op(dest) = arg\) using the CG method.
- Parameters
 - 
  
[in] arg argument discrete function [out] dest destination discrete function  
Implements Dune::Fem::Operator< DiscreteFunction, DiscreteFunction >.
References Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >::apply(), and Dune::Fem::Operator< DomainFunction, RangeFunction >::finalize().
The documentation for this class was generated from the following file:
- dune/fem/solver/cginverseoperator.hh
 
   | 
                                Legal Statements / Impressum  | 
                                Hosted by  TU Dresden & Uni Heidelberg  | 
				  generated with Hugo v0.111.3
								(Nov 3, 23:36, 2025)