Registry
ILinearOperatorInverse Class Reference
+ Inheritance diagram for ILinearOperatorInverse:

Public Member Functions

bool apply (Vector *u, const Vector *f)
 Solve A*u = f, such that u = A^{-1} f by iterating u := u + B(f - A*u), f remains constant. More...
 
bool apply_return_defect (Vector *u, Vector *f)
 Solve A*u = f, such that u = A^{-1} f by iterating u := u + B(f - A*u), f := f - A*u becomes new defect. More...
 
bool apply_update_defect (Vector *unnamed, Vector *unnamed)
 
SmartPtr< ILinearIteratorclone ()
 returns a clone of the object which can be modified independently More...
 
std::string config_string () const
 
ConstSmartPtr< IConvergenceCheckconvergence_check () const
 
double defect () const
 
bool init (SmartPtr< ILinearOperator > unnamed)
 
const char * name () const
 
double reduction () const
 
void set_convergence_check (SmartPtr< IConvergenceCheck > unnamed)
 
void set_damp (double damp)
 set the damping to a number More...
 
int step () const
 

Private Member Functions

 ILinearOperatorInverse ()=delete
 Constructor hidden / deactivated. More...
 

Detailed Description

Note
default specialization is ILinearOperatorInverseCPU1
See also
ug::ILinearOperatorInverse

Constructor & Destructor Documentation

◆ ILinearOperatorInverse()

ILinearOperatorInverse ( )
privatedelete

Constructor hidden / deactivated.

Member Function Documentation

◆ apply()

bool apply ( Vector u,
const Vector f 
)
inline

Solve A*u = f, such that u = A^{-1} f by iterating u := u + B(f - A*u), f remains constant.

Parameters
[in]u
[in]f
Returns
Success

References ILinearOperatorInverse< X, Y >::apply().

◆ apply_return_defect()

bool apply_return_defect ( Vector u,
Vector f 
)
inline

Solve A*u = f, such that u = A^{-1} f by iterating u := u + B(f - A*u), f := f - A*u becomes new defect.

Parameters
[in]u
[in]f
Returns
Success

References ILinearOperatorInverse< X, Y >::apply_return_defect().

◆ apply_update_defect()

bool apply_update_defect ( Vector unnamed,
Vector unnamed 
)
inlineinherited
Parameters
[in]unnamed
[in]unnamed

References ILinearIterator< X, Y >::apply_update_defect().

◆ clone()

SmartPtr<ILinearIterator> clone ( )
inlineinherited

returns a clone of the object which can be modified independently

Returns
SmartPointer to a copy of this object

References ILinearIterator< X, Y >::clone().

◆ config_string()

std::string config_string ( ) const
inline

◆ convergence_check()

◆ defect()

double defect ( ) const
inline
Returns
the current defect

References ILinearOperatorInverse< X, Y >::defect().

◆ init()

bool init ( SmartPtr< ILinearOperator unnamed)
inline
Parameters
[in]unnamed

References ILinearOperatorInverse< X, Y >::init().

◆ name()

const char* name ( ) const
inlineinherited

◆ reduction()

double reduction ( ) const
inline
Returns
the current relative reduction

References ILinearOperatorInverse< X, Y >::reduction().

◆ set_convergence_check()

void set_convergence_check ( SmartPtr< IConvergenceCheck unnamed)
inline
Parameters
[in]unnamed

References ILinearOperatorInverse< X, Y >::set_convergence_check().

◆ set_damp()

void set_damp ( double  damp)
inlineinherited

set the damping to a number

Parameters
[in]damp

References ILinearIterator< X, Y >::set_damp().

◆ step()

int step ( ) const
inline
Returns
the current number of steps

References ILinearOperatorInverse< X, Y >::step().