#include <ALinearOpMulti.hpp>
ALinearOpMulti::ALinearOpMulti |
( |
int |
nitermax = 1000 , |
|
|
double |
eps = EPSILON8 |
|
) |
| |
ALinearOpMulti::~ALinearOpMulti |
( |
| ) |
|
|
virtual |
Evaluate the product: 'outv' = Q * 'inv'
- Parameters
-
[in] | inv | Array of input values |
[out] | outv | Array of output values |
Evaluate the product: 'outv' = Q^{-1} * 'inv' by conjugate gradient
- Parameters
-
[in] | vecin | Array of input values |
[out] | vecout | Array of output values. Will be used as initial value if _userInitialValue is true. |
Reimplemented in PrecisionOpMultiConditionalCs.
const LogStats& ALinearOpMulti::getLogStats |
( |
| ) |
const |
|
inline |
void ALinearOpMulti::prepare |
( |
| ) |
const |
This method intends to resize the different working arrays. It is considered as const in order to avoid breaking constness of calling function
void ALinearOpMulti::setEps |
( |
double |
eps | ) |
|
|
inline |
void ALinearOpMulti::setNIterMax |
( |
int |
nitermax | ) |
|
|
inline |
void ALinearOpMulti::setPrecond |
( |
const ALinearOpMulti * |
precond, |
|
|
int |
status |
|
) |
| |
Define the Pre-Conditioner facility
- Parameters
-
[in] | precond | Pointer to a ALinearOp operator |
[in] | status | Status of this Pre-conditioner
- 0 : not defined and therefore not used
- -1 : Pre-conditioner is the Q_{-1}
- 1 : Pre-conditioner is the Q
|
virtual int ALinearOpMulti::size |
( |
int |
| ) |
const |
|
pure virtual |
virtual int ALinearOpMulti::sizes |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files: