|
| | PreconditionerOnlySolver (size_t n, const params &=params(), const backend_params &=backend_params(), const InnerProduct &inner_product=InnerProduct()) |
| | Preallocates necessary data structures for the system of size n.
|
| template<class Matrix, class Precond, class Vec1, class Vec2> |
| SolverResult | operator() (const Matrix &, const Precond &P, const Vec1 &rhs, Vec2 &&x) const |
| | Computes the solution for the given system matrix.
|
| template<class Precond, class Vec1, class Vec2> |
| SolverResult | operator() (const Precond &P, const Vec1 &rhs, Vec2 &&x) const |
| | Computes the solution for the given right-hand side.
|
| size_t | bytes () const |
| | Memory used in bytes.
|
template<class Backend, class InnerProduct = detail::default_inner_product>
class Arcane::Alina::PreconditionerOnlySolver< Backend, InnerProduct >
Solver which only apply preconditioner once.
Définition à la ligne 41 du fichier PreconditionerOnlySolver.h.
template<class Backend, class InnerProduct = detail::default_inner_product>
template<class
Matrix, class Precond, class Vec1, class Vec2>
Computes the solution for the given system matrix.
Computes the solution for the given system matrix A and the right-hand side rhs. Returns the number of iterations made and the achieved residual as a std::tuple. The solution vector x provides initial approximation in input and holds the computed solution on output.
The system matrix may differ from the matrix used during initialization. This may be used for the solution of non-stationary problems with slowly changing coefficients. There is a strong chance that a preconditioner built for a time step will act as a reasonably good preconditioner for several subsequent time steps [DeSh12]_.
Définition à la ligne 85 du fichier PreconditionerOnlySolver.h.
template<class Backend, class InnerProduct = detail::default_inner_product>
template<class Precond, class Vec1, class Vec2>
Computes the solution for the given right-hand side.
Computes the solution for the given right-hand side rhs. The system matrix is the same that was used for the setup of the preconditioner P. Returns the number of iterations made and the achieved residual as a std::tuple. The solution vector x provides initial approximation in input and holds the computed solution on output.
Définition à la ligne 102 du fichier PreconditionerOnlySolver.h.