Multi-resolution (V-cycle) preconditioner.
More...
#include <preconditioners.h>
MultiresPreconditioner::MultiresPreconditioner |
( |
Parallel const & |
par, |
|
|
InputFile const & |
inp, |
|
|
std::vector< std::pair< int, int >> const & |
ll, |
|
|
Bspline const & |
bspline, |
|
|
CommandLine const & |
cmd |
|
) |
| |
MultiresPreconditioner::~MultiresPreconditioner |
( |
| ) |
|
This function implements matrix multiplication by the matrix of the set of equations that is to be solved.
Implements PreconditionerBase.
This function preconditions the equation, solving the preconditioner equation
\[ \mathbf{M}\mathbf{z} = \mathbf{r} \ . \]
It may use the MPI environment.
Implements PreconditionerBase.
void MultiresPreconditioner::rhs |
( |
cArrayView |
chi, |
|
|
int |
ienergy, |
|
|
int |
instate |
|
) |
| const |
|
inlinevirtual |
void MultiresPreconditioner::setup |
( |
| ) |
|
|
inlinevirtual |
This function contains all computation intensive preparations for the preconditioner, e.g. computation of radial integrals. It may use only SMP environment.
Implements PreconditionerBase.
void MultiresPreconditioner::update |
( |
double |
E | ) |
|
|
inlinevirtual |
This function updates the preconditioner for another right hand side. It may use the MPI environment.
Implements PreconditionerBase.
const std::string MultiresPreconditioner::description |
|
static |
const std::string MultiresPreconditioner::name |
|
static |
The documentation for this class was generated from the following file: