#include <ALinearOpMulti.hpp>
|
std::vector< std::vector< double > > | _temp |
|
std::vector< std::vector< double > > | _p |
|
std::vector< std::vector< double > > | _z |
|
double | _nb |
|
◆ ALinearOpMulti() [1/2]
ALinearOpMulti::ALinearOpMulti |
( |
int |
nitermax = 1000 , |
|
|
double |
eps = EPSILON8 |
|
) |
| |
◆ ALinearOpMulti() [2/2]
◆ ~ALinearOpMulti()
ALinearOpMulti::~ALinearOpMulti |
( |
| ) |
|
|
virtual |
◆ evalDirect()
void ALinearOpMulti::evalDirect |
( |
const std::vector< std::vector< double >> & |
inv, |
|
|
std::vector< std::vector< double >> & |
outv |
|
) |
| const |
Evaluate the product: 'outv' = Q * 'inv'
- Parameters
-
[in] | inv | Array of input values |
[out] | outv | Array of output values |
◆ evalInverse()
void ALinearOpMulti::evalInverse |
( |
const std::vector< std::vector< double >> & |
vecin, |
|
|
std::vector< std::vector< double >> & |
vecout |
|
) |
| const |
|
virtual |
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.
◆ getLogStats()
const LogStats& ALinearOpMulti::getLogStats |
( |
| ) |
const |
|
inline |
◆ initLk()
void ALinearOpMulti::initLk |
( |
const std::vector< std::vector< double >> & |
inv, |
|
|
std::vector< std::vector< double >> & |
outv |
|
) |
| const |
◆ operator=()
◆ prepare()
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
◆ setEps()
void ALinearOpMulti::setEps |
( |
double |
eps | ) |
|
|
inline |
◆ setNIterMax()
void ALinearOpMulti::setNIterMax |
( |
int |
nitermax | ) |
|
|
inline |
◆ setNIterRestart()
void ALinearOpMulti::setNIterRestart |
( |
int |
niterrestart | ) |
|
|
inline |
◆ setPrecond()
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
|
◆ setUserInitialValue()
void ALinearOpMulti::setUserInitialValue |
( |
bool |
b | ) |
|
|
inline |
◆ size()
virtual int ALinearOpMulti::size |
( |
int |
| ) |
const |
|
pure virtual |
◆ sizes()
virtual int ALinearOpMulti::sizes |
( |
| ) |
const |
|
pure virtual |
◆ _nb
double ALinearOpMulti::_nb |
|
mutable |
◆ _p
std::vector<std::vector<double> > ALinearOpMulti::_p |
|
mutable |
◆ _temp
std::vector<std::vector<double> > ALinearOpMulti::_temp |
|
mutable |
◆ _z
std::vector<std::vector<double> > ALinearOpMulti::_z |
|
mutable |
The documentation for this class was generated from the following files: