My Project
|
DILU preconditioner on the GPU. More...
#include <CuDILU.hpp>
Public Member Functions | |
CuDILU (const M &A) | |
Constructor. | |
void | pre (X &x, Y &b) override |
Prepare the preconditioner. | |
void | apply (X &v, const Y &d) override |
Apply the preconditoner. | |
void | post (X &x) override |
Post processing. | |
Dune::SolverCategory::Category | category () const override |
Category of the preconditioner (see SolverCategory::Category) | |
void | update () final |
Updates the matrix data. | |
Static Public Member Functions | |
static constexpr bool | shouldCallPre () |
static constexpr bool | shouldCallPost () |
DILU preconditioner on the GPU.
M | The matrix type to operate on |
X | Type of the update |
Y | Type of the defect |
l | Ignored. Just there to have the same number of template arguments as other preconditioners. |
|
explicit |
Constructor.
Constructor gets all parameters to operate the prec.
A | The matrix to operate on. |
w | The relaxation factor. |
|
override |
Post processing.
|
override |
Prepare the preconditioner.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
finalvirtual |
Updates the matrix data.
Implements Dune::PreconditionerWithUpdate< X, Y >.