Ifpack2 Templated Preconditioning Package  Version 1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
Ifpack2::Details::ScaledDampedResidual< TpetraOperatorType > Class Template Reference

Compute scaled damped residual for Chebyshev. More...

#include <Ifpack2_Details_ScaledDampedResidual_decl.hpp>

Detailed Description

template<class TpetraOperatorType>
class Ifpack2::Details::ScaledDampedResidual< TpetraOperatorType >

Compute scaled damped residual for Chebyshev.

This is an implementation detail of Ifpack2::Chebyshev. Given a linear system A*X=B and an "inverse diagonal" matrix (stored as a vector) D_inv, it computes a "scaled damped" residual vector W := alpha*D_inv*(B-A*X) + beta*W.

Template Parameters
TpetraOperatorTypeSpecialization of Tpetra::Operator.
Note
To Ifpack2 developers: We can't fuse this with X := X + W, because data dependencies in the input X are not elementwise (unless A is diagonal).

The documentation for this class was generated from the following files: