#include <preconditioner_multicolored_gs.hpp>
|
| MultiColoredSGS () |
|
virtual | ~MultiColoredSGS () |
|
virtual void | Print (void) const |
| Print information about the solver. More...
|
|
virtual void | ReBuildNumeric (void) |
| Rebuild only with numerical computation (no allocation or data structure computation) More...
|
|
virtual void | SetRelaxation (const ValueType omega) |
| Set the relaxation parameter for the SOR/SSOR scheme. More...
|
|
virtual void | Clear (void) |
| Clear (free all local data) the solver. More...
|
|
virtual void | Build (void) |
| Build the solver (data allocation, structure computation, numerical computation) More...
|
|
virtual void | SetPrecondMatrixFormat (const unsigned int mat_format) |
| Set a specific matrix type of the decomposed block matrices; if not set, CSR matrix format will be used. More...
|
|
virtual void | SetDecomposition (const bool decomp) |
| Set if the preconditioner should be decomposed or not. More...
|
|
virtual void | Solve (const VectorType &rhs, VectorType *x) |
| Solve Operator x = rhs. More...
|
|
virtual void | SolveZeroSol (const VectorType &rhs, VectorType *x) |
| Solve Operator x = rhs; but set first the init x = 0. More...
|
|
void | SetOperator (const OperatorType &op) |
| Set the Operator of the solver. More...
|
|
virtual void | ResetOperator (const OperatorType &op) |
| Reset the operator; see ReBuildNumeric. More...
|
|
virtual void | MoveToHost (void) |
| Move all the data (i.e. move the solver) to the host. More...
|
|
virtual void | MoveToAccelerator (void) |
| Move all the data (i.e. move the solver) to the accelerator. More...
|
|
virtual void | Verbose (const int verb=1) |
| Provide verbose output of the solver: verb == 0 no output verb == 1 print info about the solver (start,end); verb == 2 print (iter, residual) via iteration control;. More...
|
|
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
Analyse the matrix (i.e. multi-coloring decomposition)
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
Decompose the structure into blocks (preconditioner_block_[] for the preconditioning matrix; and x_block_[] for the x vector)
template<class OperatorType , class VectorType , typename ValueType >
void paralution::MultiColored< OperatorType, VectorType, ValueType >::ExtractRHSinX_ |
( |
const VectorType & |
rhs, |
|
|
VectorType * |
x |
|
) |
| |
|
protectedvirtualinherited |
Extract the rhs into x under the permutation (see Analyse_()) and decompose x into block (x_block_[])
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
Insert the solution with backward permutation (from x_block_[])
template<class OperatorType , class VectorType , typename ValueType >
void paralution::Solver< OperatorType, VectorType, ValueType >::MoveToAccelerator |
( |
void |
| ) |
|
|
virtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
Move all the data (i.e. move the solver) to the host.
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
Permute the preconditioning matrix.
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
|
protectedvirtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType, class VectorType , typename ValueType >
void paralution::Solver< OperatorType, VectorType, ValueType >::ResetOperator |
( |
const OperatorType & |
op | ) |
|
|
virtualinherited |
template<class OperatorType , class VectorType , typename ValueType >
Set if the preconditioner should be decomposed or not.
template<class OperatorType, class VectorType , typename ValueType >
void paralution::Solver< OperatorType, VectorType, ValueType >::SetOperator |
( |
const OperatorType & |
op | ) |
|
|
inherited |
Set the Operator of the solver.
Referenced by paralution::BaseAMG< OperatorType, VectorType, ValueType >::Build(), paralution::MultiElimination< OperatorType, VectorType, ValueType >::Build(), paralution::MultiColored< OperatorType, VectorType, ValueType >::Decompose_(), main(), mexFunction(), paralution_fortran_solve(), and paralution_solve().
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
Set the relaxation parameter for the SOR/SSOR scheme.
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
template<class OperatorType , class VectorType, typename ValueType >
template<class OperatorType , class VectorType , typename ValueType >
Provide verbose output of the solver: verb == 0 no output verb == 1 print info about the solver (start,end); verb == 2 print (iter, residual) via iteration control;.
Reimplemented in paralution::DirectLinearSolver< OperatorType, VectorType, ValueType >, paralution::IterativeLinearSolver< OperatorType, VectorType, ValueType >, paralution::IterativeLinearSolver< OperatorTypeL, VectorTypeL, ValueTypeL >, paralution::IterativeLinearSolver< OperatorTypeH, VectorTypeH, ValueTypeH >, and paralution::SIRA< OperatorTypeH, VectorTypeH, ValueTypeH, OperatorTypeL, VectorTypeL, ValueTypeL >.
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
Flag == true after building the solver (e.g. Build())
template<class OperatorType, class VectorType, typename ValueType>
Decompose the preconditioner into blocks or not.
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
size_t paralution::ParalutionObj::global_obj_id |
|
protectedinherited |
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
Keep the precond matrix in CSR or not.
template<class OperatorType, class VectorType, typename ValueType>
Permutation vector (used if the solver performs permutation/re-ordering techniques)
template<class OperatorType, class VectorType, typename ValueType>
Pointer to the defined preconditioner.
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
Verbose flag verb == 0 no output verb == 1 print info about the solver (start,end); verb == 2 print (iter, residual) via iteration control;.
template<class OperatorType, class VectorType, typename ValueType>
template<class OperatorType, class VectorType, typename ValueType>
The documentation for this class was generated from the following files: