Registry
|
Conjugate Gradient Solver. More...
Public Member Functions | |
void | add_postprocess_corr (SmartPtr< IPProcessVector > op) |
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) |
CG () | |
CG (SmartPtr< ILinearIterator > precond) | |
CG (SmartPtr< ILinearIterator > precond, SmartPtr< IConvergenceCheck > convCheck) | |
SmartPtr< ILinearIterator > | clone () |
returns a clone of the object which can be modified independently More... | |
std::string | config_string () const |
ConstSmartPtr< IConvergenceCheck > | convergence_check () const |
double | defect () const |
bool | init (SmartPtr< ILinearOperator > unnamed) |
const char * | name () const |
double | reduction () const |
void | remove_postprocess_corr (SmartPtr< IPProcessVector > op) |
void | set_compute_fresh_defect_when_finished (bool unnamed) |
void | set_convergence_check (SmartPtr< IConvergenceCheck > unnamed) |
void | set_damp (double damp) |
set the damping to a number More... | |
void | set_preconditioner (SmartPtr< ILinearIterator > Preconditioner) |
int | step () const |
CG | ( | ) |
CG | ( | SmartPtr< ILinearIterator > | precond | ) |
[in] | precond |
CG | ( | SmartPtr< ILinearIterator > | precond, |
SmartPtr< IConvergenceCheck > | convCheck | ||
) |
[in] | precond | |
[in] | convCheck |
|
inline |
[in] | op |
References CG< class >::add_postprocess_corr().
Solve A*u = f, such that u = A^{-1} f by iterating u := u + B(f - A*u), f remains constant.
[in] | u | |
[in] | f |
References ILinearOperatorInverse< X, Y >::apply().
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.
[in] | u | |
[in] | f |
References ILinearOperatorInverse< X, Y >::apply_return_defect().
[in] | unnamed | |
[in] | unnamed |
References ILinearIterator< X, Y >::apply_update_defect().
|
inlineinherited |
returns a clone of the object which can be modified independently
References ILinearIterator< X, Y >::clone().
|
inlineinherited |
References ILinearOperatorInverse< X, Y >::config_string().
|
inlineinherited |
|
inlineinherited |
References ILinearOperatorInverse< X, Y >::defect().
|
inlineinherited |
[in] | unnamed |
References ILinearOperatorInverse< X, Y >::init().
|
inlineinherited |
References ILinearIterator< X, Y >::name().
|
inlineinherited |
References ILinearOperatorInverse< X, Y >::reduction().
|
inline |
[in] | op |
References CG< class >::remove_postprocess_corr().
|
inlineinherited |
[in] | unnamed |
References IPreconditionedLinearOperatorInverse< X >::set_compute_fresh_defect_when_finished().
|
inlineinherited |
[in] | unnamed |
References ILinearOperatorInverse< X, Y >::set_convergence_check().
|
inlineinherited |
|
inlineinherited |
[in] | Preconditioner |
References IPreconditionedLinearOperatorInverse< X >::set_preconditioner().
|
inlineinherited |
References ILinearOperatorInverse< X, Y >::step().